SOLVED! remove Root Terminal from the menu

Forum rules
Before you post please read how to get help
ccc
Level 3
Level 3
Posts: 100
Joined: Sat Jul 23, 2011 7:40 pm

SOLVED! remove Root Terminal from the menu

Postby ccc » Tue Jun 19, 2012 2:56 pm

hi

Howto remove "Root Terminal" from the LXDE menu?
Last edited by ccc on Mon Sep 17, 2012 7:32 am, edited 6 times in total.

User avatar
xenopeek
Level 23
Level 23
Posts: 19679
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: remove Root Terminal

Postby xenopeek » Tue Jun 19, 2012 4:34 pm

How to edit the menu is covered in seppalta's LXDE guide IIRC; linked from here viewtopic.php?f=175&t=90201.
Image

ccc
Level 3
Level 3
Posts: 100
Joined: Sat Jul 23, 2011 7:40 pm

Re: remove Root Terminal

Postby ccc » Tue Jun 19, 2012 10:55 pm

Vincent Vermeulen wrote:How to edit the menu is covered in seppalta's LXDE guide IIRC; linked from here 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 23
Level 23
Posts: 19679
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: remove or secure Root Terminal

Postby xenopeek » Wed Jun 20, 2012 3:11 am

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
Level 3
Level 3
Posts: 100
Joined: Sat Jul 23, 2011 7:40 pm

Re: remove or secure Root Terminal

Postby ccc » Wed Jun 20, 2012 4:31 am

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
Level 3
Level 3
Posts: 100
Joined: Sat Jul 23, 2011 7:40 pm

Re: remove Root Terminal from the menu

Postby ccc » Wed Jun 20, 2012 5:21 am

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

Postby antikythera » Fri Jun 22, 2012 11:19 pm

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

http://lxmed.sourceforge.net/

ccc
Level 3
Level 3
Posts: 100
Joined: Sat Jul 23, 2011 7:40 pm

Re: remove Root Terminal from the menu

Postby ccc » Sat Jun 23, 2012 7:51 am

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.


Return to “Others”

Who is online

Users browsing this forum: No registered users and 3 guests