O'Reilly logo

Wicked Cool Ruby Scripts by Steve Pugh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding a User

Adding a User

addUser.rb

Since the advent of GUIs, adding users to Unix and Linux systems has become much easier. You fill out the boxes, click Add, and you're done. Before GUIs, and still too often today, system administrators had to manually create each user account on a system.

While the task of manually creating user accounts for small organizations can be trivial, big businesses with thousands of users are a different story. Manually inputting account information into a computer system for 1,000 users is time consuming, tedious, and, most importantly, a waste of human productivity. This script automates the addition of user accounts to a system.

Warning

This script is platform dependent, so ensure that your systems are compatible ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required