Try downloading "sudo"  that was the old Linux "su" package
- it should still be out there.

On Sat, 24 Jun 2000, Jasper Spit wrote:
> On Mandrake 7.0 when you do a su - <user> -c "command" from the root
> account, <user>'s profile is not loaded. When you just do a su - <user>,
>  it works OK. 
> How can I get this fixed ? I can't remember having this problem on Red Hat
> or SuSE.  I upgraded to the newest sh-utils, but that didn't help either.
> 
> Also, su doesn't return the correct errorcode if you use the -c flag, it
> always returns 0.
> This works fine on e.g. HP/UX and Sun Solaris.
> 
> Jasper
-- 
Lars Nordin
Noble Systems Corporation
www.noblesys.com

Reply via email to