Skip navigation
³»¿ë¾ø½¿
¹Ù·Î°¡±âÆíÁý
ÀÚÀ¯°Ô½ÃÆÇ
ÇÑÁÙ
QnA
Job
Life
¾÷üȫº¸
DIY
¾ð¹Ú½Ì
NAS
µö·¯´×
°¡»óÈ
Çϵå¿þ¾î
³×Æ®¿÷
RAID
°ÁÂ
ÀÚ·á
BMT
ÈÆÈÆ
ÆǸÅ
±¸¸Å
°ßÀû
ÇØ¿Ü
Ãâ¼®
¹Ù·Î
¹Ù·Î°¡±âÆíÁý
member_id
password
Auto
Login
ȸ¿ø°¡ÀÔ
¾ÆÀ̵ðã±â
¸ñ·Ï
¾²±â
¸ñ·Ï
º¸¾È Á¢±Ù ¾î¶»°Ô ÇØ¾ß ÇÒ±î¿ä? su ±ÇÇÑ ¹®Á¦
Çà¾Æ¹ü
2014-04
2014-04-28 15:17:49
Á¶È¸ 3776 Ãßõ 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
¾²±â
3177/5700
¹øÈ£
Á¦¸ñ
Page 3177/5700
±Û¾´ÀÌ
³¯Â¥
Á¶È¸
̵̧
(±¤°í) ´ÜÅë¹ý ½Ã´ëÀÇ ÀÎÅͳݰ¡ÀÔ °¡À̵å(ver2.0)
(230)
¹é¸Þ°¡
2015-12
1580136
25
(±¤°í) ´ÜÅë¹ý ½Ã´ëÀÇ ÀÎÅͳݰ¡ÀÔ °¡À̵å(¡¦
(230)
2015-12 1580136
1
¹é¸Þ°¡
[Çʵ¶] óÀ½ ¿À½Ã´Â ºÐÀ» À§ÇÑ ¾È³»
(732)
Á¤ÀºÁØ1
2014-05
5043729
0
[Çʵ¶] óÀ½ ¿À½Ã´Â ºÐÀ» À§ÇÑ ¾È³»
(732)
2014-05 5043729
1
Á¤ÀºÁØ1
50461
¹®ÀÇ µå¸³´Ï´Ù. ¾Æ½Ã´ÂºÐ ´äº¯Á»....
(3)
EYESSHOT
2011-10
5420
0
¹®ÀÇ µå¸³´Ï´Ù. ¾Æ½Ã´ÂºÐ ´äº¯Á»....
(3)
2011-10 5420
1
EYESSHOT
50460
ÇϳªÆ÷½º¿Í ÆÄ¿öÄÞ
(4)
±è¼±±Ô
2008-04
5420
21
ÇϳªÆ÷½º¿Í ÆÄ¿öÄÞ
(4)
2008-04 5420
1
±è¼±±Ô
50459
[±ä±Þ¿äû] SANDISK SDP3B(ATA Flash card) ±¹³» ÆǸÅó
(4)
Á¤¼ºÈÆ
2005-11
5420
5
[±ä±Þ¿äû] SANDISK SDP3B(ATA Flash card¡¦
(4)
2005-11 5420
1
Á¤¼ºÈÆ
50458
Æ®·£¼¾µå ssd A/SÁú¹®
(4)
·ù·ù·ù
2017-11
5420
0
Æ®·£¼¾µå ssd A/SÁú¹®
(4)
2017-11 5420
1
·ù·ù·ù
50457
HP ·¹ÀÌÀúÁ¬ 5100SE
(2)
¼¼öºÀ
2007-09
5420
18
HP ·¹ÀÌÀúÁ¬ 5100SE
(2)
2007-09 5420
1
¼¼öºÀ
50456
Çظӵ帱 ¼±Åà °í¹ÎÁßÀÔ´Ï´Ù.
(15)
ÇØÇǹö±×
2016-02
5420
0
Çظӵ帱 ¼±Åà °í¹ÎÁßÀÔ´Ï´Ù.
(15)
2016-02 5420
1
ÇØÇǹö±×
50455
½ºÄ«½Ã Áß°í hdd°ü·Ã Áú¹®À» Á» ¹Ù²ã¼ ...
(6)
³²±ÃÀϳ²
2007-06
5420
15
½ºÄ«½Ã Áß°í hdd°ü·Ã Áú¹®À» Á» ¹Ù²ã¼ ...
(6)
2007-06 5420
1
³²±ÃÀϳ²
50454
[re] Æ÷Æ®¹øÈ£ÀÇ °¢°¢ ±â´ÉÀ» ¾Ë°í ½Í½À´Ï´Ù.
(3)
¹Ú¿ì¿
2005-12
5420
6
[re] Æ÷Æ®¹øÈ£ÀÇ °¢°¢ ±â´ÉÀ» ¾Ë°í ½Í½À´Ï¡¦
(3)
2005-12 5420
1
¹Ú¿ì¿
50453
sun card¸¦ 2Àå ¾ò¾î¿Ô¾î¿ä Ä£±¸ÇÑÅ×..
(7)
ÆÄÄ¿½º
2013-10
5420
0
sun card¸¦ 2Àå ¾ò¾î¿Ô¾î¿ä Ä£±¸ÇÑÅ×..
(7)
2013-10 5420
1
ÆÄÄ¿½º
50452
. DVD-RWÁú¹® µå¸³´Ï´Ù.
(6)
¹ÚÁ¾´ë
2006-01
5420
12
. DVD-RWÁú¹® µå¸³´Ï´Ù.
(6)
2006-01 5420
1
¹ÚÁ¾´ë
50451
[Áú¹®]À©µµ¿ì ¼³Ä¡µµÁß ¾ó¾î¹ö¸®´Â Áõ»ó?
(6)
¹Úµ¿¼·
2008-10
5420
7
[Áú¹®]À©µµ¿ì ¼³Ä¡µµÁß ¾ó¾î¹ö¸®´Â Áõ»ó?
(6)
2008-10 5420
1
¹Úµ¿¼·
50450
2466n¿¡¼ ¸ðÅæ»ç¿ë°ú 6800le»ç¿ë¿¡ ´ëÇØ
(3)
±è¹Îö
2006-03
5420
23
2466n¿¡¼ ¸ðÅæ»ç¿ë°ú 6800le»ç¿ë¿¡ ´ëÇØ
(3)
2006-03 5420
1
±è¹Îö
50449
Àú°¡ÀÇ ÀüÀÚ»çÀü Ãßõ ºÎŹµå¸³´Ï´Ù..( ³ªÀ̵å½Å ºÎ¸ð´Ô »ç¿ë)
¼µ¿±¹
2008-02
5420
12
Àú°¡ÀÇ ÀüÀÚ»çÀü Ãßõ ºÎŹµå¸³´Ï´Ù..( ³ª¡¦
2008-02 5420
1
¼µ¿±¹
50448
À±È°À¯ Á¾·ù?
(7)
MikroTikÀÌÁø
2015-08
5420
0
À±È°À¯ Á¾·ù?
(7)
2015-08 5420
1
MikroTikÀÌÁø
50447
½´ÆÛ¸¶ÀÌÅ©·Î UIO½½·Ô Áú¹®
¹ÚÀç¼®
2008-01
5420
8
½´ÆÛ¸¶ÀÌÅ©·Î UIO½½·Ô Áú¹®
2008-01 5420
1
¹ÚÀç¼®
50446
°øÀ¯°¡ ¾ÈµË´Ï´Ù µµ¿òÁ» ÁÖ¼¼¿ä
(7)
·ùÀçÇÏ
2006-05
5420
8
°øÀ¯°¡ ¾ÈµË´Ï´Ù µµ¿òÁ» ÁÖ¼¼¿ä
(7)
2006-05 5420
1
·ùÀçÇÏ
50445
µ¿Á¢ 10¸í´ëÀÇ È¨ÆäÀÌÁö ¹× nas¸¦ ±¼¸®·Á´Âµ¥
(16)
Enthea
2018-08
5420
0
µ¿Á¢ 10¸í´ëÀÇ È¨ÆäÀÌÁö ¹× nas¸¦ ±¼¸®·Á¡¦
(16)
2018-08 5420
1
Enthea
50444
ÇÏµå ¹æÁø¸µ°ú Àü¿øºÒ °íÁ¤ÇÏ´Â ÇÁ¶ó½ºÆ½ ±¸ÀÔÇÏ´Â °÷À» ¹®Àǵ帳´Ï´Ù.
(2)
±èÁØÀ¯
2012-03
5420
0
ÇÏµå ¹æÁø¸µ°ú Àü¿øºÒ °íÁ¤ÇÏ´Â ÇÁ¶ó½ºÆ½ ¡¦
(2)
2012-03 5420
1
±èÁØÀ¯
50443
eSATA¸¦ ÅëÇÑ ODD¿¬°á ÈÄ OS ¼³Ä¡ °¡´ÉÇÑ°¡¿ä?
(5)
Á¤ÀºÁØ
2008-07
5421
17
eSATA¸¦ ÅëÇÑ ODD¿¬°á ÈÄ OS ¼³Ä¡ °¡´ÉÇÑ¡¦
(5)
2008-07 5421
1
Á¤ÀºÁØ
50442
¹®µæ ±Ã±ÝÇØÁ³½À´Ï´Ù...³»Àå VGA°¡...
(6)
Àü¿ä¼Á
2006-04
5421
3
¹®µæ ±Ã±ÝÇØÁ³½À´Ï´Ù...³»Àå VGA°¡...
(6)
2006-04 5421
1
Àü¿ä¼Á
3171
3172
3173
3174
3175
3176
3177
(current)
3178
3179
3180
3176
3177
(current)
3178
3179
3180
¸ñ·Ï
¾²±â
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