Skip navigation
³»¿ë¾ø½¿
¹Ù·Î°¡±âÆíÁý
ÀÚÀ¯°Ô½ÃÆÇ
ÇÑÁÙ
QnA
Job
Life
¾÷üȫº¸
DIY
¾ð¹Ú½Ì
NAS
µö·¯´×
°¡»óÈ
Çϵå¿þ¾î
³×Æ®¿÷
RAID
°ÁÂ
ÀÚ·á
BMT
ÈÆÈÆ
ÆǸÅ
±¸¸Å
°ßÀû
ÇØ¿Ü
Ãâ¼®
¹Ù·Î
¹Ù·Î°¡±âÆíÁý
member_id
password
Auto
Login
ȸ¿ø°¡ÀÔ
¾ÆÀ̵ðã±â
¸ñ·Ï
¾²±â
¸ñ·Ï
º¸¾È Á¢±Ù ¾î¶»°Ô ÇØ¾ß ÇÒ±î¿ä? su ±ÇÇÑ ¹®Á¦
Çà¾Æ¹ü
2014-04
2014-04-28 15:17:49
Á¶È¸ 3732 Ãßõ 0
현재 리눅서 서버이고 개발자가 서버에 붙을 때 AD계정으로 로그인할 수 있도록 연동되어 있는 상태입니다.
1. 서비스계정이 다음과 같구요.
- srv-a
- srv-b
- srv-c
2. 개발자계정
- dev-a
- dev-b
- dev-c
dev-a 개발자계정으로 "su - srv-a" 이렇게만 허용가능하도록 하고 싶습니다.
당연히 "su - srv-b", "su - srv-c" 못하도록 막고 싶구요.
특정유저가 특정유저로만 su 권한을 부여 할 수 있는 방법 있을 까요?
ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
¿¥ºê¸®¿À
2014-04
±Û½ê¿ä sudoers ¸Å´º¾óÀ» º¸´Â°Ô Á¦ÀÏ ³´Áö ½Í±º¿ä.
±Û½ê¿ä sudoers ¸Å´º¾óÀ» º¸´Â°Ô Á¦ÀÏ ³´Áö ½Í±º¿ä.
zepinos±èÁ¾È
2014-04
Æнº¿öµå¸¦ ÇØ´ç ¼ºñ½º °èÁ¤¸¸ ¾Ë·ÁÁÖ´Â °Í ¿Ü¿¡´Â...
ÀÏ´Ü sudo ·Î´Â ¾ÈµË´Ï´Ù. sudo ´Â super user ±ÇÇÑÀ¸·Î ó¸®Çϱ⠶§¹®¿¡ ÀÏ´Ü ±ÇÇÑ È¹µæÇÏ¸é ¾î¶»°Ôµç ´Ù¸¥ °èÁ¤ Á¢±Ù °¡´ÉÇÕ´Ï´Ù.
Æнº¿öµå¸¦ °¢ÀÚ¿¡°Ô µû·Î ¾Ë·ÁÁְųª, ÆÄÀÏÀ̳ª µð·ºÅ丮 ±ÇÇÑÀ» ±×·ìÀ¸·Î Àß ÁöÁ¤ÇÏ°í, °³¹ßÀÚ°èÁ¤¿¡µµ ÇØ´ç ±×·ì¿¡ Æ÷ÇÔ½ÃÄÑ ÀÛ¾÷½ÃÅ°´Â ¹æ¹ýµµ ÀÖ½À´Ï´Ù.
Æнº¿öµå¸¦ ÇØ´ç ¼ºñ½º °èÁ¤¸¸ ¾Ë·ÁÁÖ´Â °Í ¿Ü¿¡´Â... ÀÏ´Ü sudo ·Î´Â ¾ÈµË´Ï´Ù. sudo ´Â super user ±ÇÇÑÀ¸·Î ó¸®Çϱ⠶§¹®¿¡ ÀÏ´Ü ±ÇÇÑ È¹µæÇÏ¸é ¾î¶»°Ôµç ´Ù¸¥ °èÁ¤ Á¢±Ù °¡´ÉÇÕ´Ï´Ù. Æнº¿öµå¸¦ °¢ÀÚ¿¡°Ô µû·Î ¾Ë·ÁÁְųª, ÆÄÀÏÀ̳ª µð·ºÅ丮 ±ÇÇÑÀ» ±×·ìÀ¸·Î Àß ÁöÁ¤ÇÏ°í, °³¹ßÀÚ°èÁ¤¿¡µµ ÇØ´ç ±×·ì¿¡ Æ÷ÇÔ½ÃÄÑ ÀÛ¾÷½ÃÅ°´Â ¹æ¹ýµµ ÀÖ½À´Ï´Ù.
俵Áø
2014-04
ƯÁ¤±×·ìÀ» »ý¼ºÇÏ¿© ÇÊ¿äÇÑ ºÎºÐµéÀ» ÇØ´ç±×·ìÀ¸·Î Æ۹̼ÇÁ¶Á¤Çϰųª
sudo ¼³Á¤ÆÄÀÏ¿¡¼ ƯÁ¤¸í·É¾î¸¸ »ç¿ëÇÒ ¼ö ÀÖ°Ô Á¶Á¤ÇÏ½Ã¸é µË´Ï´Ù.
xxx@xxx-xx-xx-x:~ % sudo su - xxxx
Password:
Sorry, user xxx is not allowed to execute '/usr/bin/su - xxxx' as root on xxx-xxx-xx-x.
xxx@xxx-xx-xx-x:~ % sudo su - kkk
$ whoami
kkk
ƯÁ¤±×·ìÀ» »ý¼ºÇÏ¿© ÇÊ¿äÇÑ ºÎºÐµéÀ» ÇØ´ç±×·ìÀ¸·Î Æ۹̼ÇÁ¶Á¤Çϰųª sudo ¼³Á¤ÆÄÀÏ¿¡¼ ƯÁ¤¸í·É¾î¸¸ »ç¿ëÇÒ ¼ö ÀÖ°Ô Á¶Á¤ÇÏ½Ã¸é µË´Ï´Ù. xxx@xxx-xx-xx-x:~ % sudo su - xxxx Password: Sorry, user xxx is not allowed to execute '/usr/bin/su - xxxx' as root on xxx-xxx-xx-x. xxx@xxx-xx-xx-x:~ % sudo su - kkk $ whoami kkk
ºí·¢Ä¿ÇÇ
2014-04
sudo·Î °¡´ÉÇÏ°í¿ä.
¾Æ·¡ »ùÇà º¸½Ã°í ¿øÇϽô ¹æÇâÀ¸·Î ¼³Á¤ÇÏ½Ã¸é µÉ µí ÇÕ´Ï´Ù.
http://www.sudo.ws/sudo/sample.sudoers
sudo·Î °¡´ÉÇÏ°í¿ä. ¾Æ·¡ »ùÇà º¸½Ã°í ¿øÇϽô ¹æÇâÀ¸·Î ¼³Á¤ÇÏ½Ã¸é µÉ µí ÇÕ´Ï´Ù. http://www.sudo.ws/sudo/sample.sudoers
Çà¾Æ¹ü
2014-04
´äº¯ ¸ðµÎ °¨»çÇÕ´Ï´Ù.
´äº¯ ¸ðµÎ °¨»çÇÕ´Ï´Ù.
·Î±×ÀÎ ÇÏ½Ã¸é ´ñ±ÛÀ» ³²±æ ¼ö ÀÖ½À´Ï´Ù
¸ñ·Ï
¾²±â
¸ñ·Ï
QnA
¾²±â
1559/5688
¹øÈ£
Á¦¸ñ
Page 1559/5688
±Û¾´ÀÌ
³¯Â¥
Á¶È¸
̵̧
[Çʵ¶] óÀ½ ¿À½Ã´Â ºÐÀ» À§ÇÑ ¾È³»
(728)
Á¤ÀºÁØ1
2014-05
5006069
0
[Çʵ¶] óÀ½ ¿À½Ã´Â ºÐÀ» À§ÇÑ ¾È³»
(728)
2014-05 5006069
1
Á¤ÀºÁØ1
(±¤°í) ´ÜÅë¹ý ½Ã´ëÀÇ ÀÎÅͳݰ¡ÀÔ °¡À̵å(ver2.0)
(228)
¹é¸Þ°¡
2015-12
1541847
25
(±¤°í) ´ÜÅë¹ý ½Ã´ëÀÇ ÀÎÅͳݰ¡ÀÔ °¡À̵å(¡¦
(228)
2015-12 1541847
1
¹é¸Þ°¡
82599
½Å¸À³ª´Â ¼³ÅÁ°¡·ç?
(5)
Æĸ®´ë¿Õ
2019-09
3730
0
½Å¸À³ª´Â ¼³ÅÁ°¡·ç?
(5)
2019-09 3730
1
Æĸ®´ë¿Õ
82598
¼º¸¸ðÅÍ Áú¹® Á» µå¸±²²¿ä?
(5)
µþ±â´ëÀå
2019-02
3730
0
¼º¸¸ðÅÍ Áú¹® Á» µå¸±²²¿ä?
(5)
2019-02 3730
1
µþ±â´ëÀå
82597
1 Slot to 2 Slot PCIE ¶óÀÌÀú Ä«µå¿¡ ´ëÇØ ±Ã±ÝÇÕ´Ï´Ù
ȲÀ籤
2014-08
3730
0
1 Slot to 2 Slot PCIE ¶óÀÌÀú Ä«µå¿¡ ´ë¡¦
2014-08 3730
1
ȲÀ籤
82596
ASUS X299 RAMPAGE º¸µå ADAPTEC 78165 Ä«µåÀνÄÀÌ ¾ÈµÇ³×¿ä
(8)
½Å°ü¾Ç»ê
2020-11
3730
0
ASUS X299 RAMPAGE º¸µå ADAPTEC 78165 Ä«¡¦
(8)
2020-11 3730
1
½Å°ü¾Ç»ê
82595
Àü±â °ø»ç ¾Æ½Ã´ÂºÐ ºÁÁֽʽÿä
(1)
¹Ì¼ö¸Ç
2016-08
3730
0
Àü±â °ø»ç ¾Æ½Ã´ÂºÐ ºÁÁֽʽÿä
(1)
2016-08 3730
1
¹Ì¼ö¸Ç
82594
¼¹ö ÄÄÇ»ÅÍ ¼Óµµ
(18)
fiento
2020-11
3730
0
¼¹ö ÄÄÇ»ÅÍ ¼Óµµ
(18)
2020-11 3730
1
fiento
82593
asus h87 pro ¸ÞÀκ¸µå¸¦ °¡Áö°í ÀÖ½À´Ï´Ù. ·¹Àμö¿¡ ´ëÇؼ ¿©Â庾´Ï´Ù.
(2)
½É»ç¼÷°í
2017-12
3730
0
asus h87 pro ¸ÞÀκ¸µå¸¦ °¡Áö°í ÀÖ½À´Ï´Ù¡¦
(2)
2017-12 3730
1
½É»ç¼÷°í
82592
amd opteron 6378*2 cpu ¼º´É ¾î¶²°¡¿ä???
(5)
´ÙºÀÀÌ
2017-06
3730
0
amd opteron 6378*2 cpu ¼º´É ¾î¶²°¡¿ä???
(5)
2017-06 3730
1
´ÙºÀÀÌ
82591
À©µµ¿ì ÅÂºí¸´¿ë ÃæÀü±â ÃßõÇØÁÖ¼¼¿ä.
inquisitive
2018-03
3730
0
À©µµ¿ì ÅÂºí¸´¿ë ÃæÀü±â ÃßõÇØÁÖ¼¼¿ä.
2018-03 3730
1
inquisitive
82590
L5639¸¦ µà¾ó·Î »ç¿ëÇÒ ¼ö ÀÖ´Â º¸µå...
(4)
À©µµ¿ì10
2014-04
3731
0
L5639¸¦ µà¾ó·Î »ç¿ëÇÒ ¼ö ÀÖ´Â º¸µå...
(4)
2014-04 3731
1
À©µµ¿ì10
82589
microserver gen8 µå¶óÀ̹ö ¾îµð¼ ´Ù¿î ¹Þ³ª¿ä?
(2)
guest1
2015-12
3731
0
microserver gen8 µå¶óÀ̹ö ¾îµð¼ ´Ù¿î ¡¦
(2)
2015-12 3731
1
guest1
82588
DELL 690 À¯Àú ÀÔ´Ï´Ù. ±Ã±ÝÇÑÁ¡ÀÌ ÀÖ½À´Ï´Ù.
(1)
¹Ú¹ÎÁ¦
2016-04
3731
0
DELL 690 À¯Àú ÀÔ´Ï´Ù. ±Ã±ÝÇÑÁ¡ÀÌ ÀÖ½À´Ï¡¦
(1)
2016-04 3731
1
¹Ú¹ÎÁ¦
82587
dell perc h310 °ü·ÃÇÏ¿© °í¼ö´Ôµé²² Áú¹®µå¸³´Ï´Ù.
(4)
SecondToNone
2017-12
3731
0
dell perc h310 °ü·ÃÇÏ¿© °í¼ö´Ôµé²² Áú¹®¡¦
(4)
2017-12 3731
1
SecondToNone
82586
¸®¼ÂÀÌ µåµð¾î ³¡³µ½À´Ï´Ù. Áú¹® Çϳª´õ...ºÎŹµå·Á¿ä
(2)
¹ã±âÂ÷
2017-01
3731
0
¸®¼ÂÀÌ µåµð¾î ³¡³µ½À´Ï´Ù. Áú¹® Çϳª´õ..¡¦
(2)
2017-01 3731
1
¹ã±âÂ÷
82585
Windows 10 ÀÎÅÍ³Ý ¿¬°á°øÀ¯
(2)
cjsrbc
2017-05
3731
0
Windows 10 ÀÎÅÍ³Ý ¿¬°á°øÀ¯
(2)
2017-05 3731
1
cjsrbc
82584
³ëÆ®ºÏ CPU ¾÷ ¹®ÀÇ
(5)
³ëµµÀáµé´Ù
2015-02
3731
0
³ëÆ®ºÏ CPU ¾÷ ¹®ÀÇ
(5)
2015-02 3731
1
³ëµµÀáµé´Ù
82583
Ĩ¼Â Q170ÀÌ Á¦¿Â Áö¿øÇϳª¿ä?
(10)
¿øÁÖ¸ÚÁøµ¢Ä¡
2020-09
3731
0
Ĩ¼Â Q170ÀÌ Á¦¿Â Áö¿øÇϳª¿ä?
(10)
2020-09 3731
1
¿øÁÖ¸ÚÁøµ¢Ä¡
82582
ÀÎÅÚ ½ÃÇÇÀ¯ CORE-i7 3770¿¡ ´ëÇÑ Áú¹®ÀÔ´Ï´Ù.
(2)
¿Õ¿ëÇÊ
2014-01
3731
0
ÀÎÅÚ ½ÃÇÇÀ¯ CORE-i7 3770¿¡ ´ëÇÑ Áú¹®ÀÔ¡¦
(2)
2014-01 3731
1
¿Õ¿ëÇÊ
82581
Sata3, sata2
(5)
¹Ì´ã
2015-03
3731
0
Sata3, sata2
(5)
2015-03 3731
1
¹Ì´ã
82580
ÄÄÇ»ÅÍÁö¼ö win7
(4)
ÀÌÁöÆ÷Åä
2013-12
3731
0
ÄÄÇ»ÅÍÁö¼ö win7
(4)
2013-12 3731
1
ÀÌÁöÆ÷Åä
1551
1552
1553
1554
1555
1556
1557
1558
1559
(current)
1560
1556
1557
1558
1559
(current)
1560
¸ñ·Ï
¾²±â
sfl
Á¦¸ñ
³»¿ë
Á¦¸ñ+³»¿ë
ȸ¿ø¾ÆÀ̵ð
ȸ¿ø¾ÆÀ̵ð(ÄÚ)
À̸§
À̸§(ÄÚ)
stx
sop
and
or
°Ë»ö
ÀÏ´Ü sudo ·Î´Â ¾ÈµË´Ï´Ù. sudo ´Â super user ±ÇÇÑÀ¸·Î ó¸®Çϱ⠶§¹®¿¡ ÀÏ´Ü ±ÇÇÑ È¹µæÇÏ¸é ¾î¶»°Ôµç ´Ù¸¥ °èÁ¤ Á¢±Ù °¡´ÉÇÕ´Ï´Ù.
Æнº¿öµå¸¦ °¢ÀÚ¿¡°Ô µû·Î ¾Ë·ÁÁְųª, ÆÄÀÏÀ̳ª µð·ºÅ丮 ±ÇÇÑÀ» ±×·ìÀ¸·Î Àß ÁöÁ¤ÇÏ°í, °³¹ßÀÚ°èÁ¤¿¡µµ ÇØ´ç ±×·ì¿¡ Æ÷ÇÔ½ÃÄÑ ÀÛ¾÷½ÃÅ°´Â ¹æ¹ýµµ ÀÖ½À´Ï´Ù.
sudo ¼³Á¤ÆÄÀÏ¿¡¼ ƯÁ¤¸í·É¾î¸¸ »ç¿ëÇÒ ¼ö ÀÖ°Ô Á¶Á¤ÇÏ½Ã¸é µË´Ï´Ù.
xxx@xxx-xx-xx-x:~ % sudo su - xxxx
Password:
Sorry, user xxx is not allowed to execute '/usr/bin/su - xxxx' as root on xxx-xxx-xx-x.
xxx@xxx-xx-xx-x:~ % sudo su - kkk
$ whoami
kkk
¾Æ·¡ »ùÇà º¸½Ã°í ¿øÇϽô ¹æÇâÀ¸·Î ¼³Á¤ÇÏ½Ã¸é µÉ µí ÇÕ´Ï´Ù.
http://www.sudo.ws/sudo/sample.sudoers