ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/CCSAdmin/adduser.sh
(Generate patch)

Comparing CCSAdmin/adduser.sh (file contents):
Revision 572 by douglas, 2005-09-25T17:43:17-07:00 vs.
Revision 583 by douglas, 2005-11-21T12:56:05-08:00

# Line 24 | Line 24 | uidNumber: $ID
24   gidNumber: $ID
25   homeDirectory: /home/$USER
26   userPassword: `$slappasswd -T $FILE`
27 < ucsbCcsFreebsd: /usr/local/bin/bash
28 < ucsbCcsLinux: /bin/bash
29 < ucsbCcsDarwin: /bin/bash
27 > $SHELLS
28   sambaPwdLastSet: `$date '+%s'`
29   sambaAcctFlags: [U          ]
30   sambaSID: S-1-5-21-3739982181-3886045993-82308153-$ID
# Line 44 | Line 42 | EOF
42  
43   $ldapmodify -D "uid=root,ou=People,$BASE" -x -y $SECRET <<<"`$ldapsearch -b \
44          "ou=Group,$BASE" -LLL 'cn=wheel' | $sed -e "s/^$/memberUid: $USER/"`"
45 + $ldapmodify -D "uid=root,ou=People,$BASE" -x -y $SECRET <<<"`ldapsearch -b \
46 +        "ou=Group,$BASE" -LLL 'cn=wheel' | $sed -e "s/^$/memberUid: $USER/"`"
47  
48   $smbpasswd -s $USER

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines