Friday, 9 November 2012

Solaris - Projects

Had to apply a Project to an account so that Oracle could be installed. 4Gb of memory was required:

Steps:


1. Create the user account (oracle)

2. Apply project settings


# projadd -U oracle -K "project.max-shm-memory=(privileged,4096,deny)" 'user.oracle' 

# projmod -s -K "project.max-sem-nsems=(priv,256,deny)" user.oracle

# projmod -s -K "project.max-sem-ids=(priv,100,deny)" user.oracle
# projmod -s -K "project.max-shm-ids=(priv,100,deny)" user.oracle

3. Check settings

# projects -l 
or
# cat /etc/project

I found a useful article where they applied the same settings but to a group.

No comments:

Post a Comment