[NTLUG:Discuss] create a newuser's template file/scriipt?
MadHat
madhat at unspecific.com
Thu Jan 17 13:47:19 CST 2002
At 07:26 PM 1/17/2002 +0000, m m 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 you can do the group with
# useradd -D -g workgroup
if you are using the /etc/skel (it is used by default in most Linux
distributions) you can add the directory there and it will get installed
when a new user is created with the same perms it has there.
Looking for the quota thing, I can't remember.
>I know I can put the parameter, but should have a better.
>
>thanks.
>
>Thanks.
>
>
>
>_________________________________________________________________
>Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
>_______________________________________________
>http://www.ntlug.org/mailman/listinfo/discuss
--
MadHat at unspecific.com
More information about the Discuss
mailing list