Difference between revisions of "Talk:Allow users to shutdown"

From ArchWiki
Jump to navigation Jump to search
("Creating aliases" not needed anymore?: Added new finding)
("Creating aliases" not needed anymore?: re)
Line 31: Line 31:
  
 
[[User:Frank|Frank]] ([[User talk:Frank|talk]]) 17:30, 22 May 2014 (UTC)
 
[[User:Frank|Frank]] ([[User talk:Frank|talk]]) 17:30, 22 May 2014 (UTC)
 +
 +
:We should mention both methods indeed, you can go ahead and add it. -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 12:54, 26 May 2014 (UTC)

Revision as of 12:54, 26 May 2014

Accuracy flag

Re: the "accuracy" flag

If you don't have polkit, sudo offers an alternative. Polkit is not a default installation. And also, as is pointed out, if the session is in fact broken.

In any case, you would want to include all approaches in a Wiki. And the section is "accurate" for sudo.

Idomeneo1 (talk) 16:50, 1 February 2014 (UTC)

Alright, maybe "accuracy"->"note"? The users might happily use sudo and not know about the broken session. -- Lahwaacz (talk) 17:13, 1 February 2014 (UTC)
I think a broken session would make itself known in other ways before the choice of shutdown method.
Idomeneo1 (talk) 17:27, 1 February 2014 (UTC)

"Creating aliases" not needed anymore?

On my systems, I never created the mentioned aliases, but I can use this commands anyway. The installation of systemd seems to create symbolic links with the respective names to systemctl. Example for reboot:

$ ls -l $(which reboot)
... /usr/bin/reboot -> systemctl

I suggest to delete the last section.

Frank (talk) 09:08, 22 May 2014 (UTC)

Update:

The symlinks are created by systemd-sysvcompat, which is optional to systemd. Maybe we should mention that package instead of manually creating the aliases?

Frank (talk) 17:30, 22 May 2014 (UTC)

We should mention both methods indeed, you can go ahead and add it. -- Kynikos (talk) 12:54, 26 May 2014 (UTC)