Cannot find adduser, usergroup command
I am using fedora Core 9 and I been trying to use command shell to create a new user account with the adduser command but dont seem to be able to find it anywhere. can anyone help?
|
AFAIK, it's useradd also make sure you're root.
|
I have:
addgroup adduser useradd userdel usermod (Mepis 8) Note that, in Fedora, to run admin commands, you often have to get into the root environment by using "su -". You can of course modify the $PATH so this is not required. |
I do try it as root and it dont work when issue the command adduser, they was there before I am not sure what has happened? anyway of doing like a system repair?
|
I didn't know we've got 'adduser'.
Try what pixellany suggested, or type /usr/sbin/useradd as root (that is if I remember the path correctly:)) |
Thanks I found it! thoughut it would be in /bin/ or /sbin/ or /usr/bin/ before so was mainly searching in those. How can I add /usr/sbin/ to path environment any links to tutorials?
|
The PATH is setup during the boot process, according to one or more configuration scripts. The trick is to find the LAST one that does this, and simply add the desired path to it. I'm not familiar with the details for Fedora, but start with /etc/inittab. If you have /etc/init.d, then the scripts are there.
|
Quote:
Do you really need to add it to the path? It's not that you'll be adding users everyday, or will you? LOL |
Quote:
edit: http://linux.derkeiler.com/Mailing-L...4-09/1365.html |
Now i have a problem where I cannot seem to get the account that I created to work, I have used the adduser command and have used
Quote:
|
Check/post the sshd-config file. See /var/log/messages ?
|
Right I have managed to get it sorted all i had to do is add "root" as a group member of each inidviduals account!
Quote:
|
All times are GMT -5. The time now is 02:24 AM. |