[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Problem with useradd in bash



You can run locate command to find out where is useradd binary is located.
Generally you could have that in the following directories and you should be
able to execute with absolute path:

/usr/sbin/useradd
/etc/default/useradd  

Otherwise  modify PATH in /home/username/.bash_profile.

Razzakul Haider Chowdhury


> Hello list,
> 
> i am working with redhat 6.2 and it works great, but i have one big
problem.
> 
> i am logged as root, and would like to add a new user. i type for example:
> 
> useradd mynewuser  but i get the following message:
> 
> bash:  useradd: command not found
> 
> what is wrong and what can i do ?
> 
> to change password with: passwd xy works correct.
> 
> Thank you very much and many greetings from switzerland
> 
> Stefan
> 
> 
> -- 
> To unsubscribe: mail redhat-install-list-request redhat com with
> "unsubscribe" as the Subject.




-- 
To unsubscribe: mail redhat-install-list-request redhat com with
"unsubscribe" as the Subject.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]