LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   can't make new users (https://www.linuxquestions.org/questions/fedora-35/cant-make-new-users-523255/)

budword 01-27-2007 10:15 AM

can't make new users
 
Hi, I just installed fedora 6 on a 500mhz mini-itx board. Everything is fine except I can't make new users as root with useradd or adduser, and there isn't a way to do it via the gui either, from within the control center. I didn't enable selinux during install if that matters. I tried using the full path to /sbin/useradd and that didn't work either. So I "cd /sbin" then "ls | grep -i useradd" Not there.

This is the first time I've ever had this problem..... so what do I do now ?

Thanks much...

David

macemoneta 01-27-2007 10:34 AM

On FC6, useradd is normally installed as '/usr/sbin/useradd'. If it's not there, verify that shadow-utils is installed:

Code:

# rpm -q shadow-utils
shadow-utils-4.0.17-12.fc6

If not, install it:

yum install shadow-utils

If it is installed, then you've somehow managed to delete some files, and your installation's integrity is in question. You can try to reinstall shadow-utils:

Code:

# yumdownloader shadow-utils
# rpm -Uvh --force shadow-utils*.rpm


budword 01-27-2007 11:02 AM

Thank you very much for your quick replay. I did have shadow-utils installed, and it still didn't work. I used "yum install shadow-utils" and upgraded to the newer version. So I have added my mythtv user. So thank you very much....on to the next step of that howto....anyway....my question now is....do you think I've been rooted ? I left the setup program running overnight while I did a few other things, behind a router but hooked up to the net with no firewall. Should I just re-install to be sure I haven't been rooted ? I thought it would be safe as I am behind a router.... am I wrong ?

Thanks much...

David

macemoneta 01-27-2007 11:15 AM

During installation, there are no services running, so there is nothing to compromise. In short, you haven't been rooted. When I referred to the installation's integrity, I was referring to accidental deletion of files, filesystem corruption possibility (there's a kernel bug until you apply maintenance), or installation software error - perhaps you custom selected packages and a softeware error occurred.

You can check your installation logs (saved in /root/) to see if any errors were reported. If this is the only problem you're having, you can safely ignore it as an installation error.


All times are GMT -5. The time now is 08:47 AM.