1 |
On 10/26/22 12:04 PM, Ramon Fischer wrote: |
2 |
> Also a very interesting question! |
3 |
|
4 |
}:-) |
5 |
|
6 |
> I just tested this with "visudo" and it does not intercept this. |
7 |
|
8 |
Nor should it. |
9 |
|
10 |
It's perfect legitimate sudoers syntax. |
11 |
|
12 |
The location; /etc/sudoers.d/zzzzzzzzzz vs the end of /etc/sudoers |
13 |
(proper), doesn't matter. |
14 |
|
15 |
> If "su" is disabled, you are locked out and you are forced to enter your |
16 |
> system via a live USB stick and a "chroot" in order to edit |
17 |
> "/etc/shadow" to set a root password via "mkpasswd" and enable "su". |
18 |
|
19 |
Which is one of the reasons that it's important to have (set) a known |
20 |
root password. |
21 |
|
22 |
|
23 |
|
24 |
-- |
25 |
Grant. . . . |
26 |
unix || die |