LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   adduser (https://www.linuxquestions.org/questions/linux-newbie-8/adduser-123637/)

teqno 12-07-2003 04:17 PM

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?

Mara 12-07-2003 04:25 PM

Which user are you trying to run them as? You need to be root.

Shachaf 12-07-2003 04:28 PM

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.

Tinkster 12-07-2003 04:37 PM

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

teqno 12-08-2003 05:53 AM

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 :/

Tinkster 12-08-2003 12:26 PM

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


All times are GMT -5. The time now is 04:35 AM.