Creating users: Difference between revisions

From CSLLabWiki
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Creating Users ==
== Creating Users ==
- Create file in this format:
- Go to Sammett, grep through /etc/passwd to make sure that your users don't already exist.<br />
username        Real name


- Go to Sammett, grep through /etc/passwd to make sure that your users don't already exist.
- Go to Babbage, find /root/Admin/makeManyUsers.pl<br />


- Go to Babbage, find /Admin/makeManyUsers.pl
- Create a file in this format: <br />


- Feed your input fileinto makeManyUsers.pl
- username        Real name <br />


- Send password.out to whoever needs it.
- (spaces between first / last name, space between user / real)
 
- WARNING: Blank lines in the file causes severe problems!
 
- Feed your input fileinto makeManyUsers.pl<br />
 
- Using this syntax: ./makeManyUsers.pl newUsers 1 100
 
- This creates users with the real and usernames from the file newUsers, starting with ID 1 (and incrementing up), in the usergroup 100.
 
- ID should start with the last ID in /etc/passwd on sammett, plus one.
 
- Send password.out to whoever needs it.<br />

Latest revision as of 16:43, 10 September 2014

Creating Users[edit]

- Go to Sammett, grep through /etc/passwd to make sure that your users don't already exist.

- Go to Babbage, find /root/Admin/makeManyUsers.pl

- Create a file in this format:

- username Real name

- (spaces between first / last name, space between user / real)

- WARNING: Blank lines in the file causes severe problems!

- Feed your input fileinto makeManyUsers.pl

- Using this syntax: ./makeManyUsers.pl newUsers 1 100

- This creates users with the real and usernames from the file newUsers, starting with ID 1 (and incrementing up), in the usergroup 100.

- ID should start with the last ID in /etc/passwd on sammett, plus one.

- Send password.out to whoever needs it.