Advertisement

07.03.2006 at 09:34PM PDT, ID: 21907408
[x]
Attachment Details

Auto User Creating Linux Script

Asked by Dushan911 in Linux Programming

Tags: linux, script

Hi Experts,
I want Linux Script with following specifications.
*Create Linux users.
      usernames, passwords, home directories are in a seperate CSV (comma seperated file)configuration file. When I run the script, automatically users should created acording to the configuration file.

 Configuration file will looks as follows:
------------------------------------------------
   user1, password1, homedir1
   user2, password2, homedir2
   user3, password3, homedir3
-------------------------------------------------
(And if possible when I enter only the user name, password should automatically sets to the reverse word of the username , eg: 1resu)

And if users are already exist, then no need to create it again and after the script is over output(mentioning whether users have created or not) errors/details should write to a log file.

I would greatly appreciate your help.

Best Regards,
DushanStart Free Trial
[+][-]07.03.2006 at 10:48PM PDT, ID: 17035118

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.04.2006 at 12:03AM PDT, ID: 17035347

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.04.2006 at 12:57AM PDT, ID: 17035511

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.04.2006 at 01:17AM PDT, ID: 17035582

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.04.2006 at 01:22AM PDT, ID: 17035602

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.04.2006 at 01:57AM PDT, ID: 17035749

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Linux Programming
Tags: linux, script
Sign Up Now!
Solution Provided By: yuzh
Participating Experts: 5
Solution Grade: A
 
 
[+][-]07.04.2006 at 11:37PM PDT, ID: 17040452

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.05.2006 at 03:21PM PDT, ID: 17046825

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32