SOLVED! remove Root Terminal from the menu

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
ccc

SOLVED! remove Root Terminal from the menu

Post by ccc »

hi

Howto remove "Root Terminal" from the LXDE menu?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 7 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29506
Joined: Wed Jul 06, 2011 3:58 am

Re: remove Root Terminal

Post 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.
Image
ccc

Re: remove Root Terminal

Post 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?
User avatar
xenopeek
Level 25
Level 25
Posts: 29506
Joined: Wed Jul 06, 2011 3:58 am

Re: remove or secure Root Terminal

Post 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.
Image
ccc

Re: remove or secure Root Terminal

Post 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.
ccc

Re: remove Root Terminal from the menu

Post 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
Last edited by ccc on Sun Sep 16, 2012 8:12 am, edited 1 time in total.
antikythera

Re: remove Root Terminal from the menu

Post by antikythera »

also, have a look at lxmed, the GUI based menu editor for LXDE:

http://lxmed.sourceforge.net/
ccc

Re: remove Root Terminal from the menu

Post 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.
Locked

Return to “Software & Applications”