On Wed, 6 Oct 1999, Mike Hill wrote:

>>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).

Yea I see that now. I jumped the gun a bit when I posted that orginal
message. There is nothing in the skel directory at the moment though.

What I'm basically doing is helping setup a private ISP for the
local school district. Three machines: mail/pop, web and radius auth
server.

I have the radius box and the mail/pop machine setup and running. I'm not
responsible for the NAS box or the web box.

What I was thinking of doing was using the radius box as the 'master' so
to speak where accounts will be created. Then scp the /etc/passwd file
over to the web and mail machines and use pwconv to update the
passwd/shadow files. I have a small perl script that I have used before to
create home dir's and such. People will be able to ftp into the web
machine and have their own pages there and the script created the home dir
and a public_html dir under that.

Only the radius machine does not use shadow password which I'm 
leary of with the permissions that are on the passwd file. Didnt install
the shadow package on the radius machine.

 I used cistron radius compiled from source and it uses the passwd file to
auth from. I guess I should use a radius that uses PAM? (can cistron be
patched?) Or is there a full RPM that I can use for that.

>>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.
>>

Would like to see it as at lease as once this stuff is setup I wont really
be involved. (at least till something breaks and it needs to be fixed)

Thanks,
Keith

Reply via email to