• 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
    



  • We’ve had the youtube premium family bundle for several years, mostly for android auto in our cars. I switched to Firefox around that time as well but found it didn’t work as well for youtube. So I compromised by using Chrome for youtube and Firefox for everything else. I will continue this way for the time being, but honestly getting rid of Chrome completely would not be a big deal at this point.