Skip navigation
³»¿ë¾ø½¿
¹Ù·Î°¡±âÆíÁý
ÀÚÀ¯°Ô½ÃÆÇ
ÇÑÁÙ
QnA
Job
Life
¾÷üȫº¸
DIY
¾ð¹Ú½Ì
NAS
µö·¯´×
°¡»óÈ
Çϵå¿þ¾î
³×Æ®¿÷
RAID
°ÁÂ
ÀÚ·á
BMT
ÈÆÈÆ
ÆǸÅ
±¸¸Å
°ßÀû
ÇØ¿Ü
Ãâ¼®
¹Ù·Î
¹Ù·Î°¡±âÆíÁý
member_id
password
Auto
Login
ȸ¿ø°¡ÀÔ
¾ÆÀ̵ðã±â
¸ñ·Ï
¾²±â
¸ñ·Ï
º¸¾È Á¢±Ù ¾î¶»°Ô ÇØ¾ß ÇÒ±î¿ä? su ±ÇÇÑ ¹®Á¦
Çà¾Æ¹ü
2014-04
2014-04-28 15:17:49
Á¶È¸ 3731 Ãßõ 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
¾²±â
1558/5688
¹øÈ£
Á¦¸ñ
Page 1558/5688
±Û¾´ÀÌ
³¯Â¥
Á¶È¸
̵̧
(±¤°í) ´ÜÅë¹ý ½Ã´ëÀÇ ÀÎÅͳݰ¡ÀÔ °¡À̵å(ver2.0)
(228)
¹é¸Þ°¡
2015-12
1541819
25
(±¤°í) ´ÜÅë¹ý ½Ã´ëÀÇ ÀÎÅͳݰ¡ÀÔ °¡À̵å(¡¦
(228)
2015-12 1541819
1
¹é¸Þ°¡
[Çʵ¶] óÀ½ ¿À½Ã´Â ºÐÀ» À§ÇÑ ¾È³»
(728)
Á¤ÀºÁØ1
2014-05
5006036
0
[Çʵ¶] óÀ½ ¿À½Ã´Â ºÐÀ» À§ÇÑ ¾È³»
(728)
2014-05 5006036
1
Á¤ÀºÁØ1
82618
[ÇØ°á] HP DL350p G8 CPU ÀνĹ®Á¦ ¤Ì¤Ì
(8)
Æ丣¼¼¿ì½º
2018-11
3729
0
[ÇØ°á] HP DL350p G8 CPU ÀνĹ®Á¦ ¤Ì¤Ì
(8)
2018-11 3729
1
Æ丣¼¼¿ì½º
82617
ÀúÇ×.... ¹ß¿....
(9)
¹ÙºÎÆÃÀÌ
2020-07
3729
0
ÀúÇ×.... ¹ß¿....
(9)
2020-07 3729
1
¹ÙºÎÆÃÀÌ
82616
HP z600 ȸé Ãâ·ÂÀÌ ¾ÈµÇ´Â ¹®Á¦
(6)
¹é·æ
2019-06
3729
0
HP z600 ȸé Ãâ·ÂÀÌ ¾ÈµÇ´Â ¹®Á¦
(6)
2019-06 3729
1
¹é·æ
82615
dell raid ¹× backplane Áú¹®ÀÔ´Ï´Ù.
(8)
±¸Â÷´Ï
2019-08
3729
0
dell raid ¹× backplane Áú¹®ÀÔ´Ï´Ù.
(8)
2019-08 3729
1
±¸Â÷´Ï
82614
WOL ÆÐŶ Àü¼Û IP È®ÀÎ ¹æ¹ý °ü·Ã ¹®ÀÇ
(9)
Ascii
2021-12
3729
0
WOL ÆÐŶ Àü¼Û IP È®ÀÎ ¹æ¹ý °ü·Ã ¹®ÀÇ
(9)
2021-12 3729
1
Ascii
82613
¾Ë¸® ±¸¸Å Áú¹®
(4)
¾¾Çü
2015-01
3729
0
¾Ë¸® ±¸¸Å Áú¹®
(4)
2015-01 3729
1
¾¾Çü
82612
¼¹ö·¢ ºê·£µå Áú¹®
(20)
Memoria
2019-02
3729
0
¼¹ö·¢ ºê·£µå Áú¹®
(20)
2019-02 3729
1
Memoria
82611
¹º°¡ À̵溻 ±âºÐÀÔ´Ï´Ù.
(7)
°¼º¹Î
2016-02
3729
0
¹º°¡ À̵溻 ±âºÐÀÔ´Ï´Ù.
(7)
2016-02 3729
1
°¼º¹Î
82610
¼º¸¸ðÅÍ Áú¹® Á» µå¸±²²¿ä?
(5)
µþ±â´ëÀå
2019-02
3729
0
¼º¸¸ðÅÍ Áú¹® Á» µå¸±²²¿ä?
(5)
2019-02 3729
1
µþ±â´ëÀå
82609
cpu ijÆнÃÅÍ ¶³¾îÁ®µµ ÀÛµ¿µÇ³ª¿ä?
(4)
osthek83
2018-07
3729
0
cpu ijÆнÃÅÍ ¶³¾îÁ®µµ ÀÛµ¿µÇ³ª¿ä?
(4)
2018-07 3729
1
osthek83
82608
À©µµ¿ìÀÚüÀÇ spin, span±â´É°ú ¸ÞÀκ¸µå¿¡¼ Á¦°øÇÏ´Â raid±â´É°ú ºñ±³Çؼ Â÷ÀÌÁ¡¡¦
(2)
±è°Ç¿ì
2016-09
3729
0
À©µµ¿ìÀÚüÀÇ spin, span±â´É°ú ¸ÞÀκ¸µå¡¦
(2)
2016-09 3729
1
±è°Ç¿ì
82607
adaptec 71685 ·¹À̵å5 ¼¼Æà ¹®Àǵ帳´Ï´Ù.
(3)
¹Ì¼ö¸Ç
2014-04
3729
0
adaptec 71685 ·¹À̵å5 ¼¼Æà ¹®Àǵ帳´Ï´Ù.
(3)
2014-04 3729
1
¹Ì¼ö¸Ç
82606
´Ù¼öÀÇ ¾ÈÅ׳ª°¡ ÀåÂøµÈ °øÀ¯±âÀÇ ¾ÈÅ׳ª¸¦ Çϳª¸¸ ¿¬°á ÇÏ¿´À» °æ¿ìÀÇ ¹ß»ý°¡´ÉÇÑ ¡¦
(2)
¹Ú¹®Çü
2016-01
3729
0
´Ù¼öÀÇ ¾ÈÅ׳ª°¡ ÀåÂøµÈ °øÀ¯±âÀÇ ¾ÈÅ׳ª¡¦
(2)
2016-01 3729
1
¹Ú¹®Çü
82605
ÇöÁ¸ »çÁøÀÌ °¡Àå Àß³ª¿À´Â °¡¼ººñ ÆùÀº ¹¹°¡ ÀÖÀ»±î¿ä?
(24)
¸Ó¸®°¨ÀÚ
2019-04
3729
0
ÇöÁ¸ »çÁøÀÌ °¡Àå Àß³ª¿À´Â °¡¼ººñ ÆùÀº ¡¦
(24)
2019-04 3729
1
¸Ó¸®°¨ÀÚ
82604
ip ¿ìȸ À¯Æ¿ ÃßõÇØÁÖ¼¼¿ä
(4)
¹Ì¼ö¸Ç
2014-03
3729
0
ip ¿ìȸ À¯Æ¿ ÃßõÇØÁÖ¼¼¿ä
(4)
2014-03 3729
1
¹Ì¼ö¸Ç
82603
amd opteron 6378*2 cpu ¼º´É ¾î¶²°¡¿ä???
(5)
´ÙºÀÀÌ
2017-06
3729
0
amd opteron 6378*2 cpu ¼º´É ¾î¶²°¡¿ä???
(5)
2017-06 3729
1
´ÙºÀÀÌ
82602
Z620 SAS HDD ÀνĹ®Á¦ - ¿øÀÎ찿¾Ò½À´Ï´Ù
(6)
drezip
2020-03
3729
0
Z620 SAS HDD ÀνĹ®Á¦ - ¿øÀÎ찿¾Ò¡¦
(6)
2020-03 3729
1
drezip
82601
Àü¿¡ DL380 G5 °Ç°ú °ü·ÃÇÑ Ã³¸® ³»¿ëÀÔ´Ï´Ù.
(4)
±è¿µ±â´ëÀü
2014-01
3729
0
Àü¿¡ DL380 G5 °Ç°ú °ü·ÃÇÑ Ã³¸® ³»¿ëÀÔ´Ï¡¦
(4)
2014-01 3729
1
±è¿µ±â´ëÀü
82600
³×Æ®¿öÅ© Çãºê¸¦ ÅëÇϸé ȸ½ÅÀÌ ¾î¶»°Ô µÉ±î¿ä?
(3)
¾Æ¸£ÄÚ
2015-11
3729
0
³×Æ®¿öÅ© Çãºê¸¦ ÅëÇϸé ȸ½ÅÀÌ ¾î¶»°Ô µÉ¡¦
(3)
2015-11 3729
1
¾Æ¸£ÄÚ
82599
Z840 µå·¡°ïº¼ Á¶ÇÕ ¹®ÀÇ
(8)
CPU4
2019-09
3730
0
Z840 µå·¡°ïº¼ Á¶ÇÕ ¹®ÀÇ
(8)
2019-09 3730
1
CPU4
1551
1552
1553
1554
1555
1556
1557
1558
(current)
1559
1560
1556
1557
1558
(current)
1559
1560
¸ñ·Ï
¾²±â
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