Home | Data Center | Contact US | Login

Á¦¸ñ su ¸í·É Á¦ÇÑÇϱâ
ÀÛ¼ºÀÏ 2006-10-31 10:47:37

ÀϹݻç¿ëÀÚµéÀÌ ¼öÆÛÀ¯Àú°èÁ¤À¸·Î º¯°æÀ» ÇÏ·Á¸é su¶ó´Â ¸í·É¾î¸¦ ¾²°ÔµÈ´Ù.

 

¸¸¾à su¸í·ÉÀ» ¸î¸î »ç¶÷µé¿¡°Ô¸¸ ¾µ¼ö ÀÖ°Ô ÇÏ·ÁÇÑ´Ù¸é ´ÙÀ½°ú °°ÀÌÇÏ¸é µÈ´Ù.

]# vi /etc/pam.d/su

#%PAM-1.0
auth       sufficient   /lib/security/pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel" group.
#auth       sufficient   /lib/security/pam_wheel.so trust use_uid
# Uncomment the following line to require a user to be in the "wheel" group.
#auth       required     /lib/security/pam_wheel.so use_uid               => ÁÖ¼®À» Á¦°ÅÇÑ´Ù.
auth       required     /lib/security/pam_stack.so service=system-auth
account    required     /lib/security/pam_stack.so service=system-auth
password   required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_stack.so service=system-auth
session    optional     /lib/security/pam_xauth.so

À§ ¼³Á¤Àº wheel ±×·ì¿¡ ¼ÓÇÑ »ç¿ëÀڵ鸸ÀÌ su ¸í·ÉÀ» ¾µ¼ö ÀÖ´Ù´Â °ÍÀ» ¸»ÇÑ´Ù.

wheelÀº ÀÌ·¯ÇÑ ¸ñÀûÀ¸·Î »ç¿ëµÉ ¼ö Àִ Ưº°ÇÑ °èÁ¤ÀÌ´Ù. µû¶ó¼­ wheel ÀÌ¿ÜÀÇ ±×·ìÀº À§¿Í°°ÀÌ »ç¿ëµÉ ¼ö¾ø´Ù. 

À§ ¼³Á¤¿¡¼­ wheel ±×·ì¿¡ ¼ÓÇÑ »ç¶÷¸¸ÀÌ su ¸í·ÉÀ» »ç¿ëÇÒ ¼öÀÖ°Ô ÇßÀ¸¹Ç·Î su ¸í·ÉÀ» ½á¾ßÇÏ´Â °èÁ¤ÀÌ ÀÖ´Ù¸é wheel ±×·ì¿¡ Ãß°¡½ÃÄÑ ÁÖ¾î¾ßÇÑ´Ù. ¸¸¾à in4mania ¶ó´Â °èÁ¤À» wheel ±×·ìÀ¸·Î Ãß°¡ÇÏ·Á¸é ´ÙÀ½°ú °°ÀÌÇÑ´Ù.

´ÙÀ½ ¸í·É¿¡¼­ G´Â ±×·ìÀ» ³ªÅ¸³»¸ç, 10Àº wheel ¿¡ ÇØ´çÇÏ´Â °ªÀÌ´Ù.

]# usermod -G10 in4mania

 

Ãâó ¸®´ª½ºº£ÀÌ

  PHP º¸¾È¼³Á¤
  LINUX SYSTEM Á¡°Ë Åø





ȸ»ç¼Ò°³ °³ÀÎÁ¤º¸Ãë±Þ¹æħ ÀÌ¿ë¾à°ü À̸ÞÀÏÁÖ¼Ò ¹«´Ü¼öÁý°ÅºÎ CONTACT US IDC ¾àµµ
ȸ»ç¼Ò°³ °³ÀÎÁ¤º¸Ãë±Þ¹æħ ÀÌ¿ë¾à°ü À̸ÞÀÏÁÖ¼Ò ¹«´Ü¼öÁý°ÅºÎ CONTACT US IDC ¾àµµ ȸ»ç¼Ò°³ °³ÀÎÁ¤º¸Ãë±Þ¹æħ ÀÌ¿ë¾à°ü À̸ÞÀÏÁÖ¼Ò ¹«´Ü¼öÁý°ÅºÎ CONTACT US IDC ¾àµµ