Page 1 of 1

SOLVED! remove Root Terminal from the menu

Posted: Tue Jun 19, 2012 2:56 pm
by ccc
hi

Howto remove "Root Terminal" from the LXDE menu?

Re: remove Root Terminal

Posted: Tue Jun 19, 2012 4:34 pm
by xenopeek
How to edit the menu is covered in seppalta's LXDE guide IIRC; linked from here http://forums.linuxmint.com/viewtopic.php?f=175&t=90201.

Re: remove Root Terminal

Posted: Tue Jun 19, 2012 10:55 pm
by ccc
xenopeek wrote:How to edit the menu is covered in seppalta's LXDE guide IIRC; linked from here http://forums.linuxmint.com/viewtopic.php?f=175&t=90201.
Thx, but still cannot find howto remove Root Terminal from the LXDE menu.

My main problem is, I try to create a linux client, but if someone opens Root Terminal then he/she can put 'su' command without password and change system files.
Knows anyone howto secure Root Terminal, for example to ask for root password?

Re: remove or secure Root Terminal

Posted: Wed Jun 20, 2012 3:11 am
by xenopeek
I don't have LXDE here right now, but are you perchance running this from the installation CD/DVD/USB? That is set up to never ask for your password to elevate your privileges to root. After installation, I can't imagine you could elevate to root without giving your password (unless you changed anything in sudoers configuration with visudo). I'll have a look later today.

Re: remove or secure Root Terminal

Posted: Wed Jun 20, 2012 4:31 am
by ccc
Thx, but the best solution, I think is to remove Root Terminal from the menu and still cannot find out how it works.
BTW I try to create a minimal thin client and for sure don't need a Root Terminal in the menu.

Re: remove Root Terminal from the menu

Posted: Wed Jun 20, 2012 5:21 am
by ccc
I have found!

Go to filesystem, locate /usr/share/applications and delete gksu.desktop or add this line to the end of the /usr/share/applications gksu.desktop file:

Code: Select all

NoDisplay=true

Re: remove Root Terminal from the menu

Posted: Fri Jun 22, 2012 11:19 pm
by antikythera
also, have a look at lxmed, the GUI based menu editor for LXDE:

http://lxmed.sourceforge.net/

Re: remove Root Terminal from the menu

Posted: Sat Jun 23, 2012 7:51 am
by ccc
antikythera wrote:also, have a look at lxmed, the GUI based menu editor for LXDE:

http://lxmed.sourceforge.net/
Thx a lot, but lxmed is written in Java and I don't have java installed, this is a thin client with really minimal installation.