Question: Why doesn't -H work?

Malton, Craig Craig.Malton2 at gwl.ca
Mon Sep 29 16:12:51 EDT 2003


Hello, 
    I'm trying to run some commands as so 

sudo -H -u db2as echo $HOME 

I'm running this as user cmalton and $HOME keeps returning as
/home/cmalton not /export/home/db2as.  Does anyone know why -H isn't
working for me?

Thanks, 

Craig Malton 
IBM Senior Middleware Specialist - HP Project 
416-410-5947 



More information about the sudo-users mailing list