• 0 Posts
  • 5 Comments
Joined 2 years ago
cake
Cake day: July 17th, 2023

help-circle


  • I have a similar one as well for debian-based operating systems…

    dist-upgrade() {
        sudo apt update && sudo apt dist-upgrade && sudo apt autoremove
    }
    

    To get this to work without a password, i dropped a file in /etc/sudoers.d that allows anyone in the sudo group to sudo apt without a password.

    root@tux:~# cat /etc/sudoers.d/apt

    # Cmnd alias specification
    Cmnd_Alias COMMANDS = /usr/bin/apt, /usr/bin/apt-get, /usr/bin/dpkg
    
    # Use apt commands without a password
    %sudo ALL=(root) NOPASSWD: COMMANDS
    


  • I got my license in the early 80’s, and at that time the cheapest cars were older american beaters with utterly terrible 2 and 3-speed slushbox automatics. The alternative were Japanese cars like Honda Civics, small, reliable, manual transmission cars that got great gas mileage and were way more fun to drive. All these years later I’m still driving a manual, currently a 2021 Toyota Corolla. It’s paid for, it gets around 35 mpg, and with regular maintenance it will run until the end of time.

    I know American cars have improved a lot since the malaise era but you generally can’t get them with manual transmissions, so I’ll stick with the imports for now.