Autologin as root in Text Mode [Solved]

Post here if you are a new Porteus member and you're looking for some help.
OldAndWeary
White ninja
White ninja
Posts: 18
Joined: 10 Jul 2012, 07:21
Location: UK

Autologin as root in Text Mode [Solved]

Post#1 by OldAndWeary » 13 May 2015, 13:39

Is it possible to auto login as root in text mode?

Note: Used to work in Porteus v1.2 ... can't make it work in v3.1

Cheers John
Last edited by OldAndWeary on 14 May 2015, 11:08, edited 1 time in total.

User avatar
Slaxmax
Contributor
Contributor
Posts: 408
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: Autologin as root in Text Mode

Post#2 by Slaxmax » 13 May 2015, 22:05

use cheatcode
cliexec=su
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Autologin as root in Text Mode

Post#3 by brokenman » 14 May 2015, 01:14

Another option is to edit /etc/inittab

Code: Select all

# These are the standard console login getties in multiuser mode:
c1:12345:respawn:/sbin/agetty -a root --noclear 38400 tty1 linux
How do i become super user?
Wear your underpants on the outside and put on a cape.

OldAndWeary
White ninja
White ninja
Posts: 18
Joined: 10 Jul 2012, 07:21
Location: UK

Re: Autologin as root in Text Mode

Post#4 by OldAndWeary » 14 May 2015, 09:09

Many thanks to both Slaxmax and brokenman !!

Have tested both suggestions ... both work

Very happy :)

Cheers
John

Post Reply