Can someone translate the following text from an /etc/sudoers
file to readable English for me? I'm wondering specifically what - orpkale
means.
557149 ALL =(root) /bin/su - orpkale
It means that user 557149
is allowed to start a login shell as user orpkale
. From man su
:
-, -l, --login
Provide an environment similar to what the user would expect had
the user logged in directly.
When - is used, it must be specified before any username. For
portability it is recommended to use it as last option, before any
username. The other forms (-l and --login) do not have this
restriction.
#
within /etc/sudoers
? OTOH I'm not sure if numeric usernames are allowed.
Jul 26, 2017 at 17:30
/etc/sudoers
notetc/sudoers
. And I think it means it has something to do with who or what has permissions to root. And/bin/sh
is the shell for that use. Preferably, I use/bin/bash
. Hope this helps anyways.