bash: useradd: comand not found using telnet su

Romeril, Alan a.romeril at ic.ac.uk
Fri Jul 21 15:17:59 GMT 2000


Hi,
Not the bast place to post this to, but anyway...

Your path is probably wrong, try su - root ( the dash is important as it
does the full logon ).
Or setting your PATH environment variable to include the directory useradd
is in.  su - *should* set the right PATH....

Cheers,
Alan

-----Original Message-----
From: Damen Rund [mailto:Damen_Rund at missporters.org]
Sent: Friday, July 21, 2000 4:05 PM
To: samba-technical at samba.org
Subject: bash: useradd: comand not found using telnet su


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