You are not logged in.

#1 2003-06-09 16:14:49

sasdav
Member
Registered: 2002-11-18
Posts: 66

root password

I downloaded the three .img files this morning and made new boot diskettes frome them.  Then I go through the install the same way I have a dozen times, no problem.  After the reboot I try to login as root with a blank password and I'm told "Login incorrect"
HUH?
The login screen shows Arch Linux 0.5 (Nova), does the new version require a password for root?  If so, what is it?

Thanks

Offline

#2 2003-06-09 17:56:32

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: root password

This is likely a PAM problem.  I'll update the configs with the 'nullok' option, allowing blank passwords.  This will probably be tightened up in 0.5.

Offline

#3 2003-06-09 18:22:46

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: root password

The problem should be fixed in shadow 4.0.3-9.  Now, when you first log in as root, you will be forced to set a password.

Offline

#4 2003-06-09 19:46:32

sasdav
Member
Registered: 2002-11-18
Posts: 66

Re: root password

OK, fine.  So, how do I login?

Offline

#5 2003-06-09 19:53:47

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: root password

Well, you could either rebuild the box, using ftp.archlinux.org as your ftp server (so you get the latest n' greatest shadow package, with the fixes).

Or you can boot up with the bootdisks, then mount your root partition and edit two files to look like this:

/etc/pam.d/passwd

#%PAM-1.0
password        required        pam_unix.so shadow md5 nullok

/etc/pam.d/login

#%PAM-1.0
auth            requisite       pam_securetty.so
auth            requisite       pam_nologin.so
auth            required        pam_env.so
auth            required        pam_unix.so nullok
account         required        pam_access.so
account         required        pam_unix.so
session         required        pam_motd.so
session         required        pam_limits.so
session         optional        pam_mail.so dir=/var/spool/mail standard
session         optional        pam_lastlog.so
session         required        pam_unix.so

Offline

#6 2003-06-09 19:55:01

sasdav
Member
Registered: 2002-11-18
Posts: 66

Re: root password

Ohhh, ok.

I'll try reinstalling tomorrow as you described. 

Thanks

Offline

#7 2003-06-09 20:02:23

Howloweener
Member
From: Connecticut
Registered: 2003-06-05
Posts: 21

Re: root password

I've been trying to install via ftp too, the first time I installed the base, and couldn't login.  The second time I installed I left pam out and I still can't login...

Offline

#8 2003-06-09 20:48:33

Howloweener
Member
From: Connecticut
Registered: 2003-06-05
Posts: 21

Re: root password

Howloweener wrote:

I've been trying to install via ftp too, the first time I installed the base, and couldn't login.  The second time I installed I left pam out and I still can't login...

--OOPS--

I mistyped nullok, its working now, so disregaurd   Thank You...

Offline

Board footer

Powered by FluxBB