Desktop Linux Forum Index Desktop Linux
A New Linux In Development
 
   ProfileProfile   Log in to check your private messagesLog in to check your private messages  |  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups Log inLog in   RegisterRegister 

User Creation Script

 
Post new topic   Reply to topic    Desktop Linux Forum Index -> Programs Box
View previous topic :: View next topic  
Author Message
Siberian Fox
Administrator
Administrator


Joined: 25 Oct 2007
Posts: 251
Location: Los Angeles, California

PostPosted: Fri Oct 26, 2007 6:18 pm    Post subject: User Creation Script Reply with quote

Here is the first script I created for use on the project. It is designed to create a user based on your input, would be most useful in a text based environment. Very simple, yet efficient. It was designed so that it could be heavily modified. I would appreciate any modifications to it.


Code:
#!/bin/bash
                echo Please, enter your firstname of the user to add.
                read FN
                useradd $FN
echo "User $FN has been added."
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Desktop Linux Forum Index -> Programs Box All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum