Re: useradd not found ?

Bill Gradwohl <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>
I got error message like

useradd acb -d /home/www/html/acb
bash: useradd: command not found
====================

Command not found is a path issue. 

Try executing your commands specifying the whole path leading to the executable, or fix your path to have it specify where to look for commands you key in.

As root, check your PATH (ie echo $PATH)
As a mere mortal do the same and notice the difference. The difference is probably the cause of the problem.

Bill Gradwohl
[email protected]
(817) 224-9400 x211
www.ycc.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.