Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#31407 - cann't login with regular user account

Attached to Project: Arch Linux
Opened by woody allen (woody) - Tuesday, 04 September 2012, 06:34 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 05 September 2012, 02:05 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To No-one
Architecture x86_64
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
after install of the archlinux2012.8.04 version, I cann't login with regular user account just in tty. I just type the name and passwd and it goes back to let me login again. The root account is just fine.

Additional info:
* package version(s) archlinx 2012.8.04
* config and/or log files etc.
there is an error about the "/etc/syslog-ng/syslog-ng.conf" when I boot the system.

Steps to reproduce:
1. Install the system with archlinux2012.08.04-dual.iso
2. Boot the system, create a user with `adduser`. it prompts successful message.
3. Login. And the problem is when I type the name and passwd it just goes back to login screen. If I typed the wrong passwd, it will prompt me to retype it again. I check the /etc/passwd, the user exists in it.
This task depends upon

Closed by  Dave Reisner (falconindy)
Wednesday, 05 September 2012, 02:05 GMT
Reason for closing:  Works for me
Additional comments about closing:  Please use the forums for support. If there turns out to be a real bug here, feel free to reopen.
Comment by Evangelos Foutras (foutrelis) - Tuesday, 04 September 2012, 14:45 GMT
What's the line in /etc/passwd created for that user?
Comment by woody allen (woody) - Wednesday, 05 September 2012, 00:37 GMT
jenny:x:1002:100::/home/jenny:/bin/bash
jenny is the user
Comment by woody allen (woody) - Wednesday, 05 September 2012, 00:38 GMT Comment by Dave Reisner (falconindy) - Wednesday, 05 September 2012, 00:45 GMT
If you only called useradd, the account has no password. You need to set one with passwd.
Comment by woody allen (woody) - Wednesday, 05 September 2012, 01:59 GMT
I know that, and I just tried `adduser`, input name, groups, and passwd. I also tried `useradd`, and passwd user, set passwd with it. It doesn't work at all. I said if I just type the wrong passwd, it will prompt me to retype it again. So it's not the passwd problem.

It seems that the install of the newest arch has lost a lot resources. I don't know why. Maybe I missed something.
Comment by woody allen (woody) - Wednesday, 05 September 2012, 02:04 GMT
The following is what I did to install the arch:

I have installed Arch Linux 2011 in my laptop before, so I just format the "/" device exists, and left the "home" and "boot" and "swap" device no change.
boot Arch Linux 2012 from usb, and:

mount /dev/sdaX /mnt
mount /dev/sdaY /mnt/home
mount /dev/sdaZ /mnt/boot
setting the wireless with wpa_supplicant, and install the OS with:

pacstrap /mnt base base-devel
pacstrap /mnt grub-bios
genfstab -p /mnt >> /mnt/etc/fstab
arch-chroot /mnt, and install Grub, set the root password

start Arch Linux 2012, and add a user account with adduser username. I also tried the useradd command, but when I login with the user account in tty, after I type the password, the screen goes back to the login.

In addition, some error appears when I boot up the system. It is the "syslog-ng.conf". And I think that's why there are lack of some log files in the "/var/log" directory. And I can't use su to change the account.

I haven't encounter this on arch 2011.

Loading...