- 论坛徽章:
- 0
|
楼上的兄弟谢谢啊。
你再看一下,
bash-3.00# id -p oracle
uid=100(oracle) gid=101(oinstall) projid=3(default)
bash-3.00# su - oracle
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
$ id -p
uid=100(oracle) gid=101(oinstall) projid=0(system)
$ prctl -i project default
prctl: default: No controllable process found in task, project, or zone.
$ exit
bash-3.00# projmod -a-K "project.max-shm-memory=(priv,4g,deny)" default
bash-3.00# projmod -a-K "project.max-sem-ids=(priv,100,deny)" default
bash-3.00# projmod -a-K "process.max-sem-nsems=(priv,500,deny)" default
bash-3.00# projmod -a-K "project.max-shm-ids=(priv,100,deny)" default
$ cat /etc/user*
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# /etc/user_attr
#
# execution attributes for profiles. see user_attr(4)
#
#ident "@(#)user_attr 1.1 07/01/31 SMI"
#
#
adm::::profiles=Log Management
lp::::profiles=Printer Management
postgres::::type=role;profiles=Postgres Administration,All
root::::auths=solaris.*,solaris.grant;profiles=Web Console Management,All;lock_after_retries=no;min_label=admin_low;clearance=admin_high
oracle::::project=default
bash-3.00$ projects
default
bash-3.00$ prctl -i project default
prctl: default: No controllable process found in task, project, or zone.
为什么查不到oracle用户的default呢?
谢谢各位了啊。
[ 本帖最后由 niul_work 于 2009-7-15 08:58 编辑 ] |
|