Am Tuesday 03 March 2009 13:58:59 schrieb Marco Bosisio: > I customized the profile.local and it launch a script_xxx at login. When > use 'su - ' I would like that the new user does not execute the > script_xxx again.
Ah, ok. The thing is, profile is for login shells. And with "-" you _explicitely ask_ su to open a login shell. If you dont want that, run su without the "-". From man su: DESCRIPTION Change the effective user id and group id to that of USER. -, -l, --login make the shell a login shell Christian ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390