# roleadd -u 0 -o -g 0 -G 0,1,2,3,4,5,6,7,8,9,12 -d / -s /bin/pfksh -A 
"solaris.*" -K "profiles=Web Console Management,All" -K "lock_after_retries=no" 
rr
# passwd -d rr
passwd: password information changed for rr
# roles
No roles

$ id
uid=1000(devsk) gid=1000(users) groups=1000(users),250(portage),15(wheel)
$ roles
No roles
$ su - rr
# id
uid=0(root) gid=0(root) 
groups=0(root),1(other),2(bin),3(sys),4(adm),5(uucp),6(mail),7(tty),8(lp),9(nuucp),12(daemon)
# roles
No roles
#
------------------------
it makes correct entries in user_attr, but roles command refuses to acknowledge 
the presence of role. roledel deletes it fine. '-u 0 -o' to roleadd command 
doesn't make any difference to the situation, that was done to bring the role 
as close to user root as possible and without it the behaviour is same. so, 
where did I mess up?
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to