Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 393633 - sys-apps/pmount-0.9.99_alpha: 'You are not physically logged in' while I am
Summary: sys-apps/pmount-0.9.99_alpha: 'You are not physically logged in' while I am
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-08 15:07 UTC by Michał Górny
Modified: 2011-12-08 18:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-12-08 15:07:16 UTC
Trying to use new pmount on an X11 terminal I get:

You are not physically logged in and your system administrator does not allow remote users to run pumount, aborting

If something like ConsoleKit is required now, we'd appreciate some postinst message at least. If it's actually limited to real ttys, I guess the config default should be changed for pmount to behave like it used to.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-12-08 15:48:58 UTC
From /etc/pmount.conf:

# If not_physically_logged_allow is true, then users don't need to be
# attached to a real TTY for using pmount and pumount. This used to be
# the default for older releases of pmount.
not_physically_logged_allow = no




imho, there is no bug and the new default is more secure and should stay like this
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-12-08 16:02:37 UTC
(In reply to comment #1)
> From /etc/pmount.conf:
> 
> # If not_physically_logged_allow is true, then users don't need to be
> # attached to a real TTY for using pmount and pumount. This used to be
> # the default for older releases of pmount.
> not_physically_logged_allow = no
> 
> imho, there is no bug and the new default is more secure and should stay like
> this

So, you're saying that most of pmount users actually don't use X11 and just plain ttys?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-08 17:41:37 UTC
I can see you forgot to assign it.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2011-12-08 18:04:22 UTC
well, I don't have strong opinion on this so I'm sure you will be pleased with this:

+*pmount-0.9.99_alpha-r1 (08 Dec 2011)
+
+  08 Dec 2011; Samuli Suominen <ssuominen@gentoo.org>
+  +pmount-0.9.99_alpha-r1.ebuild:
+  Restore default value for not_physically_logged_allow (change from "no" to
+  "yes") wrt #393633 by Michał Górny