Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-08-2004, 02:21 PM   #1
Registered: Jan 2004
Distribution: Mandrake
Posts: 66

Rep: Reputation: 15
requiring root password for app access?

How can I configure a users desktop so when they try to access run command or office or any of those applications, then root password is required therefore retricting their access. I am using Mandrake 10 kernal 2.6-4... I am basically learning linux on the fly here so any help is greatly appreciated.
Old 06-08-2004, 02:50 PM   #2
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Depending on the application you can usually just change the permissions of the owner/group/world bits so that you can limit their access.

Just to be clear - you're not going to giver users the root password just be able to run an application, are you? If you need to allow certain users to execute files owned by root, you might want to look into 'sudo'
Old 06-08-2004, 04:02 PM   #3
Registered: Jan 2004
Distribution: Mandrake
Posts: 66

Original Poster
Rep: Reputation: 15
As I said I am using Mandrake 10, do you know of a way to accomplish that via the GUI or is there a Command Line way for me to do it? Newbie here and I can't remember all the commands of the few that I know.
Old 06-08-2004, 08:19 PM   #4
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
Sudo is setup in the /etc/sudoers fille. This file is edited in a special vim (console editor) program called 'visudo'.

Another way to restrict access is to assign users to a group that has access to the program. If you enter 'kdesu konqueror' in the Application Launcher. Then you are running konqueror as root, and can change the permissions of any file from the properties dialog.

A group password would be better to use then the root password. You don't want to give out the root password. Although, with the sudoer file you can set up a different password that they need to enter.

I don't understand why you would want to limit access to running office programs however. You would normally control access to document files and databases instead.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lock screen (requiring password to unlock) when resuming from suspend theoldman Linux - Laptop and Netbook 2 12-17-2009 09:35 PM
How do I remount a network SMB share (on reboot) requiring a username & password BuckRogers01 Linux - Networking 1 07-09-2005 11:53 AM
Can su into root, but password invalid when X app requests it ShyGuy91284 Linux - General 1 04-28-2004 06:23 PM
Root password for internet access jsin Red Hat 2 01-02-2004 03:29 AM
Applications requiring 'root' to launch.... sankeny Linux - Software 3 10-23-2002 07:49 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration