bash: useradd: comand not found using telnet su

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

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....


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


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.


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

More information about the samba-technical mailing list