Paul Branston wrote: > A little more generic in case there is no usermod -p > > PASSWORD=$(echo "my_new_password" | encrypt -b 6) > perl -p -i.bk -e 's/^root:.*?:/root:$PASSWORD:/' /etc/shadow
Wow, Question: are you even using OpenBSD? -Bryan.
Paul Branston wrote: > A little more generic in case there is no usermod -p > > PASSWORD=$(echo "my_new_password" | encrypt -b 6) > perl -p -i.bk -e 's/^root:.*?:/root:$PASSWORD:/' /etc/shadow
Wow, Question: are you even using OpenBSD? -Bryan.