Earlier quoted context omitted.
Smaller, less features, ideally less vulnerabilities.
Although it is annoyingly and quite critically missing a replacement for `sudo -e` / sudoedit (or was last time I checked).
Alpine Linux 3.15
41–50 of 91 posts
Re: Alpine Linux 3.15
#42Earlier quoted context omitted.
>cat /etc/doas.conf permit persist :wheel Now all the users belonging to wheel can run stuff as root. Done.
Sure this is a nice and concise (yet somewhat trite) example, but this can be done easily with 1 line in sudoers as well (and is usually configured like this by default anyway). Not that doas isn't great, but this particular reason isn't that compelling (to me).
Re: Alpine Linux 3.15
#43Earlier quoted context omitted.
If you care, just install the `coreutils` package and it'll overwrite the default symlinks and you'll get GNU coreutils by default.
Oh thanks, that's good to know they're available.
Re: Alpine Linux 3.15
#44Earlier quoted context omitted.
Smaller, less features, ideally less vulnerabilities.
Although it is annoyingly and quite critically missing a replacement for `sudo -e` / sudoedit (or was last time I checked).
Re: Alpine Linux 3.15
#45Does anyone know where there are screenshots of this on the website? I like to see how a desktop looks before I try a new distro. Seems absent on the site
Re: Alpine Linux 3.15
#46Earlier quoted context omitted.
Although it is annoyingly and quite critically missing a replacement for `sudo -e` / sudoedit (or was last time I checked).
What is wrong with `sudo vim /etc/foo`? I feel that it's better than `sudo -e`, but would love to see an example where `sudo -e` is better.
Re: Alpine Linux 3.15
#47Re: Alpine Linux 3.15
#48Earlier quoted context omitted.
What is wrong with `sudo vim /etc/foo`? I feel that it's better than `sudo -e`, but would love to see an example where `sudo -e` is better.
`sudo vim` will not load your user's vimrc, sudoedit will
Re: Alpine Linux 3.15
#49Earlier quoted context omitted.
Although it is annoyingly and quite critically missing a replacement for `sudo -e` / sudoedit (or was last time I checked).
What is wrong with `sudo vim /etc/foo`? I feel that it's better than `sudo -e`, but would love to see an example where `sudo -e` is better.
Aside from forcing vim onto innocent users?
> I feel that it's better than `sudo -e`, but would love to see an example where `sudo -e` is better.
It is way worse than `sudo -e`, because it runs the entire editor as root, whereas `sudo -e` runs a few file copies / move as root. So `sudo -e` has a significantly lower amount of stuff in the "secure zone", and thus, much in the same way `doas` is more secure than `sudo`, `sudo -e` is a lot more secure than running the entire editor.
It also works with anything you can set as $EDITOR.
Some editors (like vscode) will outright refuse to run as root by default.
Re: Alpine Linux 3.15
#50I'm familiar with Alpine in container scenarios, but is there any mileage to using it as a day-to-day desktop distro?
Not really. It's not designed for that. It's designed to be as lightweight as possible. also, instead of Glibc, it uses musl, which although is supposed to be binary-compatible, does have some gotchas, so the larger the system, with more apps and libraries running on it expecting glibc, will have issues.