You are not logged in.
Pages: 1
After a fresh installation and configuration as root, I got an error message "Incorrect login" when I tried to logon (with the correct password) as a user and root. The same error on the second reinstallation. I installed Arch many times already and no problem. (The only change is Arch with Fedora and Windows as triple-boot. But dual-boot with Fedora was ok.) Do you know where the fault may be?
Last edited by akisha (2013-08-27 09:14:57)
Offline
If you use zsh as your shell, check if you haven't run into https://bugs.archlinux.org/task/36305
Offline
zsh uses installation, if I'm not mistaken. Then is standard bash? After installation from CD, I did not install zsh or anything, only created user and reboot. With the useradd I added user to /bin/bash as in the tutorial. Without the ability to login as root is only way to change something unusual during a new installation.
Offline
Hi, fastest way to solve this, chroot into your fresh installation and change the passwd for root and user, done.
But, could you show the command you used to create the user?
Offline
useradd -m -g users -G audio,video,optical,storage,power,games,wheel -s /bin/bash akisha
I can chroot from Arch installation CD, right? I'm not sure how. Via commands: arch-chroot /mnt and passwd or /usr/bin/bash?
Offline
Your command looks okay.
Yes, you can use your CD for that.
Don't worry, there is a wiki page, explaining how it works, it's really quite simple, if I may say so.
Once chrooted, do your thing , again follow the wiki if you leave chroot, and you should be done after that.
Offline
useradd -m -g users -G audio,video,optical,storage,power,games,wheel -s /bin/bash akisha
You almost certainly do not want to use that command if you are using systemd. Membership of many of those groups can case problems. You probably want
useradd -m -g users -G wheel -s /bin/bash akisha
I'm not certain about games, however.
mount file systems
arch-chroot /mnt /usr/bin/bash
passwd
passwd akisha
Last edited by cfr (2013-08-26 23:06:44)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Hi, what is wrong with the useradd command, I always use something like that, when creating a user.
I hope you mean to not use it in chroot, because I didn't say that, I wanted to know what command was used, to create the user.
The way to change a passwd in chroot is like cfr said, but I would still advice to take a look at said wiki.
Offline
Using the installation CD and ArchWiki I successfully set a password in chroot and login is ok. Thank you very much for help!
Offline
akisha wrote:useradd -m -g users -G audio,video,optical,storage,power,games,wheel -s /bin/bash akisha
You almost certainly do not want to use that command if you are using systemd. Membership of many of those groups can case problems.
Hi, what is wrong with the useradd command, I always use something like that, when creating a user.
As cfr said, being a member of many of those groups may cause problems.
Offline
cfr wrote:akisha wrote:useradd -m -g users -G audio,video,optical,storage,power,games,wheel -s /bin/bash akisha
You almost certainly do not want to use that command if you are using systemd. Membership of many of those groups can case problems.
qinohe wrote:Hi, what is wrong with the useradd command, I always use something like that, when creating a user.
As cfr said, being a member of many of those groups may cause problems.
Thanks for your answer, ah now I see, I was still using some of the mentioned groups like that.
Although, I don't recall having any issues with it, I changed it right away.
Last edited by qinohe (2013-08-27 13:27:18)
Offline
Pages: 1