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!
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!
FS#62208 - Non-root users are unable to login in a fresh install
Attached to Project:
Arch Linux
Opened by Vasanth Srivatsa (vasanthddeveloper) - Monday, 01 April 2019, 15:31 GMT
Last edited by Antonio Rojas (arojas) - Monday, 08 April 2019, 08:50 GMT
Opened by Vasanth Srivatsa (vasanthddeveloper) - Monday, 01 April 2019, 15:31 GMT
Last edited by Antonio Rojas (arojas) - Monday, 08 April 2019, 08:50 GMT
|
DetailsHello, I have been installing Arch Linux for at least 3 times a day from the last month. From a few days, no non-root user created during the fresh installation is able to log in. Trying to login with a non-root user in tty says: incorrect password.
Here are the commands I have used to create a non-root user once I have finished installation of Arch Linux: useradd -m -g users -G wheel -s /usr/bin/bash vasanth echo "vasanth:password" | chpasswd Note: This is my first bug report. Thank You :) |
This task depends upon
Here are the files required:
1. Passwd File: https://pastebin.com/PD4XZefG
2. Shadow File: https://pastebin.com/7F9GZU30
3. Complete Output From journalctl: https://pastebin.com/jeQaUJUi
Have you looked at the wiki for information on how to create new users?
https://wiki.archlinux.org/index.php/Users_and_groups#User_management
I have been conducting testings on Virtual Box, and real hardware as well. And none work.
please follow instructions:
https://wiki.archlinux.org/index.php/Users_and_groups#User_management
"Warning: In order to be able to log in, the login shell must be one of those listed in /etc/shells, otherwise the PAM module pam_shell will deny the login request. In particular, do not use the /usr/bin/bash path instead of /bin/bash, unless it is properly configured in /etc/shells."
My Arch installation shows:
$ cat /etc/shells
# Pathnames of valid login shells.
# See shells(5) for details.
/bin/sh
/bin/bash
But I still wonder why "/usr/bin/bash" is not accepted, and "/bin/bash" is being accepted. I noticed that /bin and /sbin are symbolic links to "/usr/bin".