How to change user information such as full name from the command prompt.

To change the full name and other information stored for a certain user, the chfn command will come in handy. This allows a system administrator to change the data with a simple command. In this example, I am changing the full name of a Linux user. root@darkstar:~# chfn -f "Jason Smith" jasonroot@darkstar:~# chfn -f "Jason … Read more

How to change the shell for a user on a Linux system easily with the usermod command.

I recently created a new user with the adduser command. homer@deusexmachina:~/Documents$ sudo adduser jimkirk Adding user `jimkirk’ … Adding new group `jimkirk’ (1002) … Adding new user `jimkirk’ (1002) with group `jimkirk’ … Creating home directory `/home/jimkirk’ … Copying files from `/etc/skel’ … Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully … Read more

How to edit user accounts on Linux Mint with the usermod command.

The usermod command offers the Linux user the ability to edit user accounts or lock out a user as well as changing the users login shell. Here I am editing the comment about the user “hoshi”. adeptus-mechanicus ~ # usermod -c "New user" hoshiadeptus-mechanicus ~ # usermod -c "New user" hoshi This command parameter changes … Read more