The home directories are definitely created when running adduser.  As for
the kde stuff all the files in the /etc/skel directory are copied into the
users home directory when you do an adduser.  I usually modify a few of
those files so that the users have some common aliases setup (mail = pine,
etc).

I wrote a C program that parses a text file of user names you want to add.
It goes through the list, creates the user, and then generates a random
password, does a passwd on that user with the new password, and then writes
a comma delimited file for the admin containing the user name and password.
Makes it real easy to bulk create a bunch of user accounts and give them a
unique random password.

Id be happy to post the source on my web site and place a link here for
those interested.  Its nothing fancy.

Mike
[EMAIL PROTECTED]

----- Original Message -----
From: John Aldrich <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 06, 1999 2:52 PM
Subject: Re: [expert] Any different adduser scripts out there?


> On Wed, 06 Oct 1999, you wrote:
> > The subject line says it all...got a greenhorn that will be adding users
> > to a machine and adduser <username> then passwd <username> then go and
> > create their home dir's etc just will be to much for them to comprehend.
> >
> > anything like a BSD adduser? I did a search of rpmfind and dug through
> > contrib.redhat.com but didnt find anything...but I most probably could
> > have missed it.
> >
> AFAIK, you won't need to create the home directories.... I
> just did a test here and created a user (I was in a Konsole
> window) and when I did "adduser" and "passwd user" it
> created the directory complete with all the KDE stuff!
> John

Reply via email to