Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 got handed a RedHat email server that I'm supposed to "administer"....it's funny, considering I'm a VERY new Linux user.
My problem, from the little I know (and the bad notes left to me by the previous admin) I should be able to ssh into the box, (done without an issue) and I should be able to use the useradd command to add a new email account.
However, when I type:
useradd holiday2004
The terminal responds with:
bash: useradd command not found (or something similar)
I believe, the user I'm logging in as should have super user right (however, I'm not root, and I'm not sure)
Tried logging in as root with the password given to me, and that didn't work at all.
First of all, to add users, you have to be root. Secondly, it can't find the command cause its in /usr/sbin/ or /sbin which is not in regular users path, you'd have to type the whole command out.
If I were you, I'd get the root password fixed and secondly, learn more about this box before adding users, using root, setting up sudo or su to root.. and so on..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.