Terminal not launching with different config files

David Rosenstrauch darose at darose.net
Tue Aug 30 21:28:51 CEST 2011


On 08/30/2011 02:54 PM, houghi wrote:
> On Tue, Aug 30, 2011 at 06:54:15PM +0100, Richard Kenyon wrote:
>> On Tue, 2011-08-30 at 19:43 +0200, houghi wrote:
>>> As I do a lot of editing and playing around with the system, having one
>>> specific for root makes me make less errors then doing su each time and
>>> is less cumbersome then doing sudo each time. Yes, I am fully aware of the
>>> dangers of having a terminal with root and that is why I want it to be
>>> clear that that ones IS root.
>>
>> Why don't you just use sudo?
>
> To cumbersome when you use it all the time.
> Using sudo:				Being root
> sudo vi /etc/whatever			vi /et/whatever
> sudo /sbin/something			something
> sudo /usr/sbin/rcapache restart		rcapache restart
> sudo /usr/local/sbin/what		what

If you're doing a bunch of commands as root, you can just do "sudo -s" 
to get a root shell.  So:

[you at some_server ~]$ sudo -s
Password:
[root at some_server ~]$ vi /et/whatever
...
[root at some_server ~]$ something
...
[root at some_server ~]$ rcapache restart
...
[root at some_server ~]$ what
...
[root at some_server ~]$ exit
exit
[you at some_server ~]$

DR


More information about the Xfce mailing list