Thread: root's profile
View Single Post

   
  #3 (permalink)  
Old 01-05-2008, 11:32 AM
Mark Taylor
 
Posts: n/a
Default 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


Reply With Quote