adding home directories

Adam Rose adamr at eaze.net
Wed Feb 21 09:46:20 PST 2001


Ivan, 

I am having difficulties getting freeside to process the useradd command
on the shellmachine.

I know this is probably a ID10T mistake.

Changes made in svc_acct.pm:

$recref->{dir} = $1 ||
$dir_prefix . '/'. (split(//,$recref->{username}))[0] . '/'
. $recref->{username}

(for /home/<firstletter_of_username>/username)

Line is shellmachine-useradd:

/usr/sbin/useradd -d $dir -m -s $shell -u $uid $username

###

I've had ssh working before and have not change my setup.

Your help is greatly appreciated.

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






More information about the freeside-devel mailing list