You are not logged in.
Pages: 1
So should we be using 'machinectl shell' instead of su/sudo now?
http://linux.softpedia.com/blog/systemd … 0418.shtml
from the --help I don't quite get what 'shell [[USER@]NAME [COMMAND...]' means. I tried this:
$ machinectl shell root@myhost pacman -Syu
obviously laughably wrong because it said:
machinectl: invalid option -- 'S'
Offline
It isn't a replacement, it's an addition that makes some guarantees to the login environment su doesn't provide (it creates a completely new shell which su doesn't) read the following links for a rationale instead of some sensationalist journalism: https://github.com/systemd/systemd/issu … -127917622 https://github.com/systemd/systemd/pull/1022 It is mostly relevant if you are using systemd containers from what I gather
Offline
Pages: 1