Creating users: Difference between revisions

From CSLLabWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
== Creating Users ==
== Creating Users ==
- Create file in this format: <br />
- Create file in this format: <br />
- WARNING: Blank lines in the file cause problems.
- username        Real name <br />
username        Real name <br />
- (spaces between first / last name, tab between user / real)
- WARNING: Blank lines in the file causes severe problems!
- Go to Sammett, grep through /etc/passwd to make sure that your users don't already exist.<br />
- Go to Sammett, grep through /etc/passwd to make sure that your users don't already exist.<br />
- Go to Babbage, find /Admin/makeManyUsers.pl<br />
- Go to Babbage, find /Admin/makeManyUsers.pl<br />

Revision as of 15:43, 8 September 2014

Creating Users

- Create file in this format:
- username Real name
- (spaces between first / last name, tab between user / real) - WARNING: Blank lines in the file causes severe problems! - Go to Sammett, grep through /etc/passwd to make sure that your users don't already exist.
- Go to Babbage, find /Admin/makeManyUsers.pl
- Feed your input fileinto makeManyUsers.pl
- Using this syntax: perl ./makeManyUsers.pl newUsers 13757 100 - This creates users with the real and usernames from the file newUsers, starting with ID 13757 (and incrementing up), in the usergroup 100.

- Send password.out to whoever needs it.