You are not logged in.
Pages: 1
Hello everyone quick question...after doing an install of Arch 0.5 I have noticed that root does not have a password(its blank). How or where do I change this? I have added a user and then tried to su to edit some files I was prompted for username and password and I couldn't do it because authentication failed when I used root and hit enter for password. Any help would be greatly appreciated Thanks Mark
Offline
When you first log in as root with no password, just do the following, and this will change the password for the user you are currently logged in as (in this case root):
[root@limbo root]# passwd
Enter new UNIX password:
Retype new UNIX password:
[root@limbo root]#
Also, as root, you can set the passwords for normal users if they forget them:
[root@limbo root]# passwd john
Enter new UNIX password:
Retype new UNIX password:
[root@limbo root]#
Don't forget to post your PKGBUILD in your thread when you announce a new package in incoming.
see HERE for details
Offline
Also, I can't remember if Arch adds normal users to the "wheel" group by default. Only users in the "wheel" group are supposed to be able to su to root. Here is how I would check what groups a user belongs to, and change those groups if I want.
[root@limbo root]# groups john
users slocate abs
[root@limbo root]# usermod -G wheel,users,slocate,abs john
[root@limbo root]# groups john
wheel users slocate abs
[root@limbo root]#
Just a note, the user john must have a fresh login for the group changes to take effect.
Don't forget to post your PKGBUILD in your thread when you announce a new package in incoming.
see HERE for details
Offline
archlinux doesn't utilize the wheel group
the wheel group is supposed to be GID 0 (in arch this is group root)
you can have a wheel-group system by changing your /etc/login.defs
Nkawtg...n!
Offline
Pages: 1