bash: useradd: comand not found using telnet su

Brian Keats bkeats at spiff.chin.gc.ca
Wed Jul 26 20:16:03 GMT 2000


What happens if you try 
su - root

Note the position of the "-"


On Fri, 21 Jul 2000, Nick Kidd wrote:

> do a : locate useradd.
> 
> on my RH box, it is in /usr/sbin.  then you can telnet, su,
> /usr/sbin/useradd whatever till your hearts content.
> 
> nick
> 
> On Fri, 21 Jul 2000, Damen Rund wrote:
> 
> > Hello,
> > 
> > once again I'm stumped.  I telnet into my Linux box as myself then run a
> > su command to login as root, then I want to add a user so I run the
> > useradd command and get the response "bash: useradd: command not found"
> > 
> > however if I goto the Linux box and log in as root I can use the useradd
> > command with no problem.
> > 
> > THANK YOU :-)
> > 
> > Damen C. Rund
> > Computer Service Technician
> > 
> > Miss Porter's School, Inc.
> > Main Street
> > Farmington, CT. 06062
> > 
> > Phone (860) 409-3607
> > Fax (509) 561-5881
> > E-Mail Damen_Rund at missporters.org
> > Internet www.missporters.org
> >  
> > 
> > 
> > 
> 
> 
> 





More information about the samba-technical mailing list