LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-04-2005, 08:47 AM   #1
ahh
Member
 
Registered: May 2004
Location: UK
Distribution: Gentoo
Posts: 293

Rep: Reputation: 31
Gnome system tools and sudo


Hi.

I have a problem with the Gnome system tools.

My setup is this:-
Gentoo
Gnome 2.10
Gnome-system-tools 1.2.0
Sudo 1.6.8

My configuration:-
I have configured my system so that root doesn't have a login shell (/bin/false) thus preventing anyone logging in as root. Any root work is done via sudo (or gksudo if using the gui).

My problem:-
Gnome system tools won't work unless I reinstate roots login shell to /bin/bash.

Observations:-
If I run "users-admin" it wil bring up a gksu dialog which always fails with an "incorrect password" error.
If I run "gksudo users-admin" or "sudo users-admin" it hangs, and looking at the system monitor I see this (or as near as I can reproduce it...):
Code:
 PROCESS             USER     STATUS      MEM     %CPU     ARGUMENTS
\/ gksudo            ahh      sleeping    10.8    0        gksudo users-admin
   \/ users-admin    root     running     18.0    85       users-admin
         su          root     zombie      0       0
It appears that even when invoking users-admin with sudo, users-admin tries to use su. Obviously su wont work as root doesn't have a login shell to su to.


Does anyone know of a way to get this setup to work? Is this behaviour intentional or should I report it as a bug?
 
  


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
Restricting Editing in Sudo (Advanced Sudo Question) LinuxGeek Linux - Software 4 11-04-2006 03:20 PM
System tools ust Linux - Software 2 11-05-2003 09:37 PM
System tools ust Linux - Software 1 08-14-2003 09:05 PM
System tools ust Linux - Software 1 08-14-2003 08:04 AM
System tools juno Linux - General 2 10-29-2002 10:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:30 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