Friday, September 23, 2005
To log all inetd incoming connections
inetadm -M tcp_trace=TRUE
* logs daemon.notice where /etc/syslog.conf states
* logs daemon.notice where /etc/syslog.conf states
Add role "backup" with Media Backup rights
roleadd -P "Media Backup" -m -d /export/home/backup backup
Two ways to add a custom profile
1) Edit /etc/security/prof_attr and /etc/security/exec_attr
2) With SMC
2) With SMC
The best way to use RBAC
1) Create roles that have profiles
2) Edit profiles to have commands, scripts, and auths
3) Assign roles to users
2) Edit profiles to have commands, scripts, and auths
3) Assign roles to users
Thursday, September 22, 2005
Are there predefined roles and profiles?
No roles, but yes to profiles. New roles can be created by assigning profiles to them.
How many databases does RBAC have?
As many as letters - 4.
1) users, roles
2) authorizations
3) profiles
4) commands
1) users, roles
2) authorizations
3) profiles
4) commands
Wednesday, September 21, 2005
If ACL mask is changed after group perms,
group and mask perms will differ.
* changing group with chmod resets mask
* changing group with chmod resets mask
What's default ACL?
Applied to dirs. Subdirs will have perms that intersect with 777. Files will intersect with 666.
* 777 is default before mask for dirs in Unix
* 666 is default before mask for files in Unix
* 777 is default before mask for dirs in Unix
* 666 is default before mask for files in Unix
Set default dir1 ACL: user:rwx, group:r-x, other:r-x, mask:r-x
setfacl -m d:u::7,d:g::5,d:o:5,d:m:5 dir1