There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

kbin.life

MedicPigBabySaver , to aww in This is how my beautiful moron sleeps

Link isn’t working.

poopsmith ,
@poopsmith@lemmy.world avatar

Same. It looks like OP was trying to post this: imgur.com/a/iewtKqM

MedicPigBabySaver ,

Ha, good effort. Ty.

FutileRecipe , to linux in [Question] Debian sudoers and user best practice

Have you read their page about sudo? Gives some pretty good insight. For bonus points, at the bottom of that page are links for security and administration.

wiki.debian.org/sudo

deepdive OP ,

Yeah I have it in my favs, but I wanted a direct experience with people who actually know what they are doing and how ! :D

jsveiga ,

In my home pc, I don’t use sudo because my wife is the main user, and in the ultra rare occasion I need to be root in the command line (for example, if she didn’t update packages from the GUI for long, I’ll update but I like aptitude better), then I use su. It’s a LTS 18.04 Kubuntu btw. Real users don’t need root. Distro hoppers and tinkerers (nothing wrong with it) do.

On servers, I also use su. I ssh as a normal user (root ssh is usually disabled), then often immediately su, as if I’m logging into the server, it’s for root work. I sometimes su - down to some specific “service” user to do that user’s tasks (such as git on a gitlab server, or ndbadm on a HANA DB server).

I only tinker with sudo if I want to create users that will have one single purpose, which needs root permissions, such as restarting a service. In this case that user will be in the sudoers file, with permission for a single script or command, and often that command will be its default shell in /etc/passwd, and someone can ssh (pre shared key) to trigger it if necessary.

Atemu , to linux in How do you keep track of all apps you install and their configurations?
@Atemu@lemmy.ml avatar

How do you keep track of what you’ve installed/ your favorite apps?

github.com/Atemu/nixos-config/…/packages.nix

Separately, how can I backup the configurations I’m using right now.

etckeeper.branchable.com

charonn0 , to asklemmy in What would you do if you won the lottery?
@charonn0@startrek.website avatar

Keep it a secret.

medgremlin , to technology in USB battery bank recommendations?

This is the one I have and my only problems with it are that it’s a little too big to fit into a smaller purse or something, and it’s a little heavy. I can charge my phone and small tablet to full close to 20 times before it needs to be recharged, and it holds its charge just about perfectly between uses.

amazon.com/…/ref=ppx_yo_dt_b_search_asin_title?ie…

fubo , to technology in How do I know if someone has physically accessed my phone?

There are apparently some apps for this specific case, like WTMP “Who Touched My Phone”. I haven’t used it, though.

DRx , to nostupidquestions in If you represent yourself in court, can you call yourself as a witness?
@DRx@lemmy.world avatar

I am not sure if it is common place; however Rodney Alcala famously cross-examined himself

mariom , to linux in What terminal file manager that you use, if any?

Coreutils, rsync. In more complex scenarios zmv from zsh.

Yes, I almost not use any GUI to manage my files.

Jtee , to showerthoughts in The onomatopoeia, "Chugga Chugga, Choo Choo", becomes "Chugga Chugga, CHEW CHEW" when feeding a young child
@Jtee@lemmy.world avatar

No way

Sanctus , to startrek in Reddit seems all doom and gloom on the topic but what about Lemmy? And the future of Star Trek?
@Sanctus@lemmy.world avatar

Star Trek is going to be perfectly fine for now.

MaxVoltage , to linux in How do you keep track of all apps you install and their configurations?
@MaxVoltage@lemmy.world avatar

😂😂😂 😭😭😭😭

nyan , to linux in [Question] Debian sudoers and user best practice

If you have root permissions, no amount of security setup can completely keep you from shooting yourself in the foot with things like this. In the end, you’ll need to do the reading and learning.

If you’re admin’ing a multiuser machine, best practice is to use sudo with a carefully curated /etc/sudoers, to ensure that no one has more permissions than they absolutely need.

For cases where you’re the sole human user and also the admin, sudo vs. su is pretty much a wash securitywise (because something always comes up where you need full root permissions, so you can’t give yourself less). It should be sufficient to add your user to groups, never issue a command not related to package management with sudo or an su’d shell without trying it as a user first, and if it doesn’t work as a user, stopping and thinking about why not and what you were trying to do in the first place.

deepdive OP ,

never issue a command not related to package management with sudo or an su’d shell without trying it as a user first, and if it doesn’t work as a user, stopping and thinking about why not and what you were trying to do in the first place.

Thank you ! Because I was always using the root user for everything I also fucked-up my home directories, which really didn’t looked great ! I fixed everything right now (New user, new directory/file system, everything to the correct owner…) and will only add my specific user to the needed groups. I like that workflow, because having to sudo to everything with the root user really give me security concerns ! 👍

nyan ,

After a time, you do get a sense for what has to be done as root and what doesn’t, but giving commands as the root user should be the exception, rather than the rule. The idea is to habituate yourself to using a non-root shell whenever you can.

SmallAlmond , to linux in How do you keep track of all apps you install and their configurations?

Home Manager on a NixOS flake, it’s a rabbit hole but I’ve been loving it since last week!

PsyconicX , to reddit in Nuking old Reddit accounts

Exactly the same thing, but with Boost on Android. Such a shame…

skyportradio , to linux in What terminal file manager that you use, if any?
@skyportradio@mastodon.social avatar

@theodore Midnight Commander

theodore OP ,

Any spesific reason on choosing it?

skyportradio ,
@skyportradio@mastodon.social avatar

@theodore I've always used it I guess, back to Solaris, FreeBSD days, it does everything inc FTP

theodore OP ,

Nice. Will try it

ChojinDSL ,
@ChojinDSL@discuss.tchncs.de avatar

Yep, midnight commander is hands down the best file manager I’ve ever used.

sunbeam60 ,

With great respect, and speaking as someone who has used both very extensively, I would argue Total Commander (on Windows) has got the upper hand of all those traditional NC clones.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines