Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How many of you are using doas?sudo?what about root tty1?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  

Which one is your primary way to access root
doas
25%
 25%  [ 9 ]
sudo
51%
 51%  [ 18 ]
tty login root
20%
 20%  [ 7 ]
root disabled/single-user bootup
2%
 2%  [ 1 ]
Total Votes : 35

Author Message
stefan11111
l33t
l33t


Joined: 29 Jan 2023
Posts: 922
Location: Romania

PostPosted: Sun Dec 24, 2023 9:26 am    Post subject: Reply with quote

Where is the "roll your own" option in the poll?
https://github.com/stefan11111/rootdo
_________________
My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev"
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21762

PostPosted: Sun Dec 24, 2023 3:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
krumpf
Apprentice
Apprentice


Joined: 15 Jul 2018
Posts: 175

PostPosted: Mon Jan 08, 2024 10:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
decuser
n00b
n00b


Joined: 23 Jan 2003
Posts: 60
Location: Godley, Texas

PostPosted: Mon Jan 08, 2024 11:07 pm    Post subject: Reply with quote

Code:
sudo -i
and
Code:
su -
and
Code:
doas
if it's ever "required"... openbsd loves doas, otherwise, sudo's fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum