I replaced sudo !! With fuck, so when I forget to use sudo, i can be rude to my computer
@DetectiveAme4 жыл бұрын
Linux is bloat! Build your own microprocessor and do low level programming instead.
@_yuri4 жыл бұрын
human lifeform is bloat become a bacteria
@GertBoers4 жыл бұрын
@@_yuri Or a fungus. ;)
@zeroday54414 жыл бұрын
@@GertBoers Nah that would be the Orks of the Warhammer 40K
@rothbardfreedom4 жыл бұрын
Matter is bloated, only energy waves are valid.
@DetectiveAme4 жыл бұрын
@@rothbardfreedom The Bing Bang was bloat! Before the universe existed things were truly minimal.
@1yaz4 жыл бұрын
doas and sudo are both bloat. Run everything as root 😂
@Waitwhat4694 жыл бұрын
users are bloat, have only root as user lol
@elsandosgrande4 жыл бұрын
@@Waitwhat469 Did you get that idea from Kali Linux?
@mehmetalibayram78694 жыл бұрын
root is bloat just use installer shell
@mehmetalibayram78694 жыл бұрын
@Nicefisher cd is bloat cuz of cd tray just use grub or bios commandline.
@mehmetalibayram78694 жыл бұрын
@Nicefisher HAHAHAHAHAHAHAHA
@blublubblub4 жыл бұрын
I don't know if I will use this, but one worry with "bloated" software even if it's just a few megs, is attack surface for security vulnerabilities. So saying "but I have a terabyte drive!" is not a good criticism against bloat worries.
@jjbailey014 жыл бұрын
Exactly. Malicious code is easier to hide in a bloated code base.
@jjbailey014 жыл бұрын
At least you have an informed opinion and make your choice knowing that. Too many people make the blind assumption that the worry about bloat is strictly about filesize. The more complex the system, the more error prone it is. Needless complexity is an invitation for failure. In this day and age of terabyte drives and multicore processors, no intelligent person is going to be against bloat because of storage space and clock cycles. There is still a valid and practical reason to detest bloat. Bloated software is more prone to bugs and security flaws. This is exactly why the OpenBSD project wrote doas and kicked sudo to the curb.
@VastyVastyVoid3 жыл бұрын
@@jjbailey01 not exactly. Bloat does matter in itself. Sure, simply running it won't register. So it's fine. Right? Now stick it in a loop. Then loop that loop. Pretty soon we're talking real money. And there's always cache misses to consider.
@VastyVastyVoid3 жыл бұрын
@@TheTurnipKing True. It comes down to what you mean by "well". Me, I consider composability an important metric here, more important than having tons of extra functionality. If you want a flexible sudo, find a way to build it without making it a monolith.
@D00000T3 жыл бұрын
@@jjbailey01 you’re right but this is also sudo, not some huge piece of software. It really isn’t hard for the developers of sudo to just maintain a good security testing habit since its really not a huge program or a super complicated one. Also you have to be a bit more realistic on the potential of security risk from bloat. Comparing how different users manage their computer is a better measure of security risk than comparing windows to linux security risk which in turn is a better measure than the program you use to access super user privileges in the linux terminal. There are a lot of other factors that have a higher risk of causing harm to your system than sudo with some that you can’t even change
@InvalidUser_4 жыл бұрын
Me: takes a step DistroTube: that's bloat just float
@AkamiChannel4 жыл бұрын
Have I been looking for an alternative to sudo? The thought never remotely crossed my mind. Am I now interested in an alternative because you made a video about it? Absolutely!
@Mr.Finkel4 жыл бұрын
it's taking all my will power to not install doas. "sudo is not bloat, sudo is not bloat, sudo is not bloat" :)
@gronki14 жыл бұрын
Actually I'm still not interested in replacing sudo 🤔
@jjbailey014 жыл бұрын
I had already switched to doas long before this video. I have absolutely no intent of turning back.
@MyszkaAgresorka4 жыл бұрын
If sudo is bloat then what to tell about Flatpaks and Snaps...
@okgfwij4 жыл бұрын
Exactly.
@sorathpanzer4 жыл бұрын
In the official repositories of Arch Linux there is opendoas, with the advantage that isn't necessary to use the double dash flag.
@sorathpanzer4 жыл бұрын
@femboy fox Yes, originally from OpenBSD guys.
@derisis133 жыл бұрын
Does it support piping? I had issues with the slicer69 port (it reads the pw from stdin no matter what)
@jjbailey013 жыл бұрын
@@derisis13 I never had issues piping with doas
@uweeby694 жыл бұрын
I thought this was meme vid. And maybe it is. But it was also kinda cool. Ty!
@crAckZ1114 жыл бұрын
Great video. I appreciate your work you do. It's been a while since I was on the front lines with alpha software and your video make me want to dive back in. I may hit your patreon because your channel is deserving of support
@JHACbiz4 жыл бұрын
I feel specially nerdy because I already knew what Doas is. Had no idea it was a thing on Linux though.
@abel65804 жыл бұрын
alias doas="doas -- " alias sudo="doas"
@michaeldina11034 жыл бұрын
Ag Thanks! That’s a fantastic idea!
@jobowobo67004 жыл бұрын
alias sudo="su -c"
@PearComputingDevices4 жыл бұрын
alias = "does"... or "do" but "do" might conflict with another command.
@SoundToxin4 жыл бұрын
@@PearComputingDevices You can always access the original command by escaping it, like "\doas" instead of "doas", so it's pretty safe to use an alias that's an existing command. Most distros I've used have "ls" aliased to ls with a couple extra arguments to color the output and such.
@jjbailey014 жыл бұрын
alias doas="sudo rm -r /"
@theignorantphilosopher48554 жыл бұрын
Of course there are applications dependent on sudo, so to avoid any issues, presuming you don't want to have sudo installed alongside doas, which seem to rather defeat the purpose, you'd need to somehow fool your package manager into thinking that it is already installed, and then you'd need to make an alias for doas, with the -- and input parameters, which is perfectly possible to do, or alternatively, and probably preferably, create a wrapper script that can be invoked when needed. However, even then there are likely to be issues from time to time, as certain applications making use of sudo, require certain sudo specific functionality. So ya, it is very interesting, but would not recommend.
@WilliamLDeRieuxIV3 жыл бұрын
5:49 when running **doas updatedb** Did you actually have to enter the password for **root** or for **dt** ? If you had to literally enter it for **root** it sounds like step backwards when compared to **sudo**
@randomness32354 жыл бұрын
As an OpenBSD & Linux user, I must say this is a good post. You should also do video on tmux (vs screen), unless you already have one? The OpenBSD team have also boosted tmux (amongst many other things).. and it's very powerful, especially when customised. Thanks for the the post.
@peacemekka3 жыл бұрын
If a program's extra features is not getting in your way then there's pretty much no reason to replace it.
@cordovajose5693 Жыл бұрын
Apparently it's taking 3 MB of disk space and he needs to reclaim those 3 MB back.
@osgrov4 жыл бұрын
At first I was sure you were in a trolling mood, but then.. This is actually great. Made the switch, thanks! :D
@Aikidox494 жыл бұрын
I'm actually going to replace sudo with doas. Great video!
@zongzoogly45494 жыл бұрын
Every since the "cat/grep debacle" any title that has "X is bloat, use Y instead" only reads as a meme to me.
@Phydoux21124 жыл бұрын
I've used doas a few times since seeing this video. Not too bad. Sometimes when I am not thinking about it I will inadvertently fallback to sudo and I'll think to myself, 'darn. I should have used doas'.
@jjbailey014 жыл бұрын
Uninstall sudo. Why keep it around?
@fuseteam4 жыл бұрын
_makes an alias sudo="doas"_
@DistroTube4 жыл бұрын
You are one of those people that fixes everything with duct tape, aren't you? :D
@fuseteam4 жыл бұрын
@@DistroTube maybe? 🤣🤣🤣 i mean i once wrote script that sets the touch screen correctly every 30 seconds or so in a dual screen set up xD
@AaronStarkLinux4 жыл бұрын
LMAO
@Waitwhat4694 жыл бұрын
maybe sudo="doas \"$@\"" to turn all of the args into a string to be passed Gotta make sure you use the 100mph ducktape you know?
@fuseteam4 жыл бұрын
@@Waitwhat469 oho~
@mendel61014 жыл бұрын
permit :wheel permit nopass
@jjbailey014 жыл бұрын
You might want to throw keepenv in there. Unless of course you're good at bouncing between between two totally disparate user profile environments.
@mendel61014 жыл бұрын
@@jjbailey01 that's a really cool option, I'll keep it in mind!
@fuseteam4 жыл бұрын
sudo does more that just grant root privs?
@xeriab4 жыл бұрын
Yes, it can run commands as other users not just super users, and it can be used with RBAC (SELinux)
@fuseteam4 жыл бұрын
@@xeriaboh cool, i did know you can log in as other users, just forgot about it hehe......... RBAC?
@xeriab4 жыл бұрын
@@fuseteam Role Based Access Control
@fuseteam4 жыл бұрын
@@xeriab ah cool!
@softwarelivre23892 жыл бұрын
I used it on postgresql all the time to enter as a different user
@SunIsLost3 жыл бұрын
DistroTube in 2030: GNU/Linux is Bloat. Use Open BSD Instead!
@gobliniarz73934 жыл бұрын
Okay, so basically you're trying to tell me that sudo is bloated and complicated? Fine, let's go further. There is more minimal alternative to sudo named doas. Yeah, okay. You're telling me that doas is better option for a person who doesn't know much about Linux. Well... no, because if someone is a newcomer to Linux enviornment, they most likely will not be using Terminal much unless they have to. Moreover, as you clearly displayed in the video, when updating your system you need type "sudo pacman (dash)Syu" on Arch-based distros whereas you need to type "doas (2 dashes) pacman -Syu" with the other one, which requires more conscious effort especially if you got used to using sudo. Plus, you don't need to know everything about the command to do basic tasks like creating a file as root. I'm not saying that one or the other is better, because I don't know much about either of those, but I don't think this I will be making the change you proposed or even recommend it to anyone. Anyway, I enjoy watching your content and wish you the best. Cheers
@gmartineza87753 жыл бұрын
Damn, I thought that title was a meme, and this was going to be a discussion about how bloat doesn't really matter or something like that
@WilliamLDeRieuxIV3 жыл бұрын
I don't really get the point of sudo vs doas. 1. Bloat / options most users won't touch (doas may have smaller installed size, but it also has options that most won't use -- which is also bloat) 2. Sudo's config file is too complicated compared to doas -- you don't have to touch sudo's config unless you need to (the defaults work out-of-the-box). To me doas is just the same old song in a different key -- eg. a different way of doing things, but not really different enough from sudo to matter.
@fanaFSF3 жыл бұрын
"one line". With sudo you don't need even one. Just add the user to the sudo group
@hicfool4 жыл бұрын
sudo is now bloat guys, i don't even know what's next lmao
@jjbailey014 жыл бұрын
Sudo has been bloat for a long time.
@dolorsitametblue4 жыл бұрын
"Arch/Debian/Fedora/*insert any distro here*" is bloat, use TinyCoreLinux instead (11mb in size)
@Amaraticando4 жыл бұрын
cat is bloat
@AlexIstrate_Ro4 жыл бұрын
st is bloat. Use the tty
@RP-kr2mg4 жыл бұрын
Puppy Linux is bloat, use Emacs instead
@matizArts4 жыл бұрын
OpenBSD gang rise up!
@dsedchenko4 жыл бұрын
Doas is available in community repo as "opendoas"
@POI5ONX4 жыл бұрын
I Think at this point you need to make a bloat playlist, But then again that would be bloat. The mind boggles!
@424ever4 жыл бұрын
We definitely need an alternative to "yes", it's so bloated!
@yannisl82594 жыл бұрын
Use "Y"
@DistroTube4 жыл бұрын
I removed "yes" from speech years ago. I found "ok" works just as well.
@jjbailey014 жыл бұрын
Just say no.
@j.h.66722 жыл бұрын
I guess he meant the Linux 'yes' command which prints 'y'.
@kmemz4 жыл бұрын
I think that the line that most people want to put in their doas.conf would be: "permit persist keepenv :wheel as root" "permit" gives the okay, "persist" makes it stay for a while, similarly to how sudo doesn't make you reenter your password for a bit, "keepenv" makes sure that it still runs commands from the user home environment, ":wheel" covers all users in the wheel group, and "as root" covers what doas is permitting, which in this case it's permitting running as the alternate user, root. set up like this, doas isn't just a similar replacement for sudo, it's almost 100% function equivalent. You can also add user specific lines, replacing "persist" with "nopass" and ":wheel" with the username, and that will allow you to enable passwordless doas on any user you make that line for. "permit nopass keepenv dt as root" would be the function used in the system exampled in the video. The full scope of what doas can do is laid out in the does.conf manpage, "man doas.conf" for the less inclined.
@kmemz4 жыл бұрын
I've also noticed that I don't need to do -- for arguments of the command I'm running with doas. I'm not sure if it's because of this config, or if it was a bug that has been fixed over the last eight months since this video.
@anshsrivastava10594 жыл бұрын
I installed opendoas with pacman and in my config file, I have "permit :wheel" to grant root privileges to the wheels group. Also, "doas pacman -Syu" worked for me with opendoas.
@LewisCampbellTech3 жыл бұрын
I really wish doas was the default on more systems. On Alpine there is no sudo by default, or doas by default, so you just pick whichever you want.
@SetszawA4 жыл бұрын
This is the demonstration that Desktop Linux is a meme at this point.
@Jess-hj8vu4 жыл бұрын
Nice to see this, I recently switched to OpenBSD and was immediately impressed with doas.
@josephbrandenburg43734 жыл бұрын
Out of curiosity, why use OpenBSD? It seems so mysterious to me. Does OpenBSD have a kernel and distros like GNU/Linux operating systems? Is it better/worse somehow? I've switched to Ubuntu because I wanted to use more free-and-open-source software. Now that I've gotten used to Ubuntu (more or less), I'm thinking about trying a different distro like Debian or Arch. I feel like I've bloated my Ubuntu install by trying to figure it out.
@Jess-hj8vu4 жыл бұрын
@@josephbrandenburg4373 a major reason someone might wanna use OpenBSD over GNU/Linux is that (in my opinion) the licensing is much better and it is very very secure. You can look into OpenBSD's security mitigations if you want to. BSD's also differ from Linux distros in a hig way when it comes to the kernel and userspace. BSD's are packaged together and are one project, while Linux is just a kernel with no userspace and GNU is all userspace with no kernel. BSD's are also more true of a Unix-like operating system in my opinion. They were all originally forks of forks of the original Unix and Linux was just made to resemble Unix.
@josephbrandenburg43734 жыл бұрын
@@Jess-hj8vu thanks. So BSD is like a direct child of UNIX, and Linux is like a branch grafted into a tree.
@Jess-hj8vu4 жыл бұрын
@@josephbrandenburg4373 yep (:
@softwarelivre23892 жыл бұрын
@@Jess-hj8vu the sad thing about BSD is that it is not GPL, so forks like Darwin and Sony's Playstation kernels end up proprietary :(
@smdias654 жыл бұрын
Cool. I didn't even know doas existed. Thanks!
@mtothem13374 жыл бұрын
'su -' is a universal way. the only inconvinience is that you have to change user to run your commands then back. instead of sudo which is a one time invocation to do both.
@frataltay45434 жыл бұрын
There was a way to use su like sudo but I don't remember how.
@nycex2674 жыл бұрын
@@frataltay4543 you can use su -c "command"
@frataltay45434 жыл бұрын
@@nycex267 Yeah that's how it was, thanks for reminding me ☺
@fishmanloveslinux79784 жыл бұрын
Great video D! I don't care what the so-called power users say I find it fascinating. I am like WOW! Should I get rid of sudo or keep it and have both of them?
@smileoa4 жыл бұрын
I want to instead sudo with doas,But yay depends sudo,What should I do?
@DJNightchild4 жыл бұрын
Friendly tip: some programs (like paru) need to sudo command to function. If your remove the sudo package, make sure to do the following after removal: "$ doas ln -sf /usr/bin/doas /usr/bin/sudo"
@marcels.70743 жыл бұрын
You can also run sudo instead of doas but you still get doas
@DJNightchild3 жыл бұрын
@@marcels.7074 only if you've installed the opendoas-sudo package
@aldotovar92313 жыл бұрын
saved me, thanks!
@jjbailey014 жыл бұрын
OpenBSD will slowly overtake Linux. Very slowly.
@shalokshalom4 жыл бұрын
So slow, that it won't happen.
@jjbailey014 жыл бұрын
@@shalokshalom never say never. That's how you end up with Microsoft holding a seat on the Linux Foundation board.
@ShiroCh_ID4 жыл бұрын
so the commands is sudo apt install doas then sudo apt remove sudo or doas apt remove sudo
@caleb-hill3 жыл бұрын
I was considering switching from sudo to doas but that double dash archaic crap is really off-putting. what I use is (s) for (sudo)'s alias, (v) for (vim) and (sv) for (sudo -E vim).
@gibranlp4 жыл бұрын
So many interesting ways to make life more complicated! Great video DT
@jjbailey014 жыл бұрын
Complicated? How so? Doas is much less complicated.
@SharunKumar Жыл бұрын
Why can't doas be sort of like a drop in, instead of using the double dash for params?
@noobsaibot87234 жыл бұрын
You cannot replace the one ring. The magic wand. The "go make me a sandwich" command. The.. dude you gonna break the internet.
@jjbailey014 жыл бұрын
Sudo sucks. The internet predates sudo. The internet will be around long after the fall of sudo.
@josephbrandenburg43734 жыл бұрын
I rather think having two programs that do one thing is bloat. Sudo is already there, and you can't get rid of it (can you? Should you?).
@johannoas13 жыл бұрын
It's all nice but in most distros sudo is already installed and it does what I want. So why would I switch? for a few MB? probably not. Usage wise sudo is a bit more user friendly I guess( or I am just used to it)
@shady4tv4 жыл бұрын
Honestly - i wouldn't call sudo bloat. I just has different advantages than doas. I wont ignore that there was a few recent exploits related to how sudo handled certain (dare I say uncommon) permission sets. This all probably is a direct result of the sudo codebase complexity. But on the other had when dealing with PAM modules for LDAP and what user should be able to call what programs. sudo clearly has the stronger feature set. This is much more useful on a multiuser type system in a business setting and as a person who uses Linux in both places it may not really be beneficial to strip parts of a program I use. I'll stick with sudo for my use case but I agree that doas is more beneficial to most users.
@The1RandomFool4 жыл бұрын
Honestly, I configure sudo maybe once when doing the initial install of the distribution, and that's it. Switching to doas doesn't really save me any time, and can require additional typing when using it. The difference in file size doesn't really matter, either, since a few megabytes really is minuscule. It's interesting, but I won't have a need for it.
@jjbailey014 жыл бұрын
Final installed size isn't the primary concern about bloat. The primary concern is debugging and performing security audits on extraneous code. What this means to you as the end user is that the more bloated choice is more likely to have bugs and security flaws. Filesize and execution speed are merely happy coincidences to choosing the less bloated option.
@Xarzith4 жыл бұрын
I'm so surprised to see all this hype over bloat instead of security concerns trying to fight for which one is the best between the two in the comments. As I see it, sudo is somewhat of a security concern as it gives the normal user within the sudoers, root privileges with their own password. doas requires the root password, which in a way, may be a security concern when used by another user (same goes for su -). That being said, it shouldn't be that much of an issue on a single user system (where hopefully good security measures are taken), but is something to keep in mind in multi user system (where root password should never be used unless absolutely needed). All in all, an interesting option, though not in my case for the bloat. I'll be definitely looking into doas in more depth for future uses both at home and for business. Thank you for sharing this with us.
@TheTurnipKing3 жыл бұрын
The key point is that while you HAVE access to those privileges, they're not "enabled" by default, which insulates you somewhat from unfortunate consequences. Prefixing Sudo to your command line should be considered an implicit statement of "I have thought about the possible consequences of my action for more than 2 seconds"
@WilliamLDeRieuxIV3 жыл бұрын
3:13 You don't have to add users to /etc/sudoers (in fact you never have to touch that file) When you create a user, you can just add them to the sudo group.
@derisis133 жыл бұрын
I have been using doas for around a year now and there's one major problem: it reads from stdin instead of the tty it was launched from. This means, there's no piping to commands you want to execute as root.
@johnnyblack42614 жыл бұрын
I don't think I like 'Doas' at all. To do a system update I have to type 'Doas -- pacman -Syyu' whereas with sudo I type 'sudo pacman -Syyu'. Doas seems more confusing as I have to type '--' if I am using flags for pacman as an example unlike sudo.
@jjbailey014 жыл бұрын
// Type the following in a terminal // and you'll never have to // worry about it again. cat 'alias doas="doas --"' > ~/.profile source ~/.profile
@FBI_Master2 жыл бұрын
oh yes saving less than one fame at 240hz and less tha 3mb on a 2tb ssd is sooo important
@JesseNeckred4 жыл бұрын
hey DT, check out opendoas on the regular Arch repos. it is more friendly with pacman. also, if you're looking for a good replacement for yay to use with doas, try pikaur. works nearly identical to yay.
@JesseNeckred4 жыл бұрын
actually, if you force yay to save a config file to ~/.config/yay/config.json, you can change the super user handler to doas
@pichass93374 жыл бұрын
OpenBSD bois ftw
@brainplot4 жыл бұрын
If you're an Arch user, yay depends on sudo so you can't uninstall sudo (unless you also want to uninstall yay). Effectively this forces you to keep both, and I don't see how this benefits you in regard to "less bloat" :/ Moreover, maybe this is just me but typing "sudo" is one of those things that's **really** sunk in my muscle memory. Switching to something else would be frustrating.
@rizkyadiyanto79224 жыл бұрын
yeah and saving 3mb of storage is meh
@brainplot4 жыл бұрын
@@rizkyadiyanto7922 That's a fair point but I'm not even criticizing that. Some people like building very minimal systems and that's okay. Also, don't see it as "saving 3MB of storage", if you look at it in percentage, I recall from the video that doas is about 35 KB in size. Well, that's about 90% smaller.
@jjbailey014 жыл бұрын
@@brainplot if you're stuck on using yay, well that sticks you with sudo. For 99.9% of unix-like system users, this restriction isn't there. Also, getting over muscle memory is as simple as: cat 'alias sudo="doas --"' > ~/.profile
@softwarelivre23892 жыл бұрын
@@jjbailey01 does that work for piping commands as root? I'm afraid that may cause some issues
@aiosquadron3 жыл бұрын
We have reached a point in which even sudo is optimized.
@MrLeeFergusson4 жыл бұрын
'su -' is less bloat...
@puyatecla99034 жыл бұрын
👆This guy gets it
@0x007A3 жыл бұрын
How is adding yourserlf to the 'wheel' group more complicated than installing 'doas' and creating /etc/doas.conf?
@alexstone6914 жыл бұрын
The only thing is i am not sure about security, everybody uses sudo but is doas used enough not to be full of exploits
@jjbailey014 жыл бұрын
Doas comes from OpenBSD. It would not be part of the official release of OpenBSD if it were full of exploits. This isn't just some randomly thrown together software. It was written because sudo's codebase is a nightmare to debug and audit. The OpenBSD team is notorious for their security auditing. If you're truly security conscious, the real question is why are you still using sudo?
@mendel61014 жыл бұрын
I didn't have problems with dashes, maybe you need the opendoas package from the standard repo?
@primalpenguin4 жыл бұрын
Computers are bloat. Write commands in the sand with a stick
@bsdims4 жыл бұрын
Now all doas needs is a GUI "enter password" screen for things like running root commands via keyboard shortcut
@EliteTester4 жыл бұрын
Unfortunately unless something has changed the persist config option does nothing in Linux systems.
@Jeremy-su3xy4 жыл бұрын
Linux users don't like those stuff. Are you gonna recommend gui eventually?
@bikutoso4 жыл бұрын
6:05 I have never had that issue. I have always used "permit persist setenv { -ENV PS1=$DOAS_PS1 SSH_AUTH_SOCK } :wheel" for my config, so could that change how that works? Also a note is the OpenBSD man page defaults to current, and might have things that are not in stable or for any other platforms. My Linux distribution didn't have the persist option until recently.
@markpaterson60244 жыл бұрын
Command: Doas -- DT says Response: Always!
@marioschroers73184 жыл бұрын
First saw this elsewhere on a KZbin channel in an intro (Wolfgang's Channel). Since the channel host uses Gentoo, I believed this to be Gentoo-specific (doas emerge). As I was planning on checking out Gentoo later this year, I was expecting to learn about doas by then. Thank you for updating me on this ☺️
@DabDavis74 жыл бұрын
Would it be wrong to alias sudo='doas'?
@DistroTube4 жыл бұрын
If aliasing is wrong, I don't want to be right.
@DabDavis74 жыл бұрын
@@DistroTube Hey brother speaking of bloat, all desktop environments and window managers are bloat. I make Aliases to launch my applications from the tty using (ex alias ff='xinit firefox $* -- :0 vt$XDG_VTNR'). If you want to open another app in a different tty simply change the $* -- :0 to :1, :2, etc. Orrrrr use a terminal emulator like Terminator and you can launch the application normally (ex. Just type firefox terminator etc.)
@nofrillsshaving42444 жыл бұрын
I added the same line in my .conf but when I try to use doas i get "Syntax error at line 1". What to do?
@praetorxyn4 жыл бұрын
Doesn't wheel have sudoer privileges by default? I can't remember, but I always put my user in wheel, whether I have to uncomment the bit in the sudoers file to give wheel sudoer privileges ornot.
@bobgrimes86184 жыл бұрын
Bloat has become a meme for DT!
@dougbeney63994 жыл бұрын
6:17 That kind of ruins it for me. Should have kept is simpler like in sudo there.
@DistroTube4 жыл бұрын
This problem only comes up if the program you are running is using a flag that doas also has. So when I did "doas pacman -Syu", doas has a -u flag. Hence, the need for the double dash. But you can solve this problem by simply aliasing "doas" to always be "doas --".
@dougbeney63994 жыл бұрын
@@DistroTube I feel like they could solve this problem by requiring all doas flags to be specified BEFORE the actual command. doas --my-doas-flags-go-here emacs -nw -q
@jjbailey014 жыл бұрын
@@dougbeney6399 your feature request requires additional code, which leads to complexity, extra work in debugging and code auditing and general bloat. In reality, your suggestion is not the simpler choice. The solution currently presented in doas requires none of that. It works flawlessly with no additional code. If you like bloat and needless functionality, it sounds like sudo is a perfect match for you. For the rest of us who prefer clean simple code that is easy to audit, there is doas.
@knucklehead99-z1w4 жыл бұрын
Can you do a "tty is bloat" video?
@MsKarlason4 жыл бұрын
Which font do you use? It's too awesome.
@DistroTube4 жыл бұрын
Mononoki
@wolfattackx4 жыл бұрын
What is the name of the font you are using
@donpeer44773 жыл бұрын
Why edit the sudo configuration file? Just "sudo adduser username sudo; usermod -a -G username; gpasswd -a username sudo" Alright, I've installed doas on my Debian 11 EDC (every day computer). Should I uninstall sudo or should I just remove users from conf?
@Epsilonsama3 жыл бұрын
doas works a bit differently in OS outside of OpenBSD. doas in OpenBSD has kernel calls exclusive to it which is implemented differently in the more portable version of doas which is used in FreeBSD, MacOS and GNU/Linux. That being said the config file for doas is amazingly simple, it's plain English so a novice wont be doing any mistakes configuring it unlike with sudo where it's easy to screw things up for first timers which is why visudo command was created.
@s92091222224 жыл бұрын
What's the difference between opendoas and doas?
@GafftheHorse4 жыл бұрын
The need to add '- -' in some cases (but not all) kind of a negative as regards how useful it is for newbies.
@ArsenGaming4 жыл бұрын
I have been doing that for a while! I even wrote my software to be able to change command to use for root in config
@jjbailey014 жыл бұрын
In this day and age of terabyte drives and multicore processors, no intelligent person is going to be against bloat because of storage space and clock cycles. There is still a valid and practical reason to detest bloat. Bloated software is more prone to bugs and security flaws. This is exactly why the OpenBSD project wrote doas and kicked sudo to the curb. It really did not have anything to do with saving space on a terabyte drive. The creation of doas was about streamlining the process of usage, maintenance, debugging and security audits.
@0M9H4X_Neckbeard4 жыл бұрын
Does `doas` have the ability to do `sudo -S`? I need that in some automation scripts for packer.
@tinicum544 жыл бұрын
Please donate to keep those monitors in the BG running by the unbloated peripherals so he can do as he wants.
@TheUnkow3 жыл бұрын
When a more minimal or less bloated software is being recommended it's never just because it has fewer lines of code. And fewer lines on average may mean more security but just one line is enough to jeopardize the system. Just while(true) or not escaping client input can result in a crash or hijacking your system. So when you pick a software you have to pick something you trust. Sudo is a long time champion, I love that we have less "bloated" alternatives. In my experience with most "less bloated" software, this means doas will result in minor but definitively lesser average ram and cpu usage. The only good examples of over bloated software that works better are for example the KDE desktop and Garuda Dragonized (themselves saying free ram is unused ram). In the end you can try, see the result and decide for yourself, there is a reason some people developed doas and I like that we are still not afraid to improve the core stuff that served us for years almost flawlessly.
@alphabennyrosy50684 жыл бұрын
Oh no !!! 46.60KiB opendoas opendoas is more bloated then doas. btw that is a beautiful command paste
@countmegabaron4 жыл бұрын
Nice video. Thanks for sharing
@aegis_helion Жыл бұрын
Who needs sudo, I do su
@jorschachblatant19344 жыл бұрын
Hand is bloat, use the artificial one.
@holyhelga4 жыл бұрын
well all i know i wont install somthing extra as i know sudo
@gaweyn4 жыл бұрын
KZbin is bloat, just do a podcast. Podcast is bloat, just do a newsletter. Newsletter is bloat, just blog. Blog is bloat, just host a txt on an ftp.