LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-10-2016, 10:28 AM   #1
mshlinux
Member
 
Registered: Mar 2013
Location: Yangon, Myanmar.
Distribution: Fedora, Arch
Posts: 177

Rep: Reputation: Disabled
polkit-gnome prompt for root password?


I use thunar, gvfs, polkit and polkit-gnome in Arch Linux which is installed on LVM and dual-booted with Fedora.
Everything is ok but when I click on Fedora's home partition in Thunar's side pane in Arch Linux, polkit-gnome prompts for root password. I think it should prompt for user password.

my /etc/polkit-1/rules.d/50-default.rules is
Code:
/* -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- */

// DO NOT EDIT THIS FILE, it will be overwritten on update
//
// Default rules for polkit
//
// See the polkit(8) man page for more information
// about configuring polkit.

polkit.addAdminRule(function(action, subject) {
    return ["unix-group:wheel"];
});
my user is membership in these groups:
Code:
lp users wheel
According to Arch wiki page https://wiki.archlinux.org/index.php/Polkit
saying this:
Quote:
The Arch default is to make all members of the group wheel administrators.
it should prompt for user password, I think. But not.

Last edited by mshlinux; 10-10-2016 at 08:00 PM.
 
Old 10-11-2016, 03:09 AM   #2
c0wb0y
Member
 
Registered: Jan 2012
Location: Inside the oven
Distribution: Windows
Posts: 421

Rep: Reputation: 74
AFAIK, despite that the home partition is already mounted, Thunar is unaware of that and tries to mount it all the same. And mounting unremovable drive/partitions (by default) can be bone by root only, hence the root password. Dolphin will does the same. That's why I always hide all raw devices from File manager's view.
 
Old 10-13-2016, 11:03 PM   #3
mshlinux
Member
 
Registered: Mar 2013
Location: Yangon, Myanmar.
Distribution: Fedora, Arch
Posts: 177

Original Poster
Rep: Reputation: Disabled
solved it, here:
https://bbs.archlinux.org/viewtopic.php?id=218083
 
  


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
Run a .desktop as root without password prompt subquantum Mandriva 3 07-31-2005 11:38 PM
run program as root / password prompt acidjuice Linux - Software 6 03-15-2005 10:33 PM
prompt for root password and passing to a program ludeKing Programming 4 08-23-2004 08:55 PM
Root Password Prompt Greyed Out !!! lionking_x Linux - Software 2 04-08-2004 10:05 AM
no password prompt after root login taboo Linux - General 1 12-22-2003 01:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:19 AM.

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
Open Source Consulting | Domain Registration