can anyone help me to find out this? I have task
In Linux
1. create a group called ftp. it already there ftp:50
2. open random passwd generator create set of users(5)
3. Fill it to excel 4. create a script for user creation
Test1 aX4aHaQI
Test2 tyI6LirH
Test3 kA7haDnI
Test4 Com0PixI
Test5 hY8EpoBA
--
!!!!!!!!!! RAMBO ROCKS !!!!!!!!!!!
With Warm Regards,
R.Ramkumar
HP : 9362888329
9941922430
U can simply do it in a for loop itself.
#!/bin/bash
for i in user1 user2 user3 user4 user5
do
useradd $i
gpasswd -a $i ftp
done
> --
> This site is used to share all the UNIX Admin (AIX, HP, Linux and Sun
> Solaris) day to day activities.
> **********************************************************************************************
> To post to this group, send email to roo...@googlegroups.com
> To unsubscribe from this group, send email to
> rootvg+un...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/rootvg?hl=en?hl=en
>
--
Thanks & Regards
A D Hemant Narayanan
Chnai,India
Ph.No : +99625 63393