Skip navigation
³»¿ë¾ø½¿
¹Ù·Î°¡±âÆíÁý
ÀÚÀ¯°Ô½ÃÆÇ
ÇÑÁÙ
QnA
Job
Life
¾÷üȫº¸
DIY
¾ð¹Ú½Ì
NAS
µö·¯´×
°¡»óÈ
Çϵå¿þ¾î
³×Æ®¿÷
RAID
°ÁÂ
ÀÚ·á
BMT
ÈÆÈÆ
ÆǸÅ
±¸¸Å
°ßÀû
ÇØ¿Ü
Ãâ¼®
¹Ù·Î
¹Ù·Î°¡±âÆíÁý
member_id
password
Auto
Login
ȸ¿ø°¡ÀÔ
¾ÆÀ̵ðã±â
¸ñ·Ï
¾²±â
¸ñ·Ï
º¸¾È Á¢±Ù ¾î¶»°Ô ÇØ¾ß ÇÒ±î¿ä? su ±ÇÇÑ ¹®Á¦
Çà¾Æ¹ü
2014-04
2014-04-28 15:17:49
Á¶È¸ 3698 Ãßõ 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
¾²±â
1530/5688
¹øÈ£
Á¦¸ñ
Page 1530/5688
±Û¾´ÀÌ
³¯Â¥
Á¶È¸
̵̧
[Çʵ¶] óÀ½ ¿À½Ã´Â ºÐÀ» À§ÇÑ ¾È³»
(728)
Á¤ÀºÁØ1
2014-05
4999511
0
[Çʵ¶] óÀ½ ¿À½Ã´Â ºÐÀ» À§ÇÑ ¾È³»
(728)
2014-05 4999511
1
Á¤ÀºÁØ1
(±¤°í) ´ÜÅë¹ý ½Ã´ëÀÇ ÀÎÅͳݰ¡ÀÔ °¡À̵å(ver2.0)
(228)
¹é¸Þ°¡
2015-12
1535334
25
(±¤°í) ´ÜÅë¹ý ½Ã´ëÀÇ ÀÎÅͳݰ¡ÀÔ °¡À̵å(¡¦
(228)
2015-12 1535334
1
¹é¸Þ°¡
83161
³òºÏ ºÎÆà ¹®Á¦...
(8)
¸®¸®µ¿
2019-08
3695
0
³òºÏ ºÎÆà ¹®Á¦...
(8)
2019-08 3695
1
¸®¸®µ¿
83160
Ŭ¶ó¿ìµå VM »ç¿ë½Ã ¹°¸®Àû Çϵåµð½ºÅ© ¿À·ù °¡´É¼º
(2)
¹é¸¸½º¹°Çϳª
2016-08
3695
0
Ŭ¶ó¿ìµå VM »ç¿ë½Ã ¹°¸®Àû Çϵåµð½ºÅ© ¿À¡¦
(2)
2016-08 3695
1
¹é¸¸½º¹°Çϳª
83159
¿Ö pcÀÇ ÄÉÀ̽º´Â ¼è·Î µÇ¾îÀÖÀ»±î¿ä?
(14)
AplPEC
2020-06
3695
0
¿Ö pcÀÇ ÄÉÀ̽º´Â ¼è·Î µÇ¾îÀÖÀ»±î¿ä?
(14)
2020-06 3695
1
AplPEC
83158
DDR4 ·¥ ¼±Åà Áú¹®µå·Á¿ä
(4)
³×ÀÌÃÄ
2017-11
3695
0
DDR4 ·¥ ¼±Åà Áú¹®µå·Á¿ä
(4)
2017-11 3695
1
³×ÀÌÃÄ
83157
°ü¸®½ºÀ§Ä¡ ¼±ÅÃ
(4)
±èÀºÈ£
2016-09
3695
0
°ü¸®½ºÀ§Ä¡ ¼±ÅÃ
(4)
2016-09 3695
1
±èÀºÈ£
83156
¹«¼±¸¶¿ì½º ¾î¶²Á¦Ç° »ç¿ëÇϽóª¿ä?
(4)
ÇÏ´ÃÇÏ´Ã
2016-01
3695
0
¹«¼±¸¶¿ì½º ¾î¶²Á¦Ç° »ç¿ëÇϽóª¿ä?
(4)
2016-01 3695
1
ÇÏ´ÃÇÏ´Ã
83155
°¡»óÈÆó Á¾·ù°¡ ¸¹³×¿ä.
(3)
À¸¶óÂ÷Â÷Â÷
2017-07
3695
2
°¡»óÈÆó Á¾·ù°¡ ¸¹³×¿ä.
(3)
2017-07 3695
1
À¸¶óÂ÷Â÷Â÷
83154
[¹®ÀÇ] T7400+RX580-4G°¡´ÉÇÑÁö¿ä???
(6)
jedius
2019-01
3695
0
[¹®ÀÇ] T7400+RX580-4G°¡´ÉÇÑÁö¿ä???
(6)
2019-01 3695
1
jedius
83153
pfSense ¶ó¿ìÅÍ »ç¿ëÀÚ ÀÔ´Ï´Ù
(2)
ÁÒ½´¾Æ
2015-08
3695
0
pfSense ¶ó¿ìÅÍ »ç¿ëÀÚ ÀÔ´Ï´Ù
(2)
2015-08 3695
1
ÁÒ½´¾Æ
83152
Àü¾ÐÀÌ Ç×»ó Ç¥½ÃµÇ´Â ¸ÖƼÅÇÀº ¾øÀ»±î¿ä?
(4)
¹Ì¼ö¸Ç
2017-04
3695
0
Àü¾ÐÀÌ Ç×»ó Ç¥½ÃµÇ´Â ¸ÖƼÅÇÀº ¾øÀ»±î¿ä?
(4)
2017-04 3695
1
¹Ì¼ö¸Ç
83151
NginxÀÇ ÆÛ¸Ó¸µÅ© °ü·Ã Áú¹® ¶Ç Çϳª µå¸³´Ï´Ù.
Áö´Ïº¸ÀÌ
2016-08
3695
0
NginxÀÇ ÆÛ¸Ó¸µÅ© °ü·Ã Áú¹® ¶Ç Çϳª µå¸³¡¦
2016-08 3695
1
Áö´Ïº¸ÀÌ
83150
À©µµ¿ì8¿¡¼ ¸ð´ÏÅÍ µå¶óÀ̹ö°¡ ¾ÈÀâÈ÷³×¿ä.
(2)
±è°Ç¿ì
2015-03
3696
0
À©µµ¿ì8¿¡¼ ¸ð´ÏÅÍ µå¶óÀ̹ö°¡ ¾ÈÀâÈ÷³×¡¦
(2)
2015-03 3696
1
±è°Ç¿ì
83149
keylemon(¾ó±¼ÀνĿë(À¯·á/¹«·á) ÇÁ·Î±×·¥)ÀÌ ´Ù¿î·Îµå ¾ÈµÇ³×¿ä. ´Ù¸¥°Å ÀÖÀ»±î¿ä?
(2)
±è°Ç¿ì
2018-02
3696
0
keylemon(¾ó±¼ÀνĿë(À¯·á/¹«·á) ÇÁ·Î±×·¥¡¦
(2)
2018-02 3696
1
±è°Ç¿ì
83148
¸í·É¾î Ç¥½Ã°¡ µÇÁö¾Ê³×¿ä...
(15)
Á¦¶óÅõ·ê
2015-01
3696
0
¸í·É¾î Ç¥½Ã°¡ µÇÁö¾Ê³×¿ä...
(15)
2015-01 3696
1
Á¦¶óÅõ·ê
83147
ECC rdimm ddr4 ·¥¿ë ¸ÞÀκ¸µå Ãßõ ¿äû
(8)
grzlr
2022-11
3696
0
ECC rdimm ddr4 ·¥¿ë ¸ÞÀκ¸µå Ãßõ ¿äû
(8)
2022-11 3696
1
grzlr
83146
PCIE X 1 ½½·Ô¿¡ 10G ·£Ä«µå °¡¿ëÇÒÁö...
(16)
¹«¹ýÀÚ
2022-12
3696
0
PCIE X 1 ½½·Ô¿¡ 10G ·£Ä«µå °¡¿ëÇÒÁö...
(16)
2022-12 3696
1
¹«¹ýÀÚ
83145
°¡ºñ¾Æ¿¡¼ ´ÙÀ½Ä«Æä ¿¬°á °ü·Ã
(3)
°Ã¢È£
2016-03
3696
0
°¡ºñ¾Æ¿¡¼ ´ÙÀ½Ä«Æä ¿¬°á °ü·Ã
(3)
2016-03 3696
1
°Ã¢È£
83144
WOL ÆÐŶ Àü¼Û IP È®ÀÎ ¹æ¹ý °ü·Ã ¹®ÀÇ
(9)
Ascii
2021-12
3696
0
WOL ÆÐŶ Àü¼Û IP È®ÀÎ ¹æ¹ý °ü·Ã ¹®ÀÇ
(9)
2021-12 3696
1
Ascii
83143
¹°¸®ÀûÇÏµå º¹±¸¾÷ü ÃßõºÎŹÇÕ´Ï´Ù.
(12)
ÀÌÁ¾¼Û1
2018-08
3696
0
¹°¸®ÀûÇÏµå º¹±¸¾÷ü ÃßõºÎŹÇÕ´Ï´Ù.
(12)
2018-08 3696
1
ÀÌÁ¾¼Û1
83142
Ȥ½Ã iptime..
(6)
ȲÁø¿ì
2016-01
3696
0
Ȥ½Ã iptime..
(6)
2016-01 3696
1
ȲÁø¿ì
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
(current)
1526
1527
1528
1529
1530
(current)
¸ñ·Ï
¾²±â
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