Trịnh Thị Hòa
New member
How do I change user in Linux?
Answer
To change it, you’ll need to make use of
the usermod command
. Step 1: Gain Root in the terminal with sudo -s or su, to modify your username. Step 2: Run the usermod command below, and replace newlogin and oldlogin. Newlogin should be the new username you’d like to have, and oldlogin should be the old one.
Answer
To change it, you’ll need to make use of
the usermod command
. Step 1: Gain Root in the terminal with sudo -s or su, to modify your username. Step 2: Run the usermod command below, and replace newlogin and oldlogin. Newlogin should be the new username you’d like to have, and oldlogin should be the old one.