role based access control failure

From: Star Kitty (starkitty7060@yahoo.com)
Date: Mon Nov 01 2004 - 05:05:50 EST


Dear Sun Managers,

I have this problem.

I assigned the role "pass" to user susan, but when i
login into her account and "su pass" , i received
error message stated that permission denied.

$ su pass
Password:
$ passwd john
passwd (SYSTEM): Permission denied
passwd (SYSTEM): Can't change local passwd file

Permission denied

# more exec_attr
ChangePasswd:suser:cmd:::/usr/sbin/passwd:uid=0

# more prof_attr
ChangePasswd::::auths=solaris.jobs.*

# more passwd
pass:x:3001:10::/export/home/pass:/bin/pfsh

#more /etc/user_attr
# Copyright (c) 1999 by Sun Microsystems, Inc. All
SMI"::::
#::::
root::::type=normal;auths=solaris.*,solaris.grant;profiles=All
john::::type=normal
susan::::type=normal;roles=pass
pass::::type=role;profiles=ChangePasswd,All

I'm not sure what went wrong. Can someone shed some
light on this?

TIA.

Regards,
Andrew
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:38 EDT