[NTLUG:Discuss] create a newuser's template file/scriipt?
m m
llliiilll at hotmail.com
Thu Jan 17 21:52:18 CST 2002
Thanks MadHat.
from your words, it seems there is no way can do it at all unless you write
a shell script for it. I thought edit /ect/adduser.conf can do it.
I will try what you said. thanks.
>From: MadHat <madhat at unspecific.com>
>Reply-To: discuss at ntlug.org
>To: discuss at ntlug.org
>Subject: Re: [NTLUG:Discuss] create a newuser's template file/scriipt?
>Date: Thu, 17 Jan 2002 14:21:05 -0600
>
>At 07:26 PM 1/17/2002 +0000, you wrote:
>>could someone can give me a direction that every time I create a new user,
>>it will
>>automatically do the followings:
>>
>>set group id as: wrokgroup
>>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"
>
>and it will dup that use for all new users
>basically run a
>edquota -p USER newuser
>
>But I haven't tried it, so YMMV.
>
>
>
>--
>MadHat at unspecific.com
>
>
>_______________________________________________
>http://www.ntlug.org/mailman/listinfo/discuss
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
More information about the Discuss
mailing list