LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux
User Name
Password
antiX / MX Linux This forum is for the discussion of antiX and MX Linux.

Notices


Reply
  Search this Thread
Old 05-15-2019, 06:02 AM   #1
LinWinux
LQ Newbie
 
Registered: May 2019
Location: Germany
Distribution: MX Linux & Linux Mint XFCE
Posts: 6

Rep: Reputation: Disabled
Password Bypass for Update Manager - How ???


Hi everyone. I build about 3 - 4 systems for others with MX Linux every month. Every system is a single user machine where nobody else has any granted access. So every system is a private setup on a machine for a single user.

Although I truly dislike Windows, I do believe that the automatic Windows Update system is much more pleasant, than the updates with MX Linux. It honestly irritates me to have to enter the password every time that I want to install updates on MX Linux computers. I actually had two people complain about this. Considering how these are single user private machines, I can't really fault someone for complaining.

I understand that this could be a problem from distro version to distro version where yay/nay responses may be required, but everything else should certainly (IMO) be able to update without any user input at all ....

So, how do I bypass the need for a password in order to let the update manager do its thing? Almost everyone whom I deal with is a former Windows user. Most of these people do not understand ... NOR DO THEY CARE ... about the technical intricacies which are mentioned in the update manager (terminal) Window. These users don't understand what they're looking at and they just want for the updates to install automatically whenever they're called for. Can this be achieved (easily) and how can this be done?
Thank you.

.
 
Old 05-15-2019, 06:15 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 7,776
Blog Entries: 3

Rep: Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765
Have you looked at unattended upgrades?

For example, https://libre-software.net/ubuntu-automatic-updates/ (Ubuntu, but should still apply to MX Linux?)
 
Old 05-15-2019, 08:31 AM   #3
sevendogsbsd
Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 841

Rep: Reputation: Disabled
I found it amusing that someone actually likes the windows update process The need for a password is for protection. I would follow hydrurga's advice.
 
Old 05-15-2019, 08:39 AM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 current / Linux Mint / Debian / Void Linux
Posts: 8,508

Rep: Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775
mine are not unintended updates, I just put a alias in my .bashrc and use a simpleminded command that does not take too much typing.
Code:
#void linux update and query repo
alias xp='sudo xbps-install -Suy '
alias xq='sudo xbps-query -Rs '

#slackware update, install new, install all updates
alias slackup='sudo slackpkg update'
alias slacknew='sudo slackpkg install-new'
alias slackall='sudo slackpkg upgrade-all'
so all one got a do is open a terminal and type whichever one in. sudo is set to nopasswd

sometimes people that use slippers still need to learn how to tie shoes laces.

Last edited by BW-userx; 05-15-2019 at 08:42 AM.
 
1 members found this post helpful.
Old 05-15-2019, 08:54 AM   #5
sevendogsbsd
Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 841

Rep: Reputation: Disabled
And I thought I was the only one that aliased the Void Linux update commands

Last edited by sevendogsbsd; 05-15-2019 at 10:12 AM.
 
Old 05-15-2019, 10:11 AM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 current / Linux Mint / Debian / Void Linux
Posts: 8,508

Rep: Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775
Quote:
Originally Posted by sevendogsbsd View Post
And I thought I was he only one that aliased the Void Linux update commands
yeah, and the irony in using 'xp' it always reminds me of using Windows XP
 
1 members found this post helpful.
Old 05-15-2019, 11:33 AM   #7
LinWinux
LQ Newbie
 
Registered: May 2019
Location: Germany
Distribution: MX Linux & Linux Mint XFCE
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks to everyone for your input. Will get to work on that within the next few days, to see how that works out with MX Linux. I know there's an easier way to do that though, because our Livingroom Server is also MX Linux and all I did there was to store the keyring password permanently and since then the updates go through automatically, as soon as I click on ... update. Password is not required for updating. That doesn't seem to work with MX Linux 18.2 though. Sure, I use the terminal now and then for stuff that isn't too complex, but my wife whom I switched over to Linux back in 2014, never uses the terminal ever ... and she loves her Linux (Mint with XFCE) machine.

@sevendogsbsd
Well, I used Windows professionally for 18 years, from version 3.11 for Workgroups to every version thereafter. I switched to Linux in 2009 (no dual-booting for me), but always the point n click flavor like Ubuntu, Debian, Xubuntu, Mint, and eventually MX Linux (some others in between). I specifically mentioned single user private computers because in the years that I've been using Linux, I just learned to trust that updates which show up in the update manager as being *NON* critical and *NON* experimental, are there because the developers deem them as safe and good to go. I view those updates and glance over them briefly, but to this day I haven't seen a level 1, 2, or 3 Update that gave me pause and had me reconsider whether or not an item should be updated. So why should I type a password on a single user private machine, if I trust the presented updates that the developers are providing?
After all, we're talking about Linux and not Microsoft.

When I said that I like the Windows update process, I meant the speed that's finally available for updates with Windows 10. I still work on client machines on a regular basis and dread those updates which take anywhere from hours to overnight sometimes. But ever since I've been installing Windows 10 I have to say that the update process ... just the process itself mind you ... has improved significantly.
 
Old 05-15-2019, 12:34 PM   #8
sevendogsbsd
Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 841

Rep: Reputation: Disabled
The password is not about trusting the provider of the updates, it's about privilege escalation. Microsoft has historically done a bad job of presenting and educating users on privilege escalation, whereas Linux and Unix implement this in a clear cut fashion.

As for updates, I was making a joke really: Microsoft has done a great job of coming out with patches for security problems very quickly. They didn't used to but in the past 10 years, this has improved tremendously. My joke was about the actual process: even as a billion dollar company, they have not yet figured out how to chain updates in a enterprise environment. I have worked in multiple enterprise environments (as a user) and patch Tuesday always requires multiple, as many as 3, reboots, because patch set "b" depends on patch set "a" which must be installed first, then the system rebooted. No other OS which I have ever used in my 20+ years of computing has ever done this besides Windows.
 
Old Yesterday, 08:48 AM   #9
LinWinux
LQ Newbie
 
Registered: May 2019
Location: Germany
Distribution: MX Linux & Linux Mint XFCE
Posts: 6

Original Poster
Rep: Reputation: Disabled
Alright, I'm thinking that I may not have expressed myself properly. The only thing that I want to do, is to by-pass the password input which is required *AFTER* viewing the available updates, which then requires the "click" to make the updates begin automatically. Well, almost automatically ... since that's the part where the user password is required.

The people who get my MX Linux laptops generally don't ever use or need the terminal. However, those are the same people who've been getting used to receiving Windows updates on their Windows machines, simply by clicking on ... search for updates ... or whatever Windows used for which ever version at the time. Like I said, I have that working on our MX 17 machine which runs the server in our livingroom and it was very simple to accomplish. This was just a one-time thing though, which is why I don't recall what it was that I did. Silly me for not making a note of it. The password is still needed everywhere else, such as for logging in, opening up synaptic, utilizing gparted, etc. It's just not needed as a confirmation for commencing with the updates.

Last edited by LinWinux; Yesterday at 08:50 AM.
 
  


Reply

Tags
bypass, ignore, manager, mx, update


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Oracle Java 7 Security Manager Bypass Vulnerability tronayne Linux - News 9 01-18-2013 12:07 AM
Squid Dansguardian allow user to bypass with password viper3two Linux - Software 5 10-14-2012 04:24 PM
How can i bypass login password screen in linux Bash neo141 Linux - Newbie 5 05-15-2009 03:16 AM
bypass username/password grim2k5 Linux - Newbie 7 08-06-2006 06:14 PM
Bypass Login Password sourlinux Linux - Security 5 02-08-2004 07:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux

All times are GMT -5. The time now is 02:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration