Hello,
I've successfully created a NIS domain but I've a problem with the users in the wheel group. They become root only if the wheel group is their base group:
Information about the user (id):
Trying to become root
Any idea?
I've successfully created a NIS domain but I've a problem with the users in the wheel group. They become root only if the wheel group is their base group:
ypcat master.passwd
Code:
[root@web9 ~]# ypcat master.passwd
ALPHA:4z0djLKIWW0Go:1002:0::0:0:ALPHA:/home/ALPHA:/usr/local/bin/bash
BETA:EEcbYm70e5gT2:1004:1004::0:0:BETA:/home/BETA:/usr/local/bin/bash
Information about the user (id):
Code:
[root@web9 ~]# id BETA
uid=1004(BETA) gid=1004(BETA) groups=1004(BETA),5(operator),0(wheel)
[root@web9 ~]# id ALPHA
uid=1002(ALPHA) gid=0(wheel) groups=0(wheel)
Trying to become root
Code:
[root@web9 ~]# su - BETA
[BETA@web9 ~]$ su -
su: Sorry
[BETA@web9 ~]$
[root@web9 ~]# su - ALPHA
[ALPHA@web9 ~]$ su -
Password:
web9#
Any idea?