Subject: Re: How to use su
To: Gandhi woulda smacked you <firstname.lastname@example.org>
From: None <email@example.com>
Date: 08/29/1999 07:16:27
I promise: NEXT TIME I WILL GIVE IT MORE THINKING BEFORE WRITING TO THE LIST!
> # first: YES I have read the man page!
... and have it misinterpreted :-;
I took the
su [-Kflm] [login [shell arguments]]
wrong. I read it as login AND shell AND arguments instead of
login and "shell-arguments".
If I had read the DESCRIPTION more thoroughly I really should have noticed.
> su - $USER -c '$COMMAND'
Yes this works - of course. Thank you and sorry for bothering the
whole list with this.