I have just done a re-install of 23.5 - 64 bit.
I noticed when i did the synaptic updates the root password did not work and used the user password instead to authenticate in synaptic. This didn't happen before so i am wondering what i have done wrong. On the install i definitely checked the box for root password and then entered it below.
23.5 - root password
- DukeComposed
- Posts: 1284
- Joined: Thu Mar 16, 2023 1:57 pm
Re: 23.5 - root password
sudo privilege escalation by default requires that the system verify if you have permissions to do the thing you're asking to do. So you prove you're you by entering your user password. I believe you can still toggle this feature and make it require the root password by editing a setting in MX Tweak.jessejazza wrote: ↑Tue Apr 08, 2025 3:55 am I noticed when i did the synaptic updates the root password did not work and used the user password instead to authenticate in synaptic. This didn't happen before so i am wondering what i have done wrong. On the install i definitely checked the box for root password and then entered it below.
- jessejazza
- Posts: 59
- Joined: Sun May 04, 2008 2:45 pm
Re: 23.5 - root password
Much appreciate your quick response. Pleased to say i have found it in MX Teak - other.
I tried the 32bit version when i thought my PC was not 64bit and don't recall this.
I did read a post about Debian not setting default root privileges but was unsure if MX had implemented that.
I tried the 32bit version when i thought my PC was not 64bit and don't recall this.
I did read a post about Debian not setting default root privileges but was unsure if MX had implemented that.
Re: 23.5 - root password
Post install, you need to use MX Tweak (Other tab) and confirm your choice to use the root password.jessejazza wrote: ↑Tue Apr 08, 2025 3:55 am I have just done a re-install of 23.5 - 64 bit.
I noticed when i did the synaptic updates the root password did not work and used the user password instead to authenticate in synaptic. This didn't happen before so i am wondering what i have done wrong. On the install i definitely checked the box for root password and then entered it below.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;
In Linux, newer isn't always better. The best solution is the one that works.
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;
In Linux, newer isn't always better. The best solution is the one that works.
Re: 23.5 - root password
For me, the default setting should be the opposite. (in case of multi users, it is more secure)j2mcgreg wrote: ↑Tue Apr 08, 2025 7:14 amPost install, you need to use MX Tweak (Other tab) and confirm your choice to use the root password.jessejazza wrote: ↑Tue Apr 08, 2025 3:55 am I have just done a re-install of 23.5 - 64 bit.
I noticed when i did the synaptic updates the root password did not work and used the user password instead to authenticate in synaptic. This didn't happen before so i am wondering what i have done wrong. On the install i definitely checked the box for root password and then entered it below.
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32
- Eadwine Rose
- Administrator
- Posts: 14426
- Joined: Wed Jul 12, 2006 2:10 am
Re: 23.5 - root password
It used to be the other way around and asked upon install. IIRC.
MX-23.6_x64 July 31 2023 * 6.1.0-34amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.216.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.216.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
Re: 23.5 - root password
manual methods for setting root. in practice, always set root passwd while installing or even after 1st login to a new desktop
- open xfce-terminal
type id look along the groups shown see 27(sudo) then your good snapshots might not always restore group membership even if accounts preserved. Check same way if Personal Accounts Kept intact creating Snapshot, restore see no sudo after id cmd entered.
yet you can su - root , enter roots passwd type id and see 3 root occurrence type
usermod -aG sudo myName
exit - this will end root level and return your login account level type
id now see if 27(sudo)
right after fresh BM install and not sure gee did I answer those Root passwd questions. (some Distros have a check indicating - use same passwd for root account )
not sure, open the xfce-terminal again Or still open and you ARE of member sudo type:
sudo passwd root
your passwd
new root passwd
new root passwd (always verified 2x entry) your done. any additional account names and passwd all can be set same way sudo passwd test2 would be all the same martha bob dog cat accountnames all can be passwd set the same.
ps: BM = baremetal fresh install to storage medium.
- open xfce-terminal
type id look along the groups shown see 27(sudo) then your good snapshots might not always restore group membership even if accounts preserved. Check same way if Personal Accounts Kept intact creating Snapshot, restore see no sudo after id cmd entered.
yet you can su - root , enter roots passwd type id and see 3 root occurrence type
usermod -aG sudo myName
exit - this will end root level and return your login account level type
id now see if 27(sudo)
right after fresh BM install and not sure gee did I answer those Root passwd questions. (some Distros have a check indicating - use same passwd for root account )
not sure, open the xfce-terminal again Or still open and you ARE of member sudo type:
sudo passwd root
your passwd
new root passwd
new root passwd (always verified 2x entry) your done. any additional account names and passwd all can be set same way sudo passwd test2 would be all the same martha bob dog cat accountnames all can be passwd set the same.
ps: BM = baremetal fresh install to storage medium.
- jessejazza
- Posts: 59
- Joined: Sun May 04, 2008 2:45 pm
Re: 23.5 - root password
Thanks for your replies.
I'll have to investigate further. What i have at present is root password working for Synaptic but then strangely user password for running aptitude.
I suppose it doesn't matter using the user password for admin if one is a sole user of a home PC.
I'll have to investigate further. What i have at present is root password working for Synaptic but then strangely user password for running aptitude.
I suppose it doesn't matter using the user password for admin if one is a sole user of a home PC.