LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-05-2006, 07:48 AM   #1
alewis
LQ Newbie
 
Registered: Mar 2006
Posts: 22

Rep: Reputation: 15
User administration


Hi

Running Suse 10. Two users (root and myself).

Now certain graphical apps will only run in root mode. How do I run them as such, when I am logged in as me?

Using KDE User Manager I tried adding myself to the root group, but I get an error message that etc/gshadow does not exist, and then another that cant create a backup file for /etc/gshadow.

Any ideas what this is about, and how I fix it? Or how do I get graphical apps to run with root privs?
 
Old 04-05-2006, 08:17 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you would use su to become root, or configure /etc/sudoers to allow you to use the sudo command to run specific applications. check both the su and sudo manpages for details. don't add yourself to the root group, that's a really really bad way to go. some distro's employ a "wheel" gropu which is used to hold administrators, but sudo is normally preferred.
 
Old 04-05-2006, 08:30 AM   #3
alewis
LQ Newbie
 
Registered: Mar 2006
Posts: 22

Original Poster
Rep: Reputation: 15
Chers Chris. I use su in a command prompt (although the command seems to lose any form of path, and is therefore restricted in what it can run, if you see what I mean).

For convenience, I want to use the taskbar to launch an app, when logged in as me. But that app requires root privs... I had a quick gander at the sudoers file.. er, wtf ist that on about! The manpages look as though they were written by computer for a calculator to read...!
 
Old 04-05-2006, 08:34 AM   #4
alewis
LQ Newbie
 
Registered: Mar 2006
Posts: 22

Original Poster
Rep: Reputation: 15
Ah, found a way using the menu editor, and the 'run as other user' option.
 
Old 04-05-2006, 08:51 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
If a KDE app needs root privileges, usually you are asked for the root password before the program runs. For those that don't, you can do "kdesu nameOfApp".
 
  


Reply


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
Gnome user administration Thulemanden Ubuntu 2 01-21-2006 09:34 PM
Suse user Administration question phudec Linux - Distributions 3 10-02-2004 04:39 PM
User administration lapthorn Linux - Software 5 04-06-2004 05:54 PM
command line user administration?? trey85stang Slackware 6 03-22-2004 12:15 PM
user administration jqiu Linux - Software 1 09-14-2001 06:38 PM


All times are GMT -5. The time now is 06:34 PM.

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