ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/CCSAdmin/chfn.sh
Revision: 562
Committed: 2005-08-27T21:46:39-07:00 (19 years, 10 months ago) by douglas
Content type: text/x-sh
Original Path: CCSAdmin/passwd.sh
File size: 333 byte(s)
Log Message:
Moo!

File Contents

# User Rev Content
1 douglas 562 #!/usr/local/bin/bash
2     # Douglas Thrift
3     #
4     # CCS Computer Science
5     #
6     # Password Change
7    
8     LDAPPASSWD='/usr/local/bin/ldappasswd'
9     SMBPASSWD='/usr/local/bin/smbpasswd'
10    
11     BASE='dc=ccs,dc=ucsb,dc=edu'
12     SECRET='/ccs/etc/secret'
13    
14     $LDAPPASSWD -D "uid=root,ou=People,$BASE" -T $FILE -x -y $SECRET \
15     "uid=$USER,ou=People,$BASE"
16     $SMBPASSWD -s $USER

Properties

Name Value
svn:executable *