LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-10-2003, 08:43 PM   #1
NightWolf_NZ
LQ Newbie
 
Registered: Sep 2003
Location: New Zealand
Distribution: Suse Pro 9.1
Posts: 5

Rep: Reputation: 0
Question Help on Administrative Utility (adding users & data from input file)


Well my problem is this and maybe I should have posted this under programming but neways.

I need to write a shell (bourne) script that adds a group of users and their respective data to a system from an input (text) file.

The data in the file named userlist, for example, will have records stored like this:
username : password : groupname : fullname

with fullname of course being allowed to have blank space for neatness.
I also have to show basic help commands / prompts if a user doesn't put in the right parameters or whatever, and I want to add -h so that when a user runs this program with this flag / switch it will output detailed information about the program & userlistfile structure.

Can anyone help me with this? Pretty Please!?!
It would be muchly appreciated

Last edited by NightWolf_NZ; 09-10-2003 at 08:45 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to delete hda1 data & File system gardenair Linux - Newbie 1 03-25-2005 08:00 AM
Can't add new users from an input file hindll01 Programming 4 09-07-2004 07:32 PM
Find File broken, need search utility, where does WineX install, KDE file roller? Ohmn Mandriva 6 07-05-2004 10:34 PM
ran out of input data? Sn1PeR Red Hat 2 09-16-2003 04:06 PM
Does anyone know of a modem data dump utility? goat_jr Linux - Hardware 1 07-28-2003 07:41 PM


All times are GMT -5. The time now is 03:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration