Bijit's Small World....
Monday, June 4, 2007
Shell Script
# Creating 50 users through a small script and setting their password as "password"
for x in {1..50}
do
useradd user$x; echo "password" (Place the Pipe symbol here)
passwd --stdin user$x
done
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment