When I try to create a new user with useradd, it tells me that useradd cannot be found. But when I do a yum search for useradd, it comes up with
shadow-utils.i386 : Utilities for managing accounts and shadow password files. That is already installed. I can't figure out how to do it without manually doing it. Thanks!

link|improve this question
Okay, got it solved. Seems like /usr/sbin is not in the non-root user's path! – Ryan Mar 4 '11 at 0:07
Glad you got it solved. It's quite typical for /sbin and /usr/sbin to only be in root's path, requiring other users to call those binaries with their full path. It's not recommended to add those directories to other users' paths. – ErikA Mar 4 '11 at 1:14
feedback

1 Answer

Check to make sure /usr/sbin is in the non-root user's path.

link|improve this answer
LOL. Nice late answer. Early bird gets the worm though, eh? – djangofan Aug 17 '11 at 20:12
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.