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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-02-2002, 04:28 AM
|
#1
|
Member
Registered: Apr 2002
Distribution: Debian
Posts: 50
Rep:
|
how do i create a new user
im not sure what im doin wrong with this.
im using suse linux 7.0, how do i add a new user. please dont say use adduser because there is no command adduser.
it doesnt seem to work properly i can never login as the user i have created
thanx
barkers
|
|
|
05-02-2002, 04:55 AM
|
#2
|
LQ Newbie
Registered: Apr 2002
Location: Manchester, UK
Distribution: SuSE
Posts: 3
Rep:
|
Try useradd (as root)
man 8 useradd explains all.
|
|
|
05-02-2002, 05:01 AM
|
#3
|
Member
Registered: Apr 2002
Distribution: Debian
Posts: 50
Original Poster
Rep:
|
sorry should have siad, i have already been using tried useradd.
it creates a home directory and everything, but i cant login as that user.
is there something else i need to do
ive been doing it like this
useradd -p mypasswd boogieman
is this wrong
|
|
|
05-02-2002, 05:23 AM
|
#4
|
LQ Newbie
Registered: Apr 2002
Location: Manchester, UK
Distribution: SuSE
Posts: 3
Rep:
|
When you specify the -p option you are setting the encrypted password.
Look in /etc/shadow and you'll see
Try doing:-
# useradd boogieman
# passwd boogieman
Then check out /etc/shadow again
|
|
|
05-02-2002, 05:36 AM
|
#5
|
Member
Registered: Apr 2002
Distribution: Debian
Posts: 50
Original Poster
Rep:
|
thanks
|
|
|
05-08-2002, 04:07 PM
|
#6
|
Member
Registered: May 2002
Location: Canada
Distribution: Slackware
Posts: 111
Rep:
|
how do i delete a user??
it doesnt tell me in the man page.
|
|
|
05-08-2002, 04:14 PM
|
#7
|
LQ Newbie
Registered: Apr 2002
Location: Houston, TX
Distribution: Mandrake
Posts: 22
Rep:
|
Try linuxconf from there you can add new users, delete users change group settings along with afew other things.
|
|
|
05-08-2002, 04:14 PM
|
#8
|
LQ Newbie
Registered: May 2002
Location: oregon
Distribution: Slackware (normally)
Posts: 21
Rep:
|
to remove a user without removing his/her home directory "userdel (username)
to remove a user and his/her directory "userdel -r (username)"
to find and remove the users files thrughout the system:
note the user ID from the password file before deleting.
"find / -type f -uid (the users ID) -print -exec rm {} \;"
Last edited by Shrike; 05-08-2002 at 04:19 PM.
|
|
|
05-09-2002, 12:25 AM
|
#9
|
Member
Registered: Apr 2002
Posts: 84
Rep:
|
also, check out userdel and usermod.
|
|
|
05-09-2002, 03:07 AM
|
#10
|
Member
Registered: Apr 2002
Distribution: Debian
Posts: 50
Original Poster
Rep:
|
when i do
passwd (username)
as root it says
passwd:Module unknown
or something like that, and doesnt let me change the password.
i cant figure out why, is something not installed properly, or am i bein stupid
|
|
|
All times are GMT -5. The time now is 06:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|