source: trunk/debathena/config/cluster-login-config/debian/athena-root-password @ 24162

Revision 24162, 249 bytes checked in by broder, 14 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
5pfile=/afs/athena.mit.edu/system/config/passwd/athena10/rootpw
6if [ -r $pfile ]; then
7    pw=$(cat $pfile)
8    if [ -n "$pw" ]; then
9        usermod -p "$pw" root
10    fi
11fi
Note: See TracBrowser for help on using the repository browser.