Subject: Re: How to use su
To: Gandhi woulda smacked you <greywolf@starwolf.com>
From: None <apr@spade.apc.aip.de>
List: current-users
Date: 08/29/1999 07:16:27
Hi all,
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
SYNOPSIS
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.
Andreas