Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Changing the name of a user on linux
- In this example, jjoplin becomes hilst
- # cd /etc
- # grep jjoplin * | cut -f1 -d: | while read f; do sed -e "s/jjoplin/hilst/g" -i $f; done
- # cd /home
- # mv jjoplin hilst
- # su - hilst
Advertisement
Add Comment
Please, Sign In to add comment