Revision 24162,
249 bytes
checked in by broder, 15 years ago
(diff) |
In cluster-login-config:
* Revert 1.16; set the root password for both quickstation and
non-quickstation machines.
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[23175] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | # Sets the Athena root password based on a hashed value stored in AFS. |
---|
| 4 | |
---|
[24162] | 5 | pfile=/afs/athena.mit.edu/system/config/passwd/athena10/rootpw |
---|
| 6 | if [ -r $pfile ]; then |
---|
| 7 | pw=$(cat $pfile) |
---|
| 8 | if [ -n "$pw" ]; then |
---|
| 9 | usermod -p "$pw" root |
---|
[24057] | 10 | fi |
---|
[23175] | 11 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.