LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-09-2004, 09:04 PM   #1
Virtualhate
Member
 
Registered: May 2004
Location: CT
Distribution: SuSE 9.0 Pro
Posts: 38

Rep: Reputation: 15
suse 9.0 "adding and removing users"


How do i add and remove users in suse 9.0 ?
 
Old 06-09-2004, 09:08 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
useradd command
and ..
userdel command

just simply typing them commands will show you the arguments they take
 
Old 06-09-2004, 09:13 PM   #3
Virtualhate
Member
 
Registered: May 2004
Location: CT
Distribution: SuSE 9.0 Pro
Posts: 38

Original Poster
Rep: Reputation: 15
Cool Thank you, worked great
 
Old 06-09-2004, 09:14 PM   #4
Virtualhate
Member
 
Registered: May 2004
Location: CT
Distribution: SuSE 9.0 Pro
Posts: 38

Original Poster
Rep: Reputation: 15
well almost worked, how do i set a password for the user i added ?
 
Old 06-09-2004, 10:49 PM   #5
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
*edit*

i see your point now. it does have to be done through the command line...my apologies...

Last edited by detpenguin; 06-09-2004 at 10:56 PM.
 
Old 06-09-2004, 10:50 PM   #6
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
well like i said, if you just type "useradd" in the terminal you would see all the options that that command can take ... so this is your output :
Code:
root@slackbox:~# useradd
usage: useradd  [-u uid [-o]] [-g group] [-G group,...] 
                [-d home] [-s shell] [-c comment] [-m [-k template]]
                [-f inactive] [-e expire ] [-p passwd] name
       useradd  -D [-g group] [-b base] [-s shell]
                [-f inactive] [-e expire ]
and as you can see the -p switch is what your looking for .. and if you wanna make adding users a little easier, you can use the adduser command ...

but with the useradd command you can type something along the lines of :
useradd -u 505 -g users -d /home/newuser -s /bin/bash -p newuserpassword NewUser

Last edited by DrOzz; 06-09-2004 at 10:51 PM.
 
  


Reply



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
"Could not init font path element""Unix /: 7100 removing from list/ zameer_india Linux - Networking 7 07-03-2006 06:11 AM
"users.allow" and "users.deny": under what directory, in Mandriva? KWTm Mandriva 0 10-09-2005 02:23 PM
Adding Users with the "-p" option caps_phisto Linux - Newbie 5 01-08-2005 09:21 PM
"adduser" not adding users to default group "users" PunkPT Slackware 2 09-23-2004 11:50 AM
Removing "shutdown" and "reboot" in logout window nearfar Red Hat 1 10-07-2003 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:18 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