Results 1 to 2 of 2
Hi,
I have an application which is developed C to work on Solaris. I am working on porting this application to Linux (CentOS). I have this feature of role based ...
- 03-21-2011 #1Just Joined!
- Join Date
- Mar 2011
- Posts
- 0
Role Based Access Control
Hi,
I have an application which is developed C to work on Solaris. I am working on porting this application to Linux (CentOS). I have this feature of role based access control which I am doing it through my application. For which I have library Security Attributes Database Library. "libsecdb.so" available on Solaris. Which give me calls ensure the role based access control ( basing on the user and their profile the user is given certain previleges like System Administrator has certain previleges a normal user has certain previleges...) some of the calls which help me achieve these are "getpfornam", "setprofattr", "getuserattr", "setuserattr". These calls inturn use these files available on solaris "/etc/security/prof_attr" , "/etc/user_attr". I could not find any equivalent calls and similar functionality in Linux( CentOS). Please suggest and help
- 03-23-2011 #2
are you looking for setxattr() ? Check
man 2 setxattr- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------


Reply With Quote
