Skip navigation
³»¿ë¾ø½¿
¹Ù·Î°¡±âÆíÁý
ÀÚÀ¯°Ô½ÃÆÇ
ÇÑÁÙ
QnA
Job
Life
¾÷üȫº¸
DIY
¾ð¹Ú½Ì
NAS
µö·¯´×
°¡»óÈ
Çϵå¿þ¾î
³×Æ®¿÷
RAID
°ÁÂ
ÀÚ·á
BMT
ÈÆÈÆ
ÆǸÅ
±¸¸Å
°ßÀû
ÇØ¿Ü
Ãâ¼®
¹Ù·Î
¹Ù·Î°¡±âÆíÁý
member_id
password
Auto
Login
ȸ¿ø°¡ÀÔ
¾ÆÀ̵ðã±â
¸ñ·Ï
¾²±â
¸ñ·Ï
º¸¾È Á¢±Ù ¾î¶»°Ô ÇØ¾ß ÇÒ±î¿ä? su ±ÇÇÑ ¹®Á¦
Çà¾Æ¹ü
2014-04
2014-04-28 15:17:49
Á¶È¸ 3701 Ãßõ 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
¾²±â
3161/5688
¹øÈ£
Á¦¸ñ
Page 3161/5688
±Û¾´ÀÌ
³¯Â¥
Á¶È¸
̵̧
[Çʵ¶] óÀ½ ¿À½Ã´Â ºÐÀ» À§ÇÑ ¾È³»
(728)
Á¤ÀºÁØ1
2014-05
5000051
0
[Çʵ¶] óÀ½ ¿À½Ã´Â ºÐÀ» À§ÇÑ ¾È³»
(728)
2014-05 5000051
1
Á¤ÀºÁØ1
(±¤°í) ´ÜÅë¹ý ½Ã´ëÀÇ ÀÎÅͳݰ¡ÀÔ °¡À̵å(ver2.0)
(228)
¹é¸Þ°¡
2015-12
1535920
25
(±¤°í) ´ÜÅë¹ý ½Ã´ëÀÇ ÀÎÅͳݰ¡ÀÔ °¡À̵å(¡¦
(228)
2015-12 1535920
1
¹é¸Þ°¡
50541
hp z8g4 ¹æ¿ÆÇÀº ȣȯÁ¦Ç°ÀÌ ¾ø³ª¿ä?
(6)
ÄÚÄí
2023-01
1933
0
hp z8g4 ¹æ¿ÆÇÀº ȣȯÁ¦Ç°ÀÌ ¾ø³ª¿ä?
(6)
2023-01 1933
1
ÄÚÄí
50540
DASµµ ¼ö¿ä°¡ ÀÖÀ¸·Á³ª¿ä?
(5)
Ç×°ø¸ðÇÔ
09-05
1028
0
DASµµ ¼ö¿ä°¡ ÀÖÀ¸·Á³ª¿ä?
(5)
09-05 1028
1
Ç×°ø¸ðÇÔ
50539
´ÜÀںΠŬ·¥ÇÎ Åø Áú¹® µå¸³´Ï´Ù.
»ßµ¹À̽½ÇÄÀÌ
2014-04
3781
0
´ÜÀںΠŬ·¥ÇÎ Åø Áú¹® µå¸³´Ï´Ù.
2014-04 3781
1
»ßµ¹À̽½ÇÄÀÌ
50538
Ȥ½Ã qnap ½ºÅ丮Áö ÇϵåÆ®·¹ÀÌ Å° ¿©ºÐ ÀÖÀ¸½ÅºÐ
(9)
Ãʺ¸IT
2018-12
2816
0
Ȥ½Ã qnap ½ºÅ丮Áö ÇϵåÆ®·¹ÀÌ Å° ¿©ºÐ ¡¦
(9)
2018-12 2816
1
Ãʺ¸IT
50537
±×·¡ÇÈ Ä«µåÀÇ °¡¼Ó ¼Óµµ´Â ·ÎµåÀ²À̶û »ó°üÀÌ ¾ø³ª¿ä?
(7)
±èÁ¦¿¬
2023-01
2151
0
±×·¡ÇÈ Ä«µåÀÇ °¡¼Ó ¼Óµµ´Â ·ÎµåÀ²À̶û »ó¡¦
(7)
2023-01 2151
1
±èÁ¦¿¬
50536
E5-2667 vs E5-2643 °í¹ÎÁß ÀÔ´Ï´Ù.
(6)
µö¸¶Àεå
2023-01
2215
0
E5-2667 vs E5-2643 °í¹ÎÁß ÀÔ´Ï´Ù.
(6)
2023-01 2215
1
µö¸¶Àεå
50535
PCI-E x1Àº ¸î¿ÍÆ®±îÁö °ø±ÞÇÒ¼öÀÖ³ª¿ä?
(8)
jang
2017-09
4086
0
PCI-E x1Àº ¸î¿ÍÆ®±îÁö °ø±ÞÇÒ¼öÀÖ³ª¿ä?
(8)
2017-09 4086
1
jang
50534
z270 º¸µå °í¹Î...
(4)
Æ÷Ä«
2018-12
3128
0
z270 º¸µå °í¹Î...
(4)
2018-12 3128
1
Æ÷Ä«
50533
±¤ ³×Æ®¿öÅ© Àåºñ¿¡ °üÇÏ¿© Áú¹®µå¸³´Ï´Ù.
(8)
ȲÀ籤
2023-01
2938
0
±¤ ³×Æ®¿öÅ© Àåºñ¿¡ °üÇÏ¿© Áú¹®µå¸³´Ï´Ù.
(8)
2023-01 2938
1
ȲÀ籤
50532
Dell Lifecycle controller¿¡¼ configure raid ¸Þ´º¿¡ °üÇØ
(3)
¶°µ¹ÀÌ´Á´ë
2017-09
4029
0
Dell Lifecycle controller¿¡¼ configure¡¦
(3)
2017-09 4029
1
¶°µ¹ÀÌ´Á´ë
50531
MS SQL serverµ¥ÀÌÅͺ£À̽º½Ã½ºÅÛ»ç¿ëÇÏ´Â ¼¹öÃøÄÄÇ»ÅÍÀÇ ¸ð´ÏŸ°¡ ¸Þ¸ð¸®ºÎÁ·ÇÏ´Ù¡¦
(10)
±×¸°
2018-12
4106
0
MS SQL serverµ¥ÀÌÅͺ£À̽º½Ã½ºÅÛ»ç¿ëÇϴ¡¦
(10)
2018-12 4106
1
±×¸°
50530
±¸±Û ºê¶ó¿ìÀú¿¡¼ ÀÚ²Ù ±î¸¸ Á¡ÀÌ?
(4)
¿¥ºê¸®¿À
09-30
455
0
±¸±Û ºê¶ó¿ìÀú¿¡¼ ÀÚ²Ù ±î¸¸ Á¡ÀÌ?
(4)
09-30 455
1
¿¥ºê¸®¿À
50529
³ìÈÈÁú ÁÁÀº HDTV ¼ö½ÅÄ«µå ÃßõºÎŹµå¸®°Ú½À´Ï´Ù.
(4)
±è½Â±Ç
2009-02
7736
0
³ìÈÈÁú ÁÁÀº HDTV ¼ö½ÅÄ«µå ÃßõºÎŹµå¡¦
(4)
2009-02 7736
1
±è½Â±Ç
50528
³ëÆ®ºÏ ÀúÇØ»óµµ ÆùÆ® ¼±¸íµµ
(1)
°¡ºü·Î±¸³ª
2009-02
6674
0
³ëÆ®ºÏ ÀúÇØ»óµµ ÆùÆ® ¼±¸íµµ
(1)
2009-02 6674
1
°¡ºü·Î±¸³ª
50527
¾Ð·Â ¹ç¼ÜÀÌ µåµð¾î ¹äÀÌ ¼³Àͱ⠽ÃÀÛÇÑ´Ù°í.. Çϴµ¥..
(28)
½ÅÀº¿Ö
2017-09
7544
0
¾Ð·Â ¹ç¼ÜÀÌ µåµð¾î ¹äÀÌ ¼³Àͱ⠽ÃÀÛÇÑ´Ù¡¦
(28)
2017-09 7544
1
½ÅÀº¿Ö
50526
CPU ³Ã°¢¿¡ ´ëÇÑ Á¶¾ð ±¸ÇÕ´Ï´Ù.(771¼ÒÄÏ)
(2)
À̺¸Çö
2009-02
6146
0
CPU ³Ã°¢¿¡ ´ëÇÑ Á¶¾ð ±¸ÇÕ´Ï´Ù.(771¼ÒÄÏ)
(2)
2009-02 6146
1
À̺¸Çö
50525
º¸¾È Á¢±Ù ¾î¶»°Ô ÇØ¾ß ÇÒ±î¿ä? su ±ÇÇÑ ¹®Á¦
(5)
Çà¾Æ¹ü
2014-04
3702
0
º¸¾È Á¢±Ù ¾î¶»°Ô ÇØ¾ß ÇÒ±î¿ä? su ±ÇÇÑ ¡¦
(5)
2014-04 3702
1
Çà¾Æ¹ü
50524
IBM¼¹ö ¹é¾÷°ü·Ã
(4)
¿À¼Ò¸®
2015-09
4225
0
IBM¼¹ö ¹é¾÷°ü·Ã
(4)
2015-09 4225
1
¿À¼Ò¸®
50523
Çì³î [Virtual Machine Manager] Ŭ·¯½ºÅÍ¿¡¼ ÀúÀå¼Ò ¸®¼Ò½º NAS ÀÌ(°¡) ´©¶ôµÇ¾ú½À¡¦
(2)
¹«¸íÀÎ12
2017-09
4508
0
Çì³î [Virtual Machine Manager] Ŭ·¯½ºÅÍ¡¦
(2)
2017-09 4508
1
¹«¸íÀÎ12
50522
RJ45z ÄÉÀ̺íÀº ¾îµð¼ ±¸ÀÔ°¡´ÉÇÒ±î¿ä?
±èȲÁß
2017-09
5336
0
RJ45z ÄÉÀ̺íÀº ¾îµð¼ ±¸ÀÔ°¡´ÉÇÒ±î¿ä?
2017-09 5336
1
±èȲÁß
3161
(current)
3162
3163
3164
3165
3166
3167
3168
3169
3170
3161
(current)
3162
3163
3164
3165
¸ñ·Ï
¾²±â
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