I am using Terminator, because it has cool ability to split itself into more terminals. But can it be run as root, without need to type sudo -i
after launch? (adding Run as root into Terminator shell for example)
Asked
Active
Viewed 3,367 times
2

PKM
- 829
1 Answers
0
Copy the .desktop
file from /usr/share/applications
(or just add it to desktop and then create a copy) so that you don't have to edit all from the start and then:
First option
Change the
Exec=
line to:Exec=terminator -e "sudo -i"
This will ask for your password when you open terminator.
Second option
Install
gksu
(sudo apt-get install gksu
) and change theExec=
line to:Exec=gksu terminator
This will open a pop up which will ask you your password and give you a root terminator without any user preferences though.
NOTE: Never run sudo terminator
because it might change the user folder ownership or cause other problems, always use gksu
for gui applications.

Thanos Apostolou
- 4,481
sudo
command. – PKM Jun 22 '16 at 14:37sudo
to use theNOPASSWD
setting (as it says — no password asked) as a safer method than a permanent root shell. – Jun 22 '16 at 14:38etc/sudoers
. And if setsudo
toNOPASSWD
, will it completely disable password forsudo
, or just for chosen applications? – PKM Jun 22 '16 at 14:44sudo <some command>
without being asked for a password. – Jun 22 '16 at 15:09