How to use useradd in Solaris to add a user
You must be root (superuser) to add a user. An easy way to remember the syntax of the useradd command in Solaris is to run it with no options. Follow the resulting usage information including the parts that you require. Important options are:
-d home-directory-path
This is the [...]
Continue reading about Add a user from the command line in Solaris
These two scripts are very important for the system admin who regularly works with mail servers and somehow forgets to backup his system username and password! Let’s say somehow we lost the usernames and passwords of the mail server. In this case the admin has to manually create all the users and then change the [...]
Continue reading about Using Bash Script to Mass Create Users And Change Passwords
Q. How do I change the userid or Login name in Linux?
A. Use usermod command which modifies the system account files to reflect the changes that are specified on the command line.
You need to pass -l option as follows to usermod command:
usermod -l NEW_LOGIN_NAME old_login_name
Where,
-l : The name of the user will be [...]
Continue reading about How to change the userid or Login name in Linux
