Re: Trick to avoid su mistakes
- From: Vigil <v1g1l barrysworld com>
- To: Garnome <garnome-list gnome org>
- Subject: Re: Trick to avoid su mistakes
- Date: Thu, 19 Sep 2002 23:58:14 +0100 (BST)
Or type 'id'.
Ronald Kuetemeier had the audacity to claim:
>To make sure you know when you are root, create a gnome-terminal profile
>for root. Maybe red as the background, or whatever you like.
>Then add the following to your .bashrc, if you use bash. Or always type
>it in :-) ...
>Should be on ONE line.
>
>alias su='if [ $TERM == "xterm" ]; then gnome-terminal
>--window-with-profile=root -e su;else su;fi'
>
>This creates a new gnome-terminal with the profile root and executes su
>in that terminal. You could also create a new tab in the existing
>terminal, see docs ...
>
>Hope this helps,
>Ronald
--
.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]