SOLVED! remove Root Terminal from the menu

Forums for the LXDE Edition
Forum rules
Before you post please read this

SOLVED! remove Root Terminal from the menu

Postby ccc on 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.
ccc
Level 2
Level 2
 
Posts: 90
Joined: Sat Jul 23, 2011 7:40 pm

Linux Mint is funded by ads and donations.
 

Re: remove Root Terminal

Postby xenopeek on 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.
Forum Rules | IRC Channel Rules
Image
Arch Linux / 64-bit / Gnome Shell
User avatar
xenopeek
Level 21
Level 21
 
Posts: 13678
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: remove Root Terminal

Postby ccc on 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?
ccc
Level 2
Level 2
 
Posts: 90
Joined: Sat Jul 23, 2011 7:40 pm

Re: remove or secure Root Terminal

Postby xenopeek on 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.
Forum Rules | IRC Channel Rules
Image
Arch Linux / 64-bit / Gnome Shell
User avatar
xenopeek
Level 21
Level 21
 
Posts: 13678
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: remove or secure Root Terminal

Postby ccc on 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 2
Level 2
 
Posts: 90
Joined: Sat Jul 23, 2011 7:40 pm

Re: remove Root Terminal from the menu

Postby ccc on 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.
ccc
Level 2
Level 2
 
Posts: 90
Joined: Sat Jul 23, 2011 7:40 pm

Re: remove Root Terminal from the menu

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

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

http://lxmed.sourceforge.net/
A fact is a simple statement that everyone believes. It is innocent, unless found guilty. A hypothesis is a novel suggestion that no one wants to believe. It is guilty, until found effective.
Image
User avatar
antikythera
Level 3
Level 3
 
Posts: 115
Joined: Tue May 31, 2011 9:44 am
Location: United Kingdom

Re: remove Root Terminal from the menu

Postby ccc on 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.
ccc
Level 2
Level 2
 
Posts: 90
Joined: Sat Jul 23, 2011 7:40 pm

Linux Mint is funded by ads and donations.
 

Return to LXDE

Who is online

Users browsing this forum: No registered users and 6 guests