You are not logged in.
Pages: 1
Everything I have searched and googled says to enter user passwords with the passwd [username] command. On my new installation-in-process, entering that command from root or from root/username only comes up "Enter new UNIX password", or some such. That only changes the root password, not the user password.
I'd appreciate help on fixing this. The user shows up in /etc/passwd with an "x" for the password.
Last edited by hilltownboy (2013-08-17 17:55:04)
Offline
The user shows up in /etc/passwd with an "x" for the password.
That's OK.
I'm a bit confused about what's the problem, so let's start from the beginning: at which point of the installation process did you run into trouble? You did create a new user and you can't log in?
What's the shell your user is using (the last field)? Make sure it's one of listed in /etc/shells.
Try 'passwd -d <username>'.
Offline
The installation process got me to the Arch root login (with some help from forum members). I created a new user:
cat passwd
root:x:0:0:cd home:/root:/bin/bash
bin:x:1:1:bin:/bin:/bin/false
daemon:x:2:2:daemon:/sbin:/bin/false
mail:x:8:12:mail:/var/spool/mail:/bin/false
ftp:x:14:11:ftp:/srv/ftp:/bin/false
http:x:33:33:http:/srv/http:/bin/false
uuidd:x:68:68:uuidd:/:/sbin/nologin
dbus:x:81:81:dbus:/:/sbin/nologin
nobody:x:99:99:nobody:/:/bin/false
norman:x:1000:100::/home/norman:/bin/bash/bin/bash is in /etc/shells.
I run "passwd norman" but it does not create it, just returns "Enter new UNIX password"
I try from root/norman, same result
Offline
I run "passwd norman" but it does not create it, just returns "Enter new UNIX password"
Does not create what? You enter a new password and then log in as the user.
I try from root/norman, same result
I don't understand what you mean here.
Have you tried to just log in as norman?
Last edited by karol (2013-08-17 15:49:08)
Offline
I run "passwd norman" but it does not create it, just returns "Enter new UNIX password"
I can see the misunderstandig here, it is the same output you get when creating your root password.
Here it just means that you yourselfe have to create your own user "UNIX" password, the same way you did
with root.
So just as karol mentioned, enter the password you want to use as user, and you are ready to login
as user.
Offline
Thank you karol and henk. I finally got it through my head that one has to go back to arch login: and login with the user name. I was trying to do everything from [root@arch].
Offline
I was trying to do everything from [root@arch].
You can use su https://wiki.archlinux.org/index.php/Su but logging in as a user is the right way to do it. You want to be a regular user unless it's absolutelly necessary to do something as root, at which point you can use sudo https://wiki.archlinux.org/index.php/Sudo
Offline
Pages: 1