home directories

Adam Rose adamr at eaze.net
Tue Feb 20 08:55:34 PST 2001


Ivan, 

For backup purposes and current directory management, I need to put the
home directories in the following format:

/home/<first_letter_of_username>/$username.

The code I am using is the following:

$dir = "/home/" . (split(//,$username))[0] . "/$username";

using your default useradd command.

Freeside keeps giving me compilation errors.

I first tried adding this to the shellmachine-useradd and then editing the
svc_acct.pm with no luck.

Any guidance you have is greatly appreciated.


-- 
Adam Rose
Systems Programmer/Jr. Systems/Network Administrator
adamr at eaze.net







More information about the freeside-users mailing list