Skip navigation
³»¿ë¾ø½¿
¹Ù·Î°¡±âÆíÁý
ÀÚÀ¯°Ô½ÃÆÇ
ÇÑÁÙ
QnA
Job
Life
¾÷üȫº¸
DIY
¾ð¹Ú½Ì
NAS
µö·¯´×
°¡»óÈ
Çϵå¿þ¾î
³×Æ®¿÷
RAID
°ÁÂ
ÀÚ·á
BMT
ÈÆÈÆ
ÆǸÅ
±¸¸Å
°ßÀû
ÇØ¿Ü
Ãâ¼®
¹Ù·Î
¹Ù·Î°¡±âÆíÁý
member_id
password
Auto
Login
ȸ¿ø°¡ÀÔ
¾ÆÀ̵ðã±â
¸ñ·Ï
¾²±â
¸ñ·Ï
º¸¾È Á¢±Ù ¾î¶»°Ô ÇØ¾ß ÇÒ±î¿ä? su ±ÇÇÑ ¹®Á¦
Çà¾Æ¹ü
2014-04
2014-04-28 15:17:49
Á¶È¸ 3749 Ãßõ 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
¾²±â
4123/5689
¹øÈ£
Á¦¸ñ
Page 4123/5689
±Û¾´ÀÌ
³¯Â¥
Á¶È¸
̵̧
(±¤°í) ´ÜÅë¹ý ½Ã´ëÀÇ ÀÎÅͳݰ¡ÀÔ °¡À̵å(ver2.0)
(228)
¹é¸Þ°¡
2015-12
1546280
25
(±¤°í) ´ÜÅë¹ý ½Ã´ëÀÇ ÀÎÅͳݰ¡ÀÔ °¡À̵å(¡¦
(228)
2015-12 1546280
1
¹é¸Þ°¡
[Çʵ¶] óÀ½ ¿À½Ã´Â ºÐÀ» À§ÇÑ ¾È³»
(728)
Á¤ÀºÁØ1
2014-05
5010586
0
[Çʵ¶] óÀ½ ¿À½Ã´Â ºÐÀ» À§ÇÑ ¾È³»
(728)
2014-05 5010586
1
Á¤ÀºÁØ1
31335
±â°è½Ä Å°º¸µå´Â ¾î´À Á¦Ç°ÀÌ ³ªÀ»±î¿ä?
(12)
Win31
2018-10
3748
0
±â°è½Ä Å°º¸µå´Â ¾î´À Á¦Ç°ÀÌ ³ªÀ»±î¿ä?
(12)
2018-10 3748
1
Win31
31334
À¥¼¹ö¿¡ »ç¼³IP¸¦ ºÎ¿©Çߴµ¥¿ä...³»ºÎ°ü¸®¿ëIP¸¦ Çϳª´õ ºÎ¿©ÇÏ°í½Í½À´Ï´Ù
(2)
´ëÇѹα¹
2015-12
3748
0
À¥¼¹ö¿¡ »ç¼³IP¸¦ ºÎ¿©Çߴµ¥¿ä...³»ºÎ°ü¡¦
(2)
2015-12 3748
1
´ëÇѹα¹
31333
IBM SAS µð½ºÅ© sgformat ½ÇÆÐ Áõ»ó
(4)
IPA1000
2020-10
3748
0
IBM SAS µð½ºÅ© sgformat ½ÇÆÐ Áõ»ó
(4)
2020-10 3748
1
IPA1000
31332
kvm °ú ¼±Åñâ´Â ¹«½¼ Â÷ÀÌ°¡ Àִ°ÇÁö¿ä
(8)
°¡ºü·Î±¸³ª
2017-09
3748
0
kvm °ú ¼±Åñâ´Â ¹«½¼ Â÷ÀÌ°¡ Àִ°ÇÁö¿ä
(8)
2017-09 3748
1
°¡ºü·Î±¸³ª
31331
À¥»çÀÌÆ®¸¦ Åëä·Î ¹Þ¾Æ¿Ã¼öÀÖ´Â ÅøÀÌ ÀÖ³ª¿ä
(5)
±×¸°
2018-05
3748
0
À¥»çÀÌÆ®¸¦ Åëä·Î ¹Þ¾Æ¿Ã¼öÀÖ´Â ÅøÀÌ ÀÖ¡¦
(5)
2018-05 3748
1
±×¸°
31330
¹ÙÀÌ¿À½º ¾÷±×·¹À̵åÇߴµ¥ ¾ÈµÇ³×¿ä..¤Ð
(8)
²¿¸¶¹æ
2019-05
3748
0
¹ÙÀÌ¿À½º ¾÷±×·¹À̵åÇߴµ¥ ¾ÈµÇ³×¿ä..¤Ð
(8)
2019-05 3748
1
²¿¸¶¹æ
31329
ÀÎÅÚ¼¹öº¸µå¿¡ ²ÈÀ» ·¥Ã£´Âµ¥ ÀÌ°Å ½áµµ µÉ±î¿ä?
(3)
±è°Ç¿ì
2016-07
3748
0
ÀÎÅÚ¼¹öº¸µå¿¡ ²ÈÀ» ·¥Ã£´Âµ¥ ÀÌ°Å ½áµµ ¡¦
(3)
2016-07 3748
1
±è°Ç¿ì
31328
µö·¯´×¿ë ±×·¡ÇÈÄ«µå & ÆÄ¿ö Ãßõ
(8)
ÇâÄ®
2019-10
3748
0
µö·¯´×¿ë ±×·¡ÇÈÄ«µå & ÆÄ¿ö Ãßõ
(8)
2019-10 3748
1
ÇâÄ®
31327
Àâ)Àηù°¡ ´Þ¿¡ °¬À»±î¿ä?..
(14)
ȲÁø¿ì
2018-08
3748
1
Àâ)Àηù°¡ ´Þ¿¡ °¬À»±î¿ä?..
(14)
2018-08 3748
1
ȲÁø¿ì
31326
DL360 G6 ÇØ»óµµ Áú¹®
(5)
¹«¸ð´Ï
2015-06
3748
0
DL360 G6 ÇØ»óµµ Áú¹®
(5)
2015-06 3748
1
¹«¸ð´Ï
31325
Adobe CS6 After Effects ¸¦ ±¸¸ÅÇÒ ¼ö ÀÖ´Â °÷ÀÌ ÀÖÀ»±î¿ä?
(3)
¹éµÎ»ê
2018-12
3748
0
Adobe CS6 After Effects ¸¦ ±¸¸ÅÇÒ ¼ö ÀÖ¡¦
(3)
2018-12 3748
1
¹éµÎ»ê
31324
³×Æ®¿öÅ©¸¦ ÅëÇÑ ¹®¼ °øÀ¯ ½Ã µ¿½Ã¿¡ °°Àº ¹®¼ »ç¿ëÇÒ ¶§ÀÇ ¹®Á¦Á¡
(2)
evoker
2018-09
3747
0
³×Æ®¿öÅ©¸¦ ÅëÇÑ ¹®¼ °øÀ¯ ½Ã µ¿½Ã¿¡ °°¡¦
(2)
2018-09 3747
1
evoker
31323
e5-2696v3°¡ e5-2678v3 2¹èÁ¤µµÀÇ °ª¾îÄ¡°¡ ÀÖ³ª¿ä?
(7)
»ßµ¹À̽½ÇÄÀÌ
2019-05
3747
0
e5-2696v3°¡ e5-2678v3 2¹èÁ¤µµÀÇ °ª¾îÄ¡¡¦
(7)
2019-05 3747
1
»ßµ¹À̽½ÇÄÀÌ
31322
z420ÀÇ ·¥¿¡ °ü·ÃÇÏ¿© Àǹ®Á¡.
(7)
Ãë¹Ì»ýÈ°»ç¡¦
2016-03
3747
1
z420ÀÇ ·¥¿¡ °ü·ÃÇÏ¿© Àǹ®Á¡.
(7)
2016-03 3747
1
Ãë¹Ì»ýÈ°»ç¡¦
31321
¹öÃß¾ó´þ°ú x264 vfw ·Î ¸ÖƼÆнº ÀÎÄÚµùÇϴ¹ýÀÌ ±Ã±ÝÇÕ´Ï´Ù
(4)
Ź¿µ±æ
2017-08
3747
0
¹öÃß¾ó´þ°ú x264 vfw ·Î ¸ÖƼÆнº ÀÎÄÚµù¡¦
(4)
2017-08 3747
1
Ź¿µ±æ
31320
Áú¹®ÀÌ ÀÖ½À´Ï´Ù.
(4)
õ»óÀDZâ»ç
2020-07
3747
0
Áú¹®ÀÌ ÀÖ½À´Ï´Ù.
(4)
2020-07 3747
1
õ»óÀDZâ»ç
31319
·¥ ¹æ¿ÆÇ »©µµ µÇ³ª¿ä ?
(8)
ĵÀ§µå
2017-09
3747
0
·¥ ¹æ¿ÆÇ »©µµ µÇ³ª¿ä ?
(8)
2017-09 3747
1
ĵÀ§µå
31318
¹ÌÅ©·Îƽ CRS125-24G ÀÎÅÍ³Ý ¼Óµµ ¹®ÀÇ µå¸³´Ï´Ù.
(5)
¹ÚÇö±Ù
2014-04
3747
0
¹ÌÅ©·Îƽ CRS125-24G ÀÎÅÍ³Ý ¼Óµµ ¹®ÀÇ µå¡¦
(5)
2014-04 3747
1
¹ÚÇö±Ù
31317
Ǫ½Ã ¼ºñ½º µ¿ÀÛ¹æ½Ä¿¡ ±Ã±ÝÁõÀÌ ÀÖ½À´Ï´Ù.
(8)
¾Æ¸¶µ¥¿ì¾²
2021-11
3747
0
Ǫ½Ã ¼ºñ½º µ¿ÀÛ¹æ½Ä¿¡ ±Ã±ÝÁõÀÌ ÀÖ½À´Ï¡¦
(8)
2021-11 3747
1
¾Æ¸¶µ¥¿ì¾²
31316
ebay ½ÃÇÇÀ¯ °¡°Ý ¹ÏÀ»¸¸ÇÑ°¡¿ä?
(5)
°¡ºü·Î±¸³ª
2014-03
3747
0
ebay ½ÃÇÇÀ¯ °¡°Ý ¹ÏÀ»¸¸ÇÑ°¡¿ä?
(5)
2014-03 3747
1
°¡ºü·Î±¸³ª
4121
4122
4123
(current)
4124
4125
4126
4127
4128
4129
4130
4121
4122
4123
(current)
4124
4125
¸ñ·Ï
¾²±â
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