1833162 Members
3934 Online
110051 Solutions
New Discussion

elm from su gives error

 
SOLVED
Go to solution
Hiroki Shimamura
New Member

elm from su gives error

When I su from a regular user and run elm, I get the following:

# elm

Cannot initialize "folders" - error expanding "$HOME/Mail".
k1Bs1Cs1Ds1Gs1H

It than freezes... Please help, thanks. Hiro.

HP-UX 11.0
Elm- HPversion - 1.17.214.4

3 REPLIES 3
Paula J Frazer-Campbell
Honored Contributor

Re: elm from su gives error

Hi

I presume that you have no problems from a root login?

If you are su'ing from a regular user then you will SU with their environment.

Check the paths in roots .profile and compare with users .profile, I expect that is where your problem is.

HTH

Paula
If you can spell SysAdmin then you is one - anon
Roger Baptiste
Honored Contributor
Solution

Re: elm from su gives error

hi,


Is it working fine as regular user id? If so, then you are probably running elm as root when you do su . (are you doing su or su - ).

Seems that the environment variables after you SU is different from the one you normally use. This can be verified by doing a env.
Also check your elmrc file under $HOME/.elm/elmrc .

HTh
raj
Take it easy.
Hiroki Shimamura
New Member

Re: elm from su gives error

Thanks for all the help... It seems that the /.elm/elmrc file was the problem. I removed it, recreated one from elm and it works great now. BTW, it was just su, not su -.

Thanks again.