[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/environment wird nicht gelesen



On Sat, 17 Jul 2004 the mental interface of
Bertram Scharpf told:

> Hallo,
> 
> in einem XTerm erhalte ich:
[...]
>     user@host:~$ su -
[...] 
> Dies passiert nur, wenn ich vorher als `user' eingeloggt
> war. Auf der Konsole genauso. Warum, und wie behebe ich es?

Versuch mal "su" anstatt "su -".
man su
...

OPTIONS
       -      make this a login shell

       -c, --commmand=<command>
              pass command to the invoked shell using its -c option

       -m, -p, --preserve-environment
              do not reset environment variables, and keep the same shell

       -s, --shell=<shell>
              use shell instead of the default in /etc/passwd
....

Ciao

Elimar


-- 
  Do you smell something burning or ist it me?

Attachment: signature.asc
Description: Digital signature


Reply to: