stu nicholls dot com | menu - Professional dropdown #3

click here

Linux: Managing Users

Useradd :

Example: useradd vish -g test1 -u 573

usermod :

The usermod command enables you to change the values for any of these features. You can change the home directory or the user ID. You can even change the user name for the account.

userdel :

userdel command enables you to delete the user's login. In the next example, the user vish is removed from the system:

Example: userdel -r vish

Note: You can also add a new user to the system with the adduser utility. The Red Hat version of adduser takes as its argument the user name for the account you are creating. adduser has options similar to useradd.

Help on different commands:

Example: man useradd

Our aim is to provide information to the knowledge seekers. 

comments powered by Disqus
click here