Results 1 to 3 of 3
hi
I am using this workaround maybe someone has a better a idea but this is What I am doing creating multiples users scripting
I got a text file name ...
- 11-13-2009 #1Just Joined!
- Join Date
- Dec 2006
- Posts
- 21
multiples users from text file scripted
hi
I am using this workaround maybe someone has a better a idea but this is What I am doing creating multiples users scripting
I got a text file name users
users text file
userid Description
and I am using this script to create the users and assign a DescriptionCode:mmaria Accounting Department lana Production Department
but the command useradd is not doing anything not adding users neitehr description
please some ideasCode:while IFS= read -r l1 l2 l3 do useradd -c "$l2 $l3" $l1 done <users
thanks a lot
- 11-17-2009 #2Just Joined!
- Join Date
- Aug 2005
- Posts
- 65
does this solve ur problem ?Code:while read -r l1 l2 l3 do useradd -c "$l2 $l3" $l1 done <users
- 11-17-2009 #3Just Joined!
- Join Date
- Dec 2006
- Posts
- 21


Reply With Quote
