LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-10-2002, 04:49 PM   #1
gizbon
LQ Newbie
 
Registered: Oct 2002
Location: Dublin Ireland
Distribution: Redhat 7.2 and 8.0
Posts: 27

Rep: Reputation: 15
Question scripts for useradd


I want to put a script together to add users both unix and smb users+passwd+group etc etc
Can anybody tell me how to do it
How do I make the file executable
 
Old 11-10-2002, 05:48 PM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
chmod +x filename
 
Old 11-11-2002, 01:33 PM   #3
gizbon
LQ Newbie
 
Registered: Oct 2002
Location: Dublin Ireland
Distribution: Redhat 7.2 and 8.0
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks
can I do this to any file or does it have to be a certain file type
 
Old 11-11-2002, 03:39 PM   #4
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
yep
 
Old 11-11-2002, 03:45 PM   #5
gizbon
LQ Newbie
 
Registered: Oct 2002
Location: Dublin Ireland
Distribution: Redhat 7.2 and 8.0
Posts: 27

Original Poster
Rep: Reputation: 15
thanks got it
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN: Debian Scripts -> Mandriva 2006 Scripts Undefined Mandriva 0 11-30-2005 01:10 PM
useradd jerryluis Fedora 9 03-27-2005 08:37 PM
Using Useradd spud Linux - Newbie 6 03-10-2005 04:50 PM
useradd cyrush Linux - Distributions 3 01-21-2003 10:40 PM
useradd qdickens Linux - General 4 11-02-2001 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:38 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
Open Source Consulting | Domain Registration