Results 1 to 2 of 2
anyone have some algorithm or any insight on adding user1/user2/usern to machin1/machin2/machinN etc
basically need to ssh to each box as root.
useradd etc. visudo,
add user to group.
logout ...
- 08-19-2008 #1Just Joined!
- Join Date
- May 2006
- Posts
- 1
add multiple users to multiple machines with visudo
anyone have some algorithm or any insight on adding user1/user2/usern to machin1/machin2/machinN etc
basically need to ssh to each box as root.
useradd etc. visudo,
add user to group.
logout as root.
test login as that user.
test sudo access.
if anyone has any comments ...
- 08-20-2008 #2Linux Newbie
- Join Date
- Jul 2008
- Posts
- 181
Since visudo is interactive, this is going to be very difficult. If you were to edit sudoers with sed or a similar tool, the job would be much easier.


Reply With Quote