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 12-07-2003, 04:17 PM   #1
teqno
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Rep: Reputation: 0
adduser


I can't figure this one out. I have installed all and still i dont have the adduser or useradd script for adding users in Slackware 9.0

Can someone plz help me out here and btw are there any better scripts to add users&groups in slack?
 
Old 12-07-2003, 04:25 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Which user are you trying to run them as? You need to be root.
 
Old 12-07-2003, 04:28 PM   #3
Shachaf
Member
 
Registered: Sep 2003
Location: Port Townsend, WA
Posts: 30

Rep: Reputation: 15
I don't think useradd is a script, but I do think it's in /sbin or /usr/sbin. You need to su - to root (or login as root) to have it in your $PATH.
 
Old 12-07-2003, 04:37 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Re: adduser

Quote:
Originally posted by teqno
I can't figure this one out. I have installed all and still i dont have the adduser or useradd script for adding users in Slackware 9.0

Can someone plz help me out here and btw are there any better scripts to add users&groups in slack?
Actually you have both. You just need
to be root to "see" them, they're not in
a normal users path.

If you su to root without using the - or -l,
you'll preserve the original users environment,
thus won't be able to run either.


Btw, adduse is a script, useradd is a ELF binary.


Cheers,
Tink
 
Old 12-08-2003, 05:53 AM   #5
teqno
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Original Poster
Rep: Reputation: 0
I got root access and are logged in as root. I tried whereis adduser and whereis useradd and i can't seem to find it at all. I have installed the pkg for etc configuration pack utilities but still no luck :/
 
Old 12-08-2003, 12:26 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
cat /var/log/packages/shadow*

That's where useradd/adduser lives. If you don't
get any output you didn't install it :}


Cheers,
Tink
 
  


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
adduser jp_ Linux - General 6 10-18-2005 02:11 PM
adduser 64bitPlaya Slackware 2 08-13-2004 05:05 PM
adduser bally Linux - General 7 08-09-2004 01:28 PM
adduser trophy Red Hat 1 05-01-2004 09:11 AM
Adduser - xmdms Linux - Newbie 3 10-23-2003 03:54 PM

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

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