Solaris 9 - /etc/projects - user.username default project not default in initial shell

From: LOEWENTHAL Simon (sloewenthal@gemini.edu)
Date: Wed Aug 24 2005 - 11:59:08 EDT


Hi everyone,

Just a quickie question here. I'm trying to set up default projects for
users as I wish to test resource allocation (Containers) afore we by
into a SunRay set-up.

In the /etc/project I have this entry:

user.jchow:3032:John Chow:jchow::project.cpu-shares=(privileged,1,deny)

I thought that when user jchow logged in he would be assigned user.jchow
as his default project, but when he logs in he still gets the standard
project

[jchow@test]jchow$ id -p
uid=3032(jchow) gid=10(staff) projid=0(system)

However, if I su to the user the default project changes:

# su - jchow
[jchow@test]jchow$ id -p
uid=3032(jchow) gid=10(staff) projid=3032(user.jchow)

I have the same affect when the user starts a new session via dtlogin.
Gnome starts (or whichever windows mgr used), but all new terminals
launched have the system project and not the user.jchow project. Su
from there to the user and all us well.

SunOS gateway 5.9 Generic_118558-11 sun4u sparc SUNW,Sun-Fire-V210

Does anyone know why this doesn't work?

Cheers, Simon.

-- 
ISG/Gemini/AURA
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:31:22 EDT