Re: root's profile > A strange request but I have an idea. How about moving su to a new
> location like /bin/su.real and in its place putting a shell script. The
> script would need to parse any command line arguments you'd like to
> pass and then call `su.real - {optional username/args/etc}`.
>
> Kevin
This is a good idea, but remember to document what you have done and
how to re-create it because when you upgrade and there are changes to
the "su" command, then your shell script will get overwritten.
Rgds
Mark Taylor |