Skip to content

u/withabeard

In this archive from Apr 2013 to May 2023

0
posts
127
comments
0
media
614
score

Top comments

I'm going to not answer the question, which will hopefully come to answering the question a bit.

With APT for instance we get to add new source to the list and continue on with our lives

You're starting with the assumption that this is a good system. I'm starting with the assumption that this is the worst of all systems. Getting used to arbitrarily dumping any old repository into a package manager is a horrible mess and a security nightmare.

In a windows-esque world you go to a programs website and you download an installer. Usually self contained and sometimes even statically built. But you quickly run into a minefield of download.com fake links and bullshit. Now you've got infected windows boxes up the wazoo. Luckly technical people know to be careful of the download sites and non-techies often can't find the download the virus link anyway.

In a full repo world, you've got a single trusted and audited source of software. It's pretty damn safe and you can trust everything in there. Install away to your hearts content, be sure that nothing will have big boob toolbar built in or random ransomware .exe. But it's a bugger if you don't find the software you want in the repo. This often happens because people can't/won't donate enough time to the central repo to add everything wanted into it.

The current "thing" of well just install this repo downloaded from my program site. It leaves you with all the trust and expectation of the repo system. With all the risk of the first! Honestly, install random repo <x> and it can overwrite system packages, mess with your dependency tree, install/modify whatever the hell it wants. It can be perfectly sane on day one, but then six months later release a random bad package. You've now got to personally audit these tiny repos, or blindly trust the authors.

Could we not enable AUR like we do with multilib?

Arch has run into the above problem of there not being enough maintainers to audit/manage the large repo. As such resources are spent on the relatively small repos. I can trust core, extra and multilib. To a slightly lesser degree I can trust community (it has less focus that core/extra but still IMO good enough focus). There simply isn't the resource available to audit AUR. You should not trust AUR without auditing it yourself. By adding it as another repo it adds a sense of audit and trust to the system.

So technically, yes AUR could be added as another repo. Practically, it'd be horribly dangerous to do so.

30 points

Wow, I didn't realise Debian had moved to that. Seems a very broken system to me.

Just to iterate over it. Sudo "super user do" IMHO should ask for your password. Lets look a little at the reason for having sudo to answer why though.

I'm probably covering stuff you already know, so apologies but it sets things up better. Clearly on a linux system we have a root account, and user accounts. Which may/not be part of groups allowed to do certain things. There is nothing stopping you creating a group that can manage all of apaches files without the users requiring sudo or any form of root privilege.

The root account operates in a different way to user accounts, in almost all cases it ignores system/group permissions and does stuff anyway. A useful tool but also a dangerous one.

One way for a team of people to operate a linux server, would be to use the tool su(1) and share the root password between them. Ignoring the chance for the password to be shared outside a trusted group of people. We don't have any form of personal identity in this system. Bob or Alice can both log in as route and I don't know which of them made what change.

So we have sudo(1). This allows me to log who did the change because they have to prove who they are each time they use the tool. I've granted you the ability to use sudo on the system, so I clearly trust you to work there and do what you need. Why would I not trust you to look after your password?

30 points

My last install was around 2013. That went through several hardware upgrades etc so not quite a full decade.

Last month I replaced the whole desktop and decided to do a fresh install. Partially because I didn't trust the old disks in there to last very long.

28 points

Lots of people are telling you how to just remove the thing.

Please bare in mind, you can mv it first.

So using the tricks below,

mv '~' something-deletable
ls something-deletable # is this actually your home directory?
rm -rf something-deletable
25 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.