You are not logged in.

#1 2003-10-08 16:58:51

markb
Member
Registered: 2003-08-07
Posts: 9

Root password

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

#2 2003-10-08 17:08:42

red_over_blue
Member
Registered: 2003-07-19
Posts: 152

Re: Root password

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

#3 2003-10-08 17:12:03

red_over_blue
Member
Registered: 2003-07-19
Posts: 152

Re: Root password

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

#4 2003-10-08 17:28:36

Jagged
Member
From: Blacksburg, VA
Registered: 2003-07-18
Posts: 153

Re: Root password

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

Board footer

Powered by FluxBB