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
*
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | # Sets the Athena root password based on a hashed value stored in AFS. |
---|
4 | |
---|
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 |
---|
10 | fi |
---|
11 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.