On Thu, 2011-02-03 at 04:01 -0800, John Doe wrote:
From: James Bensley jwbensley@gmail.com
-How to add a new user? $ useradd -bash: useradd: command not found (This is the same for my normal user and when logged in as root)
First, normal user not finding useradd is normal. And it would not be able to use it for obvious security reasons... Second: use 'su -' instead of 'su'. locate 'x' finds 'x' on your filesystem...
BUT, as someone helpfully mentioned on this list, ONLY if it has been indexed by a routine which automatically runs at night.
find / -iwholename *xxxxxx*
also works. xxxxxx being the sought file name. Don't forget the first * and add the second * if necessary.
Google your question, en Anglais, and you will usually get answers.
Bon chance !
With best regards,
Paul. England, EU.