Skip navigation
³»¿ë¾ø½¿
¹Ù·Î°¡±âÆíÁý
ÀÚÀ¯°Ô½ÃÆÇ
ÇÑÁÙ
QnA
Job
Life
¾÷üȫº¸
DIY
¾ð¹Ú½Ì
NAS
µö·¯´×
°¡»óÈ
Çϵå¿þ¾î
³×Æ®¿÷
RAID
°ÁÂ
ÀÚ·á
BMT
ÈÆÈÆ
ÆǸÅ
±¸¸Å
°ßÀû
ÇØ¿Ü
Ãâ¼®
¹Ù·Î
¹Ù·Î°¡±âÆíÁý
member_id
password
Auto
Login
ȸ¿ø°¡ÀÔ
¾ÆÀ̵ðã±â
¸ñ·Ï
¾²±â
¸ñ·Ï
º¸¾È Á¢±Ù ¾î¶»°Ô ÇØ¾ß ÇÒ±î¿ä? su ±ÇÇÑ ¹®Á¦
Çà¾Æ¹ü
2014-04
2014-04-28 15:17:49
Á¶È¸ 3683 Ãßõ 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
¾²±â
1509/5687
¹øÈ£
Á¦¸ñ
Page 1509/5687
±Û¾´ÀÌ
³¯Â¥
Á¶È¸
̵̧
(±¤°í) ´ÜÅë¹ý ½Ã´ëÀÇ ÀÎÅͳݰ¡ÀÔ °¡À̵å(ver2.0)
(228)
¹é¸Þ°¡
2015-12
1533839
25
(±¤°í) ´ÜÅë¹ý ½Ã´ëÀÇ ÀÎÅͳݰ¡ÀÔ °¡À̵å(¡¦
(228)
2015-12 1533839
1
¹é¸Þ°¡
[Çʵ¶] óÀ½ ¿À½Ã´Â ºÐÀ» À§ÇÑ ¾È³»
(728)
Á¤ÀºÁØ1
2014-05
4997991
0
[Çʵ¶] óÀ½ ¿À½Ã´Â ºÐÀ» À§ÇÑ ¾È³»
(728)
2014-05 4997991
1
Á¤ÀºÁØ1
83579
´Ùµé ÀÎÄÚµù ¾î¶»°Ô ÇϽóª¿ä?
(2)
»ßµ¹À̽½ÇÄÀÌ
2017-03
3674
1
´Ùµé ÀÎÄÚµù ¾î¶»°Ô ÇϽóª¿ä?
(2)
2017-03 3674
1
»ßµ¹À̽½ÇÄÀÌ
83578
³ëÆ®ºÏ ¾×Á¤ ±³È¯ Áú¹®µå¸³´Ï´Ù.
(6)
Àª¶ó¸ä
2017-03
3674
0
³ëÆ®ºÏ ¾×Á¤ ±³È¯ Áú¹®µå¸³´Ï´Ù.
(6)
2017-03 3674
1
Àª¶ó¸ä
83577
XenCenter VCore
(1)
ÄĹÚ
2016-11
3674
0
XenCenter VCore
(1)
2016-11 3674
1
ÄĹÚ
83576
´Ü¼ø ¾÷¹«¿ë ¼¹ö amdµµ ±¦ÂúÀ»±î¿ä..?
(31)
¹ÙºÎÆÃÀÌ
2019-11
3674
0
´Ü¼ø ¾÷¹«¿ë ¼¹ö amdµµ ±¦ÂúÀ»±î¿ä..?
(31)
2019-11 3674
1
¹ÙºÎÆÃÀÌ
83575
Synology º¼·ý Ãæµ¹ ³°Å ÇØ°áÇϽŠºÐ °è½Å°¡¿ä?
(3)
s±èÁ¾Èz
2018-09
3674
0
Synology º¼·ý Ãæµ¹ ³°Å ÇØ°áÇϽŠºÐ °è¡¦
(3)
2018-09 3674
1
s±èÁ¾Èz
83574
°í¼ö´Ôµé µµ¿ÍÁÖ¼¼¿ä!
(8)
ÀåÁö¿õ
2014-08
3674
0
°í¼ö´Ôµé µµ¿ÍÁÖ¼¼¿ä!
(8)
2014-08 3674
1
ÀåÁö¿õ
83573
¾îÈæ.. tx1310m1 ÆÒ¼Ò¸®°¡ ³Ê¹« ½Ã²ô·¯¿ö¿ä.
(4)
ÇÁ·ç½ºÆ®
2015-02
3674
0
¾îÈæ.. tx1310m1 ÆÒ¼Ò¸®°¡ ³Ê¹« ½Ã²ô·¯¿ö¡¦
(4)
2015-02 3674
1
ÇÁ·ç½ºÆ®
83572
HP P410 ·¹À̵å ÄÁÆ®·Ñ·¯ »ç¿ë ¹®Á¦
(1)
MS77
2016-03
3674
0
HP P410 ·¹À̵å ÄÁÆ®·Ñ·¯ »ç¿ë ¹®Á¦
(1)
2016-03 3674
1
MS77
83571
¿À¶óŬ Àß ¾Æ½Ã´ÂºÐ?
(4)
ÀÌÁöÆ÷Åä
2014-02
3674
0
¿À¶óŬ Àß ¾Æ½Ã´ÂºÐ?
(4)
2014-02 3674
1
ÀÌÁöÆ÷Åä
83570
¹«¼±·£Ä«µå SSID ¼±ÅúκÐÀÌ ¶ßÁú¾Ê³×¿ä...
(3)
SKIM
2017-07
3674
1
¹«¼±·£Ä«µå SSID ¼±ÅúκÐÀÌ ¶ßÁú¾Ê³×¿ä...
(3)
2017-07 3674
1
SKIM
83569
¸®´ª½º ºÎÆÃÈÄ ³»ºÎ¸Á¸¸ Á¢±Ù °¡´ÉÇØ¿ä.
(3)
±ô¦
2017-12
3674
0
¸®´ª½º ºÎÆÃÈÄ ³»ºÎ¸Á¸¸ Á¢±Ù °¡´ÉÇØ¿ä.
(3)
2017-12 3674
1
±ô¦
83568
°³Á¶Á¦¿Â º¸µå ¹®ÀÇÀÔ´Ï´Ù.
(3)
akfalles
2014-05
3674
0
°³Á¶Á¦¿Â º¸µå ¹®ÀÇÀÔ´Ï´Ù.
(3)
2014-05 3674
1
akfalles
83567
¿ë»ê ÀÏ¿äÀÏ ssd±¸¸Å°¡ °¡´ÉÇÒ±î¿ä?
(6)
¼ÛÁøÇö
2018-08
3674
0
¿ë»ê ÀÏ¿äÀÏ ssd±¸¸Å°¡ °¡´ÉÇÒ±î¿ä?
(6)
2018-08 3674
1
¼ÛÁøÇö
83566
·¥À» ¼¼·Î·Î Ÿ¿öÇüÅ·ΠÃß°¡·Î¡ÂøÇÒ¼öÀִ½½·ÔÀ» ¹¹¶ó°íÇϳª¿ä?
(2)
KMG5586
2014-08
3674
0
·¥À» ¼¼·Î·Î Ÿ¿öÇüÅ·ΠÃß°¡·Î¡ÂøÇÒ¼öÀÖ¡¦
(2)
2014-08 3674
1
KMG5586
83565
ÀÌ ÄÉÀ̽º ¾²½Ã´ÂºÐ °è½Å°¡¿ä?
(6)
Á¶¿î
2014-02
3674
0
ÀÌ ÄÉÀ̽º ¾²½Ã´ÂºÐ °è½Å°¡¿ä?
(6)
2014-02 3674
1
Á¶¿î
83564
¸®´ª½º(¿ìºÐÅõ)¿¡¼ Å©·Ò°ú firefoxÀÇ Â÷ÀÌ
(12)
shipse
2021-02
3674
0
¸®´ª½º(¿ìºÐÅõ)¿¡¼ Å©·Ò°ú firefoxÀÇ Â÷ÀÌ
(12)
2021-02 3674
1
shipse
83563
ibm86¼¹ö ¸Þ¸ð¸® ¹®ÀÇ ÇÕ´Ï´Ù.
(1)
Ãʺ¸IT
2018-01
3674
0
ibm86¼¹ö ¸Þ¸ð¸® ¹®ÀÇ ÇÕ´Ï´Ù.
(1)
2018-01 3674
1
Ãʺ¸IT
83562
±â°è½Ä Å°º¸µå´Â ¹¹ Å×½ºÆ® ÇØ ºÁ¾ß Çϳª¿ä?
(5)
´ÃÆĶõ
2017-09
3674
1
±â°è½Ä Å°º¸µå´Â ¹¹ Å×½ºÆ® ÇØ ºÁ¾ß Çϳª¡¦
(5)
2017-09 3674
1
´ÃÆĶõ
83561
ÂÊÁöº¸³»±â°¡ ¾ÈµÇ´Âµ¥¿ä..Á¦°¡ À߸ø ÇÏ°í Àִ°ǰ¡¿ä?
(5)
³ë¾Æµð
2016-07
3674
0
ÂÊÁöº¸³»±â°¡ ¾ÈµÇ´Âµ¥¿ä..Á¦°¡ À߸ø ÇÏ°í¡¦
(5)
2016-07 3674
1
³ë¾Æµð
83560
oracle export ¹é¾÷°ü·Ã Áú¹®µå¸³´Ï´Ù.
(2)
ÄðÄðÄð
2018-06
3674
0
oracle export ¹é¾÷°ü·Ã Áú¹®µå¸³´Ï´Ù.
(2)
2018-06 3674
1
ÄðÄðÄð
1501
1502
1503
1504
1505
1506
1507
1508
1509
(current)
1510
1506
1507
1508
1509
(current)
1510
¸ñ·Ï
¾²±â
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