Am 27.01.10 18:14, schrieb Paul Branston:
A little more generic in case there is no usermod -pPASSWORD=$(echo "my_new_password" | encrypt -b 6) perl -p -i.bk -e 's/^root:.*?:/root:$PASSWORD:/' /etc/shadow
/etc/shadow: no such file
Am 27.01.10 18:14, schrieb Paul Branston:
A little more generic in case there is no usermod -pPASSWORD=$(echo "my_new_password" | encrypt -b 6) perl -p -i.bk -e 's/^root:.*?:/root:$PASSWORD:/' /etc/shadow
/etc/shadow: no such file