...
Code Block | ||
---|---|---|
| ||
cd ~ cp /etc/passwd ./passwd.2012.08.12.v0.0.tpham.bck # Make a backup first. vi /etc/passwd # Edit the file with vi or whatever is your favourite editor. |
We also need to change the environment home folder,
Code Block | ||
---|---|---|
| ||
echo "HOME=$PWD" > .profile |
Verify that serveradmin can log in,
...