You are not logged in.

#1 2013-06-13 23:20:46

julietbravo
Member
From: Hamburg
Registered: 2013-06-13
Posts: 5

Disable automatic login without root privileges [solved]

Well, within hours after first trying Arch I made the first 'interesting' mistake smile

I followed this: https://wiki.archlinux.org/index.php/Au … al_console approach to automatically login into KDE. This does however mean that I always log in as a user, and I can't manage to login as a root in whatever way. No matter how I log out as a user, I automatically log back in as the same user, making it impossible to login as root and change system settings or revert my settings for auto login (I didn't setup the sudo package yet).

Is there any way to (1) force Arch to login as root in this situation, or (2) revert these changes withour root privileges?

Last edited by julietbravo (2013-06-14 00:08:14)

Offline

#2 2013-06-13 23:50:53

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: Disable automatic login without root privileges [solved]

Type in "su" to change to root.

Press Ctrl-Alt-F2 to get to the second virtual console.

Offline

#3 2013-06-13 23:54:05

HalosGhost
Forum Fellow
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: Disable automatic login without root privileges [solved]

You can also just login as root in any terminal under the first virtual terminal using `su`.

All the best,

-HG

Offline

#4 2013-06-14 00:07:45

julietbravo
Member
From: Hamburg
Registered: 2013-06-13
Posts: 5

Re: Disable automatic login without root privileges [solved]

lucke wrote:

Type in "su" to change to root.
Press Ctrl-Alt-F2 to get to the second virtual console.

Hmm, I need to seriously work on my Linux skills (which is partly why I installed Arch) roll. Ctrl-Alt-F2 did the trick, thanks!

Offline

#5 2013-06-14 00:10:57

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,168

Re: Disable automatic login without root privileges [solved]

HalosGhost wrote:

You can also just login as root in any terminal under the first virtual terminal using `su`.

All the best,

-HG

Surely you meant "without needing to use `su'"?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#6 2013-06-14 00:14:32

HalosGhost
Forum Fellow
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: Disable automatic login without root privileges [solved]

cfr wrote:

Surely you meant "without needing to use `su'"?

No, I meant, that (while logged in as any user), you can open a terminal, and run `su` to do work as root. My apologies for it not being clear.

All the best,

-HG

Last edited by HalosGhost (2013-06-14 00:14:46)

Offline

#7 2013-06-14 00:21:45

julietbravo
Member
From: Hamburg
Registered: 2013-06-13
Posts: 5

Re: Disable automatic login without root privileges [solved]

Hmm, I'm pretty sure that I tried that (knowing it from other linux distro's). Would that also work (on a clean Arch system) without having the sudo package installed?

Offline

#8 2013-06-14 00:44:16

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,168

Re: Disable automatic login without root privileges [solved]

Yes.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB