Welcome!
Important information
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.1 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Two Passwords?

barnaby
Forum Novice
Forum  Novice
Posts: 29
Joined: Sun Nov 11, 2018 2:38 pm

Two Passwords?

#1

Post by barnaby » Fri Dec 28, 2018 8:25 am

One thing that surprised me when I installed MX for the first time was that two passwords were required, one for logging in and one for root. I have been using Linux for nearly 20 years now, and this is the first time that I have encountered this. (I expect some other modern distros also have this arrangement.)
Besides my own computers I also look after my wife's laptop. It is very much in need of upgrading now, so I am planning to install MX 18 on to it. Now, all she does on her machine is emails and some browsing. She is the only one using that computer, so security from other users is not an issue. So I am wondering if I could set the two passwords to be identical. Is this allowed and if so will it cause any problems? Thanks

User avatar
richb
Administrator
Posts: 18343
Joined: Wed Jul 12, 2006 2:17 pm

Re: Two Passwords?

#2

Post by richb » Fri Dec 28, 2018 8:35 am

barnaby wrote:
Fri Dec 28, 2018 8:25 am
One thing that surprised me when I installed MX for the first time was that two passwords were required, one for logging in and one for root. I have been using Linux for nearly 20 years now, and this is the first time that I have encountered this. (I expect some other modern distros also have this arrangement.)
Besides my own computers I also look after my wife's laptop. It is very much in need of upgrading now, so I am planning to install MX 18 on to it. Now, all she does on her machine is emails and some browsing. She is the only one using that computer, so security from other users is not an issue. So I am wondering if I could set the two passwords to be identical. Is this allowed and if so will it cause any problems? Thanks
As the sole user of my computers I have always used the same password for user and root. So the answer is yes. But if there is no reason for your wife to get into root, I would set a different root password that you could use for maintenance while, I am assuming your less computer savvy wife, would be protected from possibly doing damage. No disrespect intended toward your spouse.
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 18.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

barnaby
Forum Novice
Forum  Novice
Posts: 29
Joined: Sun Nov 11, 2018 2:38 pm

Re: Two Passwords?

#3

Post by barnaby » Fri Dec 28, 2018 9:00 am

Thanks, I can see the sense in that. Up to now, with all the versions of Linux that she has used, there has ever only been one password for log on and root. This has never caused her any problems. Any updates etc which need root I see to. So, my main query you have answered, namely that having both passwords identical is acceptable. Now, decision time.

User avatar
PondLife
Forum Novice
Forum  Novice
Posts: 87
Joined: Wed May 09, 2018 12:24 pm

Re: Two Passwords?

#4

Post by PondLife » Fri Dec 28, 2018 9:21 am

While not wishing to complicate the issue now that MX18 includes LUKS encryption you can have three passwords!!
Have set mine to be slightly different but they could all be the same.
Desktop: MX-18_x64 | Intel i3-4360T | 4GB RAM | Samsung 250GB SSD

User avatar
Richard
Posts: 2575
Joined: Fri Dec 12, 2008 10:31 am

Re: Two Passwords?

#5

Post by Richard » Fri Dec 28, 2018 9:43 am

As I remember, Ubuntu was the first of my experience to deviate
from choice of separate user and root passwords.
Laptop: MX18.1: Thinkpad T430: DualCore, Intel i5-3320M, Ivy Bridge, 8GB RAM, 4.19.0-1-amd64, 119GB SSD 840PRO, Intel Graphics-Audio-Network
Netbook: MX18.1, antiX17.3: AsusTek EeePC 1005HA: Intel DualCore Atom N270, 1GB RAM, 4.19.0-1-686, 150GB HDD

User avatar
chrispop99
Forum Guide
Forum Guide
Posts: 2664
Joined: Tue Jan 27, 2009 3:07 pm

Re: Two Passwords?

#6

Post by chrispop99 » Fri Dec 28, 2018 9:56 am

Richard wrote:
Fri Dec 28, 2018 9:43 am
As I remember, Ubuntu was the first of my experience to deviate
from choice of separate user and root passwords.
I believe that's because it exclusively uses sudo for Root access.

Chris
Test machines:
32-bit non-PAE - Thinkpad T41, 1.6GHz Pentium M, 1GB RAM.
32-bit PAE - DELL Latitude D610, 1.73GHz Pentium M, 2GB RAM.
64-bit - Lenovo T61, 2GHz Core 2 Duo, 2GB RAM
64-bit - Gigabyte Z77P-D3, Intel i3-3220, GeForce 8400 GS, 4GB PC3-12800.

User avatar
Adrian
Forum Veteran
Forum Veteran
Posts: 9626
Joined: Wed Jul 12, 2006 1:42 am

Re: Two Passwords?

#7

Post by Adrian » Fri Dec 28, 2018 10:19 am

It's not an entirely bad idea to disable root account and use only sudo like Ubuntu who knows maybe we'll do in the future that... but it's strange you haven't encountered root account having a different password than the user one, that's the old Unix and Linux way.

User avatar
asqwerth
Forum Veteran
Forum Veteran
Posts: 4321
Joined: Sun May 27, 2007 5:37 am

Re: Two Passwords?

#8

Post by asqwerth » Fri Dec 28, 2018 10:52 am

PCLinuxOS asks you to enter a root account password, as does traditional Debian.

Manjaro installer gives you a choice (ie, whether you want a separate root user and password). I can't recall now but I think Fedora installer has that as well.

I think Sabayon doesn't even have sudo installed by default. Same with Void. So these 2 definitely require you to input a root password apart from your user one.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
manyroads
Forum Regular
Forum Regular
Posts: 916
Joined: Sat Jun 30, 2018 6:33 pm

Re: Two Passwords?

#9

Post by manyroads » Fri Dec 28, 2018 11:03 am

I always have the passwords the same... simple mind, simple approach. My users (my wife, Dad, sister, grandson) have developed a wonderful aversion to doing anything that approaches requiring sudo or root. ;)
"Don't believe everything you think."
Pax vobiscum,
Mark Rabideau - http://many-roads.com
MX-18 4.20.12-antix.1-amd64-smp x86_64
Dell Latitude E5470
Dual Core Intel i5-6300U (-MT MCP-)
Mem: 24GB SSD: 978.09 GiB
Reg. Linux User #449130

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 18405
Joined: Fri Dec 15, 2006 8:07 pm

Re: Two Passwords?

#10

Post by Stevo » Fri Dec 28, 2018 3:45 pm

Though not telling a user the root password seems like a good security measure, they can do the same amount of damage using sudo, so if that's the idea, they should be removed from the sudoers list.

Post Reply

Return to “Installation”