View previous topic :: View next topic |
Which one is your primary way to access root |
doas |
|
25% |
[ 9 ] |
sudo |
|
51% |
[ 18 ] |
tty login root |
|
20% |
[ 7 ] |
root disabled/single-user bootup |
|
2% |
[ 1 ] |
|
Total Votes : 35 |
|
Author |
Message |
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 934 Location: Romania
|
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22698
|
Posted: Sun Dec 24, 2023 3:45 pm Post subject: |
|
|
There is no roll-your-own, because this is security-sensitive, and most people who try to roll their own security-sensitive code do it poorly. |
|
Back to top |
|
|
krumpf Apprentice
Joined: 15 Jul 2018 Posts: 191
|
Posted: Mon Jan 08, 2024 10:34 pm Post subject: |
|
|
This thread taught me to use sudo -i (instead of -s) for security reasons.
I tried doas in the past, and wasn't really satisfied, the persist feature being more aimed towards BSD than Linux (and typing password for every command is annoying), but I wanna give it another try.
Hence my question : is doas -s some kind of equivalent of sudo -i in terms of feature and security ? |
|
Back to top |
|
|
decuser n00b
Joined: 23 Jan 2003 Posts: 60 Location: Godley, Texas
|
Posted: Mon Jan 08, 2024 11:07 pm Post subject: |
|
|
and and if it's ever "required"... openbsd loves doas, otherwise, sudo's fine. |
|
Back to top |
|
|
|