ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/CCSAdmin/passwd.sh
Revision: 566
Committed: 2005-08-28T22:29:20-07:00 (19 years, 10 months ago) by douglas
Content type: text/x-sh
File size: 285 byte(s)
Log Message:
Worky!

File Contents

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

Properties

Name Value
svn:executable *