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

Revision 23175, 246 bytes checked in by ghudson, 16 years ago (diff)
Add a new package debathena-cluster-login-config to configure the login and screensaver policy on cluster 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.