Creating users: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 7: | Line 7: | ||
- WARNING: Blank lines in the file causes severe problems! | - WARNING: Blank lines in the file causes severe problems! | ||
- Feed your input fileinto makeManyUsers.pl<br /> | - Feed your input fileinto makeManyUsers.pl<br /> | ||
- Using this syntax: | - 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. | - 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. | - ID should start with the last ID in /etc/passwd on sammett, plus one. | ||
- Send password.out to whoever needs it.<br /> | - Send password.out to whoever needs it.<br /> |
Revision as of 16:42, 10 September 2014
Creating Users
- 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.