Linux - NewbieThis 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.
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.
I was using the command line in order to add some users (my friends) to my computer so that they could log into RH9 on my PC.
I gave myself an account and one friend. Then I rebooted (a couple of hours later) and when I came to start back at it again, I get an error when I do it.
Screen like this:
[root@localhost root]# useradd sam
bash: useradd: command not found
[root@localhost root]#
What am I doing wrong? I did the EXACT same thing this morning and now it isn't working. Please help.
I have tried the same for adding groups, but I get the same error.
Can anyone think of problem? All suggestions are helpful, even if they are irrelivent, I like learning!!!
i know it is a command but try typing the other method :: adduser ?
or maybe /usr/sbin is not in your path...so try the full path if adduser doesn't work...
Then you will only have your user PATH variable set which does not include /usr/sbin. If you use "su -" it will create a new shell for root. So wither run:
su -
useradd
Although I really want to do everything with command line, I would also like to learn about administering accounts with the GUI.
I know that RH8 had the linuxconf thing, but that no longer appears in RH and that it has been split into more specific GUIs. Which ones are these and where can I find them?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.