Are you in root when you do it?

Are you adding the user name after it?  "useradd john"

The clip below is from:  http://www.freeos.com/articles/4414/ .  If
this clip is any help, there is more info at the above address. 


"The general syntax for the useradd command is :

useradd -d home_directory -e expire_date -g initial_group -p password
login_name"

An example of which is: 

"useradd -d /home/einstein -e 2002-08-30 -g root -p relativitysucks
einstein"


I managed to add three people without even trying.  Now I have to figure
out how to delete them.



On Wed, 2008-06-11 at 04:29 +0000, Michael Lynch wrote:
> Im trying to learn how to use Linux Command line
>  
> 
> How come when I try the command    "useradd"
> bash returns 
>  
> bash: useradd: command not found
>  
> 
> Thanks,
> Michael-- 
> [email protected]
> http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie

Reply via email to