Gentoo Archives: gentoo-user

From: Godzil <godzil@××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] After logging into a console. text flashes on the screen and returns to the login
Date: Sat, 30 Jan 2016 20:21:20
Message-Id: 2C71856B-D8DA-4EB3-A0D5-3C11C065EA72@godzil.net
In Reply to: Re: [gentoo-user] After logging into a console. text flashes on the screen and returns to the login by Andrew Lowe
1 I think that you can use a standard passwd command with specificaly given passwd/shadow files
2
3 But passwd can also be edited by hand, you just need to add a new entry and a not used uid, and the shadow file can also easily edited by hand, but you will need to he sure that the password hash you add is correct.
4
5 There is a way to have no password but I'll remember what to put in the Shadow file, maybe an empty entry for the password, I'm not sure, I'll take a look when I can, but I'm sure plenty of people would know here
6
7 Good luck,
8 Manoël
9
10 > Le 30 janv. 2016 à 17:24, Andrew Lowe <agl@×××××××.au> a écrit :
11 >
12 >> On 01/30/16 23:34, Godzil wrote:
13 >> So you can log from SSH or telnet but not the console?
14 >>
15 >> If not, I would check all the profile and bashrc files to be sure there is nothing wrong there.
16 >>
17 >> If you can log from outside, could you have forbidden root to log from tty0?
18 >> You should try adding another user connecting from outside, them log into that user on the local screen, if it works that mean something prevent root to log from the main terminal..
19 >>
20 >> I hope that could help,
21 >> Manoël
22 >
23 > Manoel,
24 > No access from ssh. I had to physically remove the disk from the
25 > machine, place it in another, fiddle the shadow file, then replace it in
26 > the ARM machine.
27 >
28 > Do you know of any doco that explains how to add a user manually. By
29 > manually I mean that I will have to remove the disk, place it in another
30 > machine and then manually edit the appropriate files to add a new user.
31 > I have no idea as to what I need to fiddle.
32 >
33 > Andrew
34 >

Replies