On Sat, Jul 09, 2005 at 08:37:57PM -0500, Shawn Walker wrote:
> I would say you've found a bug then. Since the roles manpage claims

Or far more likely he's done something wrong in configuring the role.

# uname -a
SunOS f3800a 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Fire
# roleadd -d /home/role/myrole -m -g 10 -s /bin/pfksh myrole
64 blocks
# passwd -d myrole
passwd: password information changed for myrole
# su - scott
$ id -a
uid=100(scott) gid=1(other) groups=1(other)
$ su - myrole
Roles can only be assumed by authorized users
su: Sorry

# usermod -R myrole scott
# su - scott
$ id -a
uid=100(scott) gid=1(other) groups=1(other)
$ su - myrole
$ id -a
uid=102(myrole) gid=10(staff) groups=10(staff)

(Same story under S10 too)

  Scott
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to