>> Edit article
이름
제목
패스워드
제가 넷킬러에서 받았던 메일에서 조금더 찾아 보았습니다. 보통 솔라리스의 경우 /usr/sbin/useradd abc 라고 하면 그룹이 other 로 설정 하면서 계정을 생성 합니다. 그렇지만 레드햇의 경우 /usr/sbin/useradd abc 라고 하면 그룹이 abc 로 해서 생성 됩니다. 그래서 이 부분이 어떤가 man 페이지를 뒤져 보다가 아래와 같이 알아 내어서 조금 적어봅니다. man 페이지를 보면 ... -n A group having the same name as the user being added to the system will be created by default. This option will turn off this Red Hat Linux specific behavior ... Changing the default values When invoked with the -D option, useradd will either display the current default values, or update the default values from the command line. The valid options are ... 의 내용이 있습니다. [root@host root]# /usr/sbin/useradd -D GROUP=100 HOME=/home INACTIVE=-1 EXPIRE= SHELL=/bin/bash SKEL=/etc/skel 이락고 나옵니다. [root@host root]# /usr/sbin/useradd abc -n 라고 하면 디폴트 그룹이 users 로 등록 됩니다. 참고 하면 좋을것 같아서 적어 봅니다.--전 윈도우 2000 관리자랍니다. 그렇지만 리눅서져.. :)
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved