How To Add New Username Using Default Password with OpenSSL in SuSE Linux Enterprise Server
Posted by Planet Malaysia on April 15, 2008
How To Add New Username Using Default Password with OpenSSL in SuSE Linux Enterprise Server
Creating a single or two username in SLES is simple job but creating 100 or 1000 new usernames in Linux using manual command line would be pain.
I would like to share about using OpenSSL for creating new username in SLES and probably work for other Linux distro as well.
#Create a default password using OpenSSL
openssl passwd -crypt mysecretpassword
#Example of password output
D4KtJYzzCtz3x
#Create a new username(e.g. myusername1, 2 & 3using default password)
useradd -m myusername1 -d /home/myusername1 -p D4KtJYzzCtz3x
useradd -m myusername2 -d /home/myusername2 -p D4KtJYzzCtz3x
useradd -m myusername3 -d /home/myusername3 -p D4KtJYzzCtz3x
Create add user script and add the example as above. Work Smart!
Possibly Related Posts:
- How to add Dell PERC Drivers into VMware Converter Cold Clone ISO
- Top 10 Free Anti Virus
- Microsoft SQL 2008 Agent not starts
- VMware Workstation 7 Serial Key
- WP Contact Form III – You do not have sufficient permissions to access this page Error
Comments
Leave a Reply