You are not logged in.

#1 2018-05-05 20:46:13

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Enable root account?

unklar wrote:

Again I have no possibility to set up two accounts in both CLI installers
for user and root. I consider that a serious shortcoming

Try the "Expert Installer" in the "Advanced Options" sub-menu, that has an option to set the root account.

Or use this to attain a root shell:

sudo -i

Or perhaps install systemd-container and use

machinectl shell

if an environment free of variables is required glasses

sudo gpg --export --armor 8719FCE4 | apt-key add -
E: This command can only be used by root.

Is sudo root now or is an extra sausage being roasted here again?   ops

Add `sudo` before the `apt-key` command, the elevated permissions do not hold on the other side of the pipe wink


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#2 2018-05-06 07:57:45

unklar
Member
Registered: 2015-10-31
Posts: 741

Re: Enable root account?

cloverskull wrote:

Having a root user login is a security vulnerability and it offers no additional functionality. you can login any time as your regular user, assuming your regular user is a sudoer, and you can type “sudo su - root” to get a full root shell.

I made a mistake, I grew up on Linux with a user account and a root account(su).  wink
I don't need sudo. All distributions on my computers offer me the possibility to remove the sudo package after installation.
Also, in my old days I am not ready to learn again sudo what no human being needs.   devil

HoaS wrote:

Try the "Expert Installer" in the "Advanced Options" sub-menu, that has an option to set the root account.

You wrote me that once before.  cool
Nevertheless, I have not found it in three installations.
I will do it again, realizing that the Debian installer will behave just as stupid if you don't want to format the existing swap partition again.
For the next release you should use calamares.

You didn't write me anything about keepassxc. Is it the dependence libc6 ?

aptitude show keepassxc
Paket: keepassxc                                
Version: 2.3.1+dfsg.1-1
Neu: ja
Zustand: Installiert
Automatisch installiert: nein
Priorität: optional
Bereich: utils
Verwalter: Julian Andres Klode <jak@debian.org>
Architektur: i386
Unkomprimierte Größe: 9.320 k
Hängt ab von: libargon2-0 (>= 0~20160406~), libc6 (>= 2.4), libcurl3-gnutls (>= 7.16.2), libgcc1 (>= 1:4.2),
              libgcrypt20 (>= 1.8.0), libqt5core5a (>= 5.9.0~beta), libqt5dbus5 (>= 5.0.2), libqt5gui5 (>=
              5.7.0), libqt5network5 (>= 5.0.2), libqt5widgets5 (>= 5.6.0~beta), libqt5x11extras5 (>= 5.6.0),
              libsodium23 (>= 1.0.8), libstdc++6 (>= 5.2), libx11-6, libxi6, libxtst6, libykpers-1-1 (>=
              1.12.0), libzxcvbn0 (>= 0.20150103), zlib1g (>= 1:1.1.4)
Beschreibung: Cross Platform Password Manager
 KeePassXC is a free/open-source password manager or safe which helps you to manage your passwords in a secure
 way. You can put all your passwords in one database, which is locked with one master key or a key-disk. So
 you only have to remember one single master password or insert the key-disk to unlock the whole database. The
 databases are encrypted using the algorithms AES or Twofish.
Homepage: https://www.keepassxc.org/
Markierungen: uitoolkit::qt

What do you recommend?   smile

Last edited by unklar (2018-05-06 07:58:20)

Offline

#3 2018-05-06 18:37:43

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Enable root account?

unklar wrote:
HoaS wrote:

Try the "Expert Installer" in the "Advanced Options" sub-menu, that has an option to set the root account.

You wrote me that once before.  cool
Nevertheless, I have not found it in three installations.

I'm really sorry unklar, you are completely correct and there is no such option in our installer, please accept my sincere apologies for supplying misinformation (repeatedly).

To unlock your root account use

sudo passwd root

It should then be possible to remove sudo if that's what you want.

the Debian installer will behave just as stupid if you don't want to format the existing swap partition again

Yes, that is annoying hmm

If you have a disk with a GUID partition table then de-selecting the swap partition will remove it from /etc/fstab and prevent the UUID from being changed by the installer and systemd will mount it automatically on boot without delay or error cool

For the next release you should use calamares

Not a chance lol

The Debian installer is the best out there (IMO), we will *never* change.

keepassxc

That is available for Helium:

https://packages.debian.org/stretch/keepassx

Please post the output of

LC_ALL=C apt -s install keepassx

“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#4 2018-05-07 00:38:46

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,682
Website

Re: Enable root account?

Head_on_a_Stick wrote:
unklar wrote:
HoaS wrote:

Try the "Expert Installer" in the "Advanced Options" sub-menu, that has an option to set the root account.

You wrote me that once before.  cool
Nevertheless, I have not found it in three installations.

I'm really sorry unklar, you are completely correct and there is no such option in our installer, please accept my sincere apologies for supplying misinformation (repeatedly).

I don't know where you two are looking, but I've just checked (with the amd64 build2 iso) and the Helium installer does have an "expert install" option, both for EFI and Syslinux boots. OK? kRzowBN.gif

@HoaS surely you remember when we were discussing this in February?
@Unklar, it's true that Hydrogen installers did not have it.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Online

#5 2018-05-07 00:50:15

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Enable root account?

johnraff wrote:

the Helium installer does have an "expert install" option, both for EFI and Syslinux boots. OK?

Yes but does said installer offer an option to add a password for the root account?


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#6 2018-05-07 01:39:35

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,682
Website

Re: Enable root account?

Head_on_a_Stick wrote:
johnraff wrote:

the Helium installer does have an "expert install" option, both for EFI and Syslinux boots. OK?

Yes but does said installer offer an option to add a password for the root account?

no  ops

But... you can pass a boot option to overrule our preseed setting and set up a root account.
At the boot menu, choose the desired installer ("expert" is not necessary), press Tab to edit the boot command and add:

 passwd/root-login=true 

Just tested on a VM.

---
Although 'sudo passwd root' after install is probably easier.

Last edited by johnraff (2018-05-07 04:10:56)


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Online

#7 2018-05-07 04:28:55

hhh
That's easy!
Registered: 2015-09-17
Posts: 6,142
Website

Re: Enable root account?

From memory and using the Debian installer, can't one bypass formatting swap by choosing "manual" during formatting, set up your partition to be formatted, then scroll down to swap and choose "Do not format"?

Offline

#8 2018-05-07 05:20:00

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,682
Website

Re: Enable root account?

^sounds right (again from memory)


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Online

#9 2018-05-07 05:22:54

hhh
That's easy!
Registered: 2015-09-17
Posts: 6,142
Website

Re: Enable root account?

And to not install grub, choose "No", then hit automatic or just assign it to your partition anyway, it won't. It's counter-intuitive, but it works.

Offline

#10 2018-05-07 11:56:06

unklar
Member
Registered: 2015-10-31
Posts: 741

Re: Enable root account?

wink
the trick with the already existing swap partition is no longer at issue

@HoaS
Apology accepted!
To err is human and I err sometimes every day   devil

-------------------------------
but it is not about keepassx but about
keepassxc !
I'm gonna need some advice from you.   wink

Offline

#11 2018-05-07 15:43:44

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Enable root account?

johnraff wrote:

'sudo passwd root' after install is probably easier

+1

hhh wrote:

can't one bypass formatting swap by choosing "manual" during formatting, set up your partition to be formatted, then scroll down to swap and choose "Do not format"?

Actually, no hmm

The only way is to de-select the swap (ie, mark the partition as "do not use") and then allow systemd to deal with it automagically and without an entry in /etc/fstab — this only works for GPT disks but there aren't many msdos partition tables around any more.

hhh wrote:

to not install grub, choose "No", then hit automatic or just assign it to your partition anyway, it won't. It's counter-intuitive, but it works.

Not for a UEFI system, in that situation GRUB is installed to the ESP and an NVRAM boot entry is generated without prompting the user.

This is vexatious but probably justifiable: the whole point of UEFI is to simplify multi-booting.

unklar wrote:

keepassxc

That's in testing/unstable:

https://packages.debian.org/search?keyw … ection=all

Please *do not* attempt to add the testing/unstable repositories to BunsenLabs unless you enjoy gratuitous random b0rkage.

See this guide for backporting packages to the stable release:

https://wiki.debian.org/SimpleBackportCreation

Or set up an openSUSE Build Service repository to build & host the packages:

http://forums.debian.net/viewtopic.php?f=16&t=130057


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#12 2018-05-08 12:28:01

unklar
Member
Registered: 2015-10-31
Posts: 741

Re: Enable root account?

Thank you HoaS,
I have to take keepassx.   wink

Offline

Board footer

Powered by FluxBB