1 |
On 5/29/22 9:48 AM, wkuz@××.pl wrote: |
2 |
> User xyz can exacute command D on host A as user B in group C |
3 |
|
4 |
... |
5 |
|
6 |
> is just a matter of consistency ;) |
7 |
|
8 |
The group that a command is run as starts to become much more germane |
9 |
when you are using sudo to run commands as a different non-root user. |
10 |
E.g. if you want to run commands as the Oracle user to manage things |
11 |
about a database. |
12 |
|
13 |
In some ways this is somewhat akin to setting the GID bit on a directory |
14 |
so that newly created files inherit the group of the directory. At |
15 |
least insofar as the type of situation that would necessitate the use of |
16 |
this feature. |
17 |
|
18 |
|
19 |
|
20 |
-- |
21 |
Grant. . . . |
22 |
unix || die |