Skip navigation
³»¿ë¾ø½¿
¹Ù·Î°¡±âÆíÁý
ÀÚÀ¯°Ô½ÃÆÇ
ÇÑÁÙ
QnA
Job
Life
¾÷üȫº¸
DIY
¾ð¹Ú½Ì
NAS
µö·¯´×
°¡»óÈ
Çϵå¿þ¾î
³×Æ®¿÷
RAID
°ÁÂ
ÀÚ·á
BMT
ÈÆÈÆ
ÆǸÅ
±¸¸Å
°ßÀû
ÇØ¿Ü
Ãâ¼®
¹Ù·Î
¹Ù·Î°¡±âÆíÁý
member_id
password
Auto
Login
ȸ¿ø°¡ÀÔ
¾ÆÀ̵ðã±â
UnBoxing
more
[¹«ºÐ¼ö·É] °í±×¸Á¡¦
[¹«ºÐ¼ö·É] ½ÎÀÌÁ¦¡¦
[¹«ºÐ¼ö·É] ±èÀå¿ì¡¦
(1)
[¹«ºÐ¼ö·É]alpha09¡¦
(4)
[¹«ºÐ¼ö·É] ¿ÀÀ̲À¡¦
(¹«ºÐ¼ö·É)dotcat¡¦
¸ñ·Ï
¾²±â
¸ñ·Ï
º¸¾È Á¢±Ù ¾î¶»°Ô ÇØ¾ß ÇÒ±î¿ä? su ±ÇÇÑ ¹®Á¦
Çà¾Æ¹ü
2014-04
2014-04-28 15:17:49
Á¶È¸ 3641 Ãßõ 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
¾²±â
3162/5685
¹øÈ£
Á¦¸ñ
Page 3162/5685
±Û¾´ÀÌ
³¯Â¥
Á¶È¸
̵̧
[Çʵ¶] óÀ½ ¿À½Ã´Â ºÐÀ» À§ÇÑ ¾È³»
(727)
Á¤ÀºÁØ1
2014-05
4968407
0
[Çʵ¶] óÀ½ ¿À½Ã´Â ºÐÀ» À§ÇÑ ¾È³»
(727)
2014-05 4968407
1
Á¤ÀºÁØ1
(±¤°í) ´ÜÅë¹ý ½Ã´ëÀÇ ÀÎÅͳݰ¡ÀÔ °¡À̵å(ver2.0)
(228)
¹é¸Þ°¡
2015-12
1504724
25
(±¤°í) ´ÜÅë¹ý ½Ã´ëÀÇ ÀÎÅͳݰ¡ÀÔ °¡À̵å(¡¦
(228)
2015-12 1504724
1
¹é¸Þ°¡
50478
±¹³»¿¡¼ ±¸¸Å°¡´ÉÇÑ 1G NICÁß ¹ÙÀÌÆнº Áö¿ø ·£Ä«µå ÀÖ³ª¿ä?
(2)
´ÙÇÔ²²½Î´Ù±¸
2014-04
3578
0
±¹³»¿¡¼ ±¸¸Å°¡´ÉÇÑ 1G NICÁß ¹ÙÀÌÆнº ¡¦
(2)
2014-04 3578
1
´ÙÇÔ²²½Î´Ù±¸
50477
S-ATA È®Àå Áú¹®ÀÔ´Ï´Ù.
(4)
s±èÁ¾Èz
2014-04
7219
0
S-ATA È®Àå Áú¹®ÀÔ´Ï´Ù.
(4)
2014-04 7219
1
s±èÁ¾Èz
50476
³ëÆ®ºÏÀ» ºÐÇؼÒÀ縦 Çϱâ À§Çؼ
(4)
¹æoÈ¿o¹®
2014-04
3741
0
³ëÆ®ºÏÀ» ºÐÇؼÒÀ縦 Çϱâ À§Çؼ
(4)
2014-04 3741
1
¹æoÈ¿o¹®
50475
Dell PowerEdge 6800¿¡ CENT OS¸¦ ¼³Ä¡ÇÏ·Á ÇÕ´Ï´Ù...
(1)
¼ÛÁøÈ«
2014-04
4021
0
Dell PowerEdge 6800¿¡ CENT OS¸¦ ¼³Ä¡ÇÏ¡¦
(1)
2014-04 4021
1
¼ÛÁøÈ«
50474
pci-e(³òºÏ¿ë) usb3.0 ³Ê¹« ¾ÈµÇ³×¿ä
(4)
±è°Ç¿ì
2014-04
4095
0
pci-e(³òºÏ¿ë) usb3.0 ³Ê¹« ¾ÈµÇ³×¿ä
(4)
2014-04 4095
1
±è°Ç¿ì
50473
z820 ·¥ °ü·Ã Áú¹® µå·Á¿ä.
(8)
¸ÚÁø³²ÀÚ
2014-04
3674
0
z820 ·¥ °ü·Ã Áú¹® µå·Á¿ä.
(8)
2014-04 3674
1
¸ÚÁø³²ÀÚ
50472
tx100 s3p¿¡ i7 2600ÀÌ »ç¿ë °¡´ÉÇÑÁö¿ä??
(4)
ÃÖÁ¤¹ÎJ
2014-04
5251
0
tx100 s3p¿¡ i7 2600ÀÌ »ç¿ë °¡´ÉÇÑÁö¿ä??
(4)
2014-04 5251
1
ÃÖÁ¤¹ÎJ
50471
À¥¼¹ö ¹ÝÀÀ¼Óµµ Áú¹®µå¸³´Ï´Ù~~
(3)
À©µµ¿ì10
2014-04
3362
0
À¥¼¹ö ¹ÝÀÀ¼Óµµ Áú¹®µå¸³´Ï´Ù~~
(3)
2014-04 3362
1
À©µµ¿ì10
50470
¿äÁò °°Àº ¶§¿¡ Z200 À» ±¸ÇÏ·Á´Âµ¥ ±¦ÂúÀ»±î¿ä.?
(6)
¹Ì´ÏTM
2014-04
3634
0
¿äÁò °°Àº ¶§¿¡ Z200 À» ±¸ÇÏ·Á´Âµ¥ ±¦Âú¡¦
(6)
2014-04 3634
1
¹Ì´ÏTM
50469
[Áú¹®] Windows server 2012 R2 Driver °ü·Ã ¹®ÀÇ °Ç
(3)
iron19
2014-04
3350
0
[Áú¹®] Windows server 2012 R2 Driver °ü¡¦
(3)
2014-04 3350
1
iron19
50468
»ó¿ë nas ¼±Åà ¹®ÀÇ(ds214 + vs ds214 play)
(6)
ÀÌÁ¾¼Û1
2014-04
7784
0
»ó¿ë nas ¼±Åà ¹®ÀÇ(ds214 + vs ds214 pla¡¦
(6)
2014-04 7784
1
ÀÌÁ¾¼Û1
50467
VNC ¾ÏÈ£ ÀúÀåÇؼ ´ÜÃà ¾ÆÀÌÄÜÀ» ÀÌ¿ë ÇÒ ¼ö ÀÖ³ª¿ä?
Á¶¸í¼ö
2014-04
4054
0
VNC ¾ÏÈ£ ÀúÀåÇؼ ´ÜÃà ¾ÆÀÌÄÜÀ» ÀÌ¿ë ÇÒ¡¦
2014-04 4054
1
Á¶¸í¼ö
50466
º¸¾È Á¢±Ù ¾î¶»°Ô ÇØ¾ß ÇÒ±î¿ä? su ±ÇÇÑ ¹®Á¦
(5)
Çà¾Æ¹ü
2014-04
3642
0
º¸¾È Á¢±Ù ¾î¶»°Ô ÇØ¾ß ÇÒ±î¿ä? su ±ÇÇÑ ¡¦
(5)
2014-04 3642
1
Çà¾Æ¹ü
50465
hyper-v 2012 core server¹öÁ¯ÀÌ ¹«·áÀΰ¡¿ä?
(4)
ÀÌÀç¿ëÀÔ´Ï´Ù
2014-04
3576
0
hyper-v 2012 core server¹öÁ¯ÀÌ ¹«·áÀΰ¡¡¦
(4)
2014-04 3576
1
ÀÌÀç¿ëÀÔ´Ï´Ù
50464
hyper-v 2012 core server¹öÁ¯ÀÌ ¹«·áÀΰ¡¿ä?
(5)
±èÀ±¼ú
2014-04
3846
0
hyper-v 2012 core server¹öÁ¯ÀÌ ¹«·áÀΰ¡¡¦
(5)
2014-04 3846
1
±èÀ±¼ú
50463
Àüµ¿ ¼ÅÅÍ ÀϺθ¸ µû·Î ½ºÀ§Ä¡ µû·Î »©´Â°Å ½±³ª¿ä?
(4)
°¡ºü·Î±¸³ª
2014-04
4824
0
Àüµ¿ ¼ÅÅÍ ÀϺθ¸ µû·Î ½ºÀ§Ä¡ µû·Î »©´Â¡¦
(4)
2014-04 4824
1
°¡ºü·Î±¸³ª
50462
â¹®¿¡ ºñ¸·ÀÌ ¼³Ä¡ °³ÀÎÀÌ °¡´ÉÇÒ±î¿ä?
(10)
À嵿°Ç2014
2014-04
10566
0
â¹®¿¡ ºñ¸·ÀÌ ¼³Ä¡ °³ÀÎÀÌ °¡´ÉÇÒ±î¿ä?
(10)
2014-04 10566
1
À嵿°Ç2014
50461
ÈÞ´ëÆù ¼Ò¾× °áÁ¦ ¸·À»·Á¸é ¾î¶»°Ô ÇؾßÇϳª¿ä??
(4)
ºí·ç¿µ»ó
2014-04
4070
0
ÈÞ´ëÆù ¼Ò¾× °áÁ¦ ¸·À»·Á¸é ¾î¶»°Ô ÇؾßÇÏ¡¦
(4)
2014-04 4070
1
ºí·ç¿µ»ó
50460
¹ÌÅ©·Îƽ Á¢¼ÓÀÌ ¾ÈµË´Ï´Ù - winbox + web
(5)
ȸ¿øK
2014-04
3363
0
¹ÌÅ©·Îƽ Á¢¼ÓÀÌ ¾ÈµË´Ï´Ù - winbox + web
(5)
2014-04 3363
1
ȸ¿øK
50459
DDR4+E5 Á¦¿Â ¸ÞÀκ¸µå´Â
(8)
¹æoÈ¿o¹®
2014-04
4413
0
DDR4+E5 Á¦¿Â ¸ÞÀκ¸µå´Â
(8)
2014-04 4413
1
¹æoÈ¿o¹®
3161
3162
(current)
3163
3164
3165
3166
3167
3168
3169
3170
3161
3162
(current)
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