i'm logged in as a normal user most of the time on my linux machine, but i 
download and install a lot of stuff too.  this requires me to switch back and 
forth between superuser and my normal login.  my friend told me that at his 
work, they have a das (do a superuser) alias on their play linux boxes.  he 
says it works like this...
das mv blah /usr/local
1)  changes to su
2)  executes "mv blah /usr/local" as su
3)  exits from su

can some show me how to write such an alias (or even shell script?)?  thanks 
a bunch.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to