2. SSH user sees two users logged in BUT he decides to shut down computer. 3. Something happen to SSH user
I don't see how these steps makes sense -- the ssh user can shut down fine with reboot/halt, as those tools don't use consolekit.
BTW, I meant consolekit, not policykit in the submission.
Further research: It does not matter whether desktop user is admin or not. But it matters if the desktop user and SSH user are the same user.
Anyway, the dialog I am talking about: System policy prevents restarting the system when other users are logged in
An application is attempting to perform an action that requires privileges. Authentication as the super user is required to perform this action.
Password: [____________]
Action: org.freedesktop.consolekit.system.restart-multiple-users
[ Cancel ] [ Authenticate ]
Pressing Cancel logs out.
2. SSH user sees two users logged in BUT he decides to shut down computer.
3. Something happen to SSH user
I don't see how these steps makes sense -- the ssh user can shut down fine with reboot/halt, as those tools don't use consolekit.
BTW, I meant consolekit, not policykit in the submission.
Further research:
It does not matter whether desktop user is admin or not. But it matters if the desktop user and SSH user are the same user.
Anyway, the dialog I am talking about:
System policy prevents restarting the system
when other users are logged in
An application is attempting to perform an action
that requires privileges. Authentication as the super
user is required to perform this action.
Password: [____________]
Action: org.freedesktop .consolekit. system. restart- multiple- users
[ Cancel ] [ Authenticate ]
Pressing Cancel logs out.