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 ?