- Log in using your username and password (username to be changed)
- Set a password for the root. Following will prompt for the new password.
sudo passwd root - Log out.exit
- Log in using the root account. Give the new password.
- If the user account of which the username is to be changed is still in use log out from that.
pkill -KILL -u username - Change the username and the home folder to the new user name.
usermod -l-d /home/ -m - Change the group name to the new group name that you want.
groupmod -n - Can check the group names using this.
groups - Better lock the root account.
- Log out from root and log in using the new username
- Done!
Showing posts with label OS. Show all posts
Showing posts with label OS. Show all posts
Changing the username in Ubuntu/ Linux
4 ways to boot/install Windows 7 USB - With or without additional tools
I have been searching for ways to install a Windows key into my USB so that I could install windows 7 without using a DVD-ROM. This article is the best, simplest and the effective one I found so far. It gives 4 ways to convert your flash drive to a bootable media with additional tools or just the command line. Hope it helps y'all.
Subscribe to:
Posts (Atom)