Wednesday Jun 23, 2010

Rights Profiles

A Rights Profile gives a user or role the privileges to perform one or more specified tasks. As the Primary Administrator of your system, you might not give rights profiles much thought because you basically have the authority to do everything. However, if you're creating accounts for other users on the system, it's unlikely that you want to also give them Primary Administrator powers.[Read More]

Tuesday May 25, 2010

Roles

Of all the components of Solaris' Role Based Access Control (RBAC), roles are the easiest the implement. When I explain the concept of roles to people, they immediately get it.

OpenSolaris comes with a couple of roles pre-configured, most notably root. This has led to some frustration for newcomers to OpenSolaris as they don't understand why they can't log into their system as root.

But, as there is most likely no person in your organization named 'root', why do you wnat a user account on your system for a person that doesn't exist? Who is this root user and who's accountable for what they do on the system? Over time the password for the root user account always seems to proliferate. The principle of least privilege, another RBAC concept that I'm not addressing here, is meant to limit the need to hand out root access, but even in the absence of that, wouldn't it be nice to know who's doing what as root on your system?

[Read More]

Tuesday May 11, 2010

Locking Down Apache

I noticed my Apache web server had one process that ran as root, which then forked other processes as user webservd.  The reason for this is that apache wants access to port 80, which traditionally requires root privileges. To improve upon this all-or-nothing security model, Solaris 10 introduced the concept of fine-grained privileges, and in OpenSolaris there are now 75 of them.

What this means is that I can now give a process, which has traditionally run with root privileges, just the privileges it needs to get its job done - a concept known as least privilege. The trick, of course, is figuring out which privileges a process needs.

[Read More]

Tuesday Jun 16, 2009

Security Screencasts

Today I came across 3 short screencasts by Christoph Schuba on various security related features in OpenSolaris:

Christoph's a senior engineer on the Solaris security team and a frequent presenter on the topic of OpenSolaris security at conferences. Each screencast is under 5 minutes. Enjoy.

Friday Dec 05, 2008

Understading RBAC

Role Based Access Control or RBAC is a powerful feature of OpenSolaris. However, all of the moving pieces involved can make it somewhat hard to comprehend. In this blog entry I attempt to distill what I've come to understand.

[Read More]

Sunday Sep 21, 2008

The power of pfexec

I recently got a comment on a blog entry I did a while back that explains setting up a multiboot system. The comment was from Peter Jones and he was having trouble editing the menu.lst file.  He had apparently overlooked the exact syntax that I had specified:

pfexec gedit /rpool/boot/grub/menu.lst

From the content of the comment, it appears the problem was that he did not specify pfexec, so he was unable to save changes to the file. 

That got me to thinking about how frequently in these blog entries we use pfexec, and we have never posted a detailed explanation of what it does and why it works. So I made a note to write a blog entry on that topic. 

I was about to write it up when I noticed that Joerg Moellenkamp has recently published a blog entry that pretty much says exactly what I was going to write; check it out at Less known Solaris features: pfexec. In particular, make note of the part at the end where he describes how by default, the userid you create during installation of OpenSolaris 2008.05 has the all-powerful Primary Administrator rights profile assigned to it.

About

The Observatory is a blog for users of Oracle Solaris. Tune in here for tips, tricks and more as we explore the Solaris operating system from Oracle.

Connect with Oracle Solaris:


Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20
21
22
23
24
25
26
27
28
29
30
   
       
Today