You are not logged in.

#1 2007-12-05 19:26:43

SNP
Member
From: Athens / Greece
Registered: 2007-12-05
Posts: 18

[SOLVED]Problem with su! Can't login as root!

Hello! My first post here and as the forum's section implies, I'm the newest newbie on the block! smile

Now on to my problem :X

I freshly installed Arch 64 yesterday with X and openbox. Everything looked ok, su worked fine in vc and urxvt too.

I use startx to enter openbox, so sometimes i used su in the VC to make pkgs etc. Well, sometime yesterday evening, su in the VC refused to accept my root password. I also tried logging out and logging in as root but that didn't help. As if I was typing the wrong password (which I wasn't of course).

The peculiar thing is that as soon as I started x and opened urxvt, su worked fine. Up till some minutes ago that is. Now i can't su not even through urxvt!!

I changed grub's booting options adding the option "single" in the end to boot into single user mode and used passwd to retype my root password. The process went ok, but I still can't login as root hmm

auth.log with my unsuccessful  VC logins as root:

Dec  6 06:09:19 ArchSNP login[6627]: pam_unix(login:auth): authentication failure; logname=LOGIN uid=0 euid=0 tty=vc/1 ruser= rhost=  user=root
Dec  6 06:09:23 ArchSNP login[6627]: FAILED LOGIN (1) on 'vc/1' FOR `root', Authentication failure

and my unsuccessful SU commands through urxvt:

Dec  5 21:24:56 ArchSNP su: pam_unix(su:auth): authentication failure; logname= uid=1000 euid=0 tty=pts/0 ruser=pro rhost=  user=root

I can't login as root atm :<

Thankfully I gave some sudo privileges to my user and I can reboot/shutdown/leafpad and find stuff, but that's it hmm

PS.1 I should add that I used an FTP install on Arch 64 so everything should be up-to-date.
PS.2 Don't pay attention to the date/time logged, I changed the clock/date sometime between the two log entries :>

Last edited by SNP (2007-12-05 21:48:31)

Offline

#2 2007-12-05 19:37:39

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: [SOLVED]Problem with su! Can't login as root!

PS.2 Don't pay attention to the date/time logged, I changed the clock/date sometime between the two log entries :>

I don't know crap about your problem, but I do know that the date and time has a lot to do with how computers work. A lot of programs rely on the time and current date, if this changes too much(like too a time in the past) u can lose a lot of program functionality.

Offline

#3 2007-12-05 21:48:13

SNP
Member
From: Athens / Greece
Registered: 2007-12-05
Posts: 18

Re: [SOLVED]Problem with su! Can't login as root!

Well i fixed the problem, booted into single user again and used passwd and it was fixed this time.

Sorry about all the fuss smile

Offline

Board footer

Powered by FluxBB