[NTLUG:Discuss] create a newuser's template file/scriipt?
m m
llliiilll at hotmail.com
Wed Jan 23 14:27:21 CST 2002
>From: MadHat <madhat at unspecific.com>
>>>From: MadHat <madhat at unspecific.com>
>>>>it will
>>>>automatically do the followings:
>>>>
>>>>set group id as: wrokgroup
>>
>>I also try the GROUPID=600 (600 is workgroup's #, it does not work)
>
>What was the rest of this? What exactly did you type?
>
this is my /etc/defaullt/useradd file.
# useradd defaults file
GROUP=500
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/bash
SKEL=/etc/skel
QUOTAUSER="sk"
in etc/password there is a line:
workgroup:x:500:500:/bin/.....
I do have a user sk which have quota limitation.
is QUOTAUSER="sk" line right?
>
>>>>quato is limited: 5 MB
>>>>automatic create sub directory: temp
>>>>this sub directory with permission: 757
>>>>
>>>>I know I can put the parameter, but should have a better.
>>>
>>>OK, for the Quota, edit the file /etc/adduser.conf or
>>>/etc/default/useradd
>>>you should be able to add a line that says
>>>QUOTAUSER="USER"
>>
>>Not quite understand. Is USER one of existing user who have quota set?
>
>Yes. That is correct.
>
>
>--
>MadHat at unspecific.com
>
>
>_______________________________________________
>http://www.ntlug.org/mailman/listinfo/discuss
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
More information about the Discuss
mailing list