Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)AL
Posts
8
Comments
1,086
Joined
2 yr. ago

  • So it opens the file in your editor, since you have read access to it. Then saves your changes to a temp file. Then when you close the editor it does a sudo mv tmpfile readfile?

    I checked this by checking the file ownership when running touch myself. The file is owned by root. sudo nano myself also creates a file owned by root. sudoedit myself removed at me not to run it in a writable directory.

    sudoedit: myself: editing files in a writable directory is not permitted

    So I ran it in a non-writable directory and the resulting file is still owned by root.

    So is the advantage of sudoedit preventing a possible escalation of privileges situation?

  • I did this with my garage door the other day. The thing squealed like crazy since we bought the house and I didn't really know how to fix it. Got some White Lithium Grease and just sprayed it into all of the hinges, greased the top rail and tightened the chain. I just love that I don't have to cringe every time I'm about to press the button to open the door.

  • I have two huskies. If I don't walk them they get destructive. I got them to help keep myself active and they're doing their job.

    Also took up Ultimate (frisbee). Such a great game, but so much running!

  • Comic Strips @lemmy.world

    Artax - The Oatmeal

    Buy Canadian @lemmy.ca

    Let's stop dicking around and talk about ditching something big: Visa and Mastercard

    Buy Canadian @lemmy.ca

    Need an alternate to Adams Dark Roast Peanut Butter

    Comic Strips @lemmy.world

    Which type of sword is the greatest?

    Fuck Cars @lemmy.ml

    Cars are too damn reflective

    Dull Men's Club @lemmy.world

    Went to the hardware store

    News @lemmy.world

    Volcano Erupts in Iceland Near Power Plant, in ‘Worst-Case Scenario’

    Canada @lemmy.ca

    Alberta halting pursuit of provincial police force