Help with Projects - process in wrong project


 
Thread Tools Search this Thread
Operating Systems Solaris Help with Projects - process in wrong project
# 1  
Old 05-21-2008
Help with Projects - process in wrong project

So I have 2 projects (proj1 and proj2) and 2 users (usr1 and usr2). Entries in /etc/project and /etc/user_attr to assign usr1 to proj1 (collectively the app) and usr2 to proj2 (collectively the db). All looks just great, but I see process that are owned by usr2, but have a projid from proj1. usr1 has no rights to that project as dictated by /etc/user_attr and has not even been assigned to that project as seen in /etc/project. So how can this happen?

Granted yes, the app makes connections to the db to do work, but these are DB processes in the app's project. And yes, I can use newtask to reassign them back to their correct project, but if this is going to happen a lot, it sounds like something might be wrong, no?

Any ideas what to look at and how this might have happened?

TIA.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

FINDING DUPLICATE PROJECT ( directory project )

I have a project tree like that. after running find command with the -no -empty option, i am able to have a list of non empty directory DO_MY_SEARCH="find . -type d -not -empty -print0" MY_EXCLUDE_DIR1=" -e NOT_IN_USE -e RTMAP -e NOT_USEFULL " echo " " > $MY_TEMP_RESULT_1 while... (2 Replies)
Discussion started by: jcdole
2 Replies

2. Solaris

Projects in Solaris 10

I need help with projects in Solaris 10, sparc system; and I am fairly new at this. I know I can add new parameters for projects in /etc/projects or projmod -a -K "task.max-lwps=(priv,100,deny)" myproject I know that there are current process using that old attribute. Logging the user out and... (3 Replies)
Discussion started by: br1an
3 Replies

3. News, Links, Events and Announcements

A new project was posted on The UNIX and Linux Forums project board.

A new project was posted on your project board. Project title: Bash Shell Tutoring Estimated Budget: $50/hr Start date: Immediately Required skills: Linux, Bash, Shell, UNIX I work as a datawarehouse designer and developer. Although I usually stick to the role of an analyst,... (0 Replies)
Discussion started by: Neo
0 Replies

4. Shell Programming and Scripting

Why result is wrong here ? whether break statement is wrong ?

Hi ! all I am just trying to check range in my datafile pls tell me why its resulting wrong admin@IEEE:~/Desktop$ cat test.txt 0 28.4 5 28.4 10 28.4 15 28.5 20 28.5 25 28.6 30 28.6 35 28.7 40 28.7 45 28.7 50 28.8 55 28.8 60 28.8 65 28.1... (2 Replies)
Discussion started by: Akshay Hegde
2 Replies

5. Solaris

what is the use of /etc/project file and project administration commands?

i have two doubts.. 1. what is the use /etc/project file. i renamed this file and when i tried to switch user or login with some user account the login was happening slowly. but when i renamed it to original name it was working fine... why so? 2. unix already has useradd and grouadd for... (4 Replies)
Discussion started by: chidori
4 Replies

6. Shell Programming and Scripting

Killing the Wrong Background Process

BASH on Solaris Hi All, I posted a problem whereby I was looking to Kill a background (calling Send)mail) process after a certain time had elapsed. A User Scottn very kindly provided a useful function to do this as below CheckAndKill() { sleep "$EMAIL_TIMEOUT_THEN_KILL" ... (2 Replies)
Discussion started by: satnamx
2 Replies

7. Shell Programming and Scripting

Interested in getting new projects

Hi , I am interested in getting some new projects on shell scripting . Can some one suggest me some bidding site where I can get the projects. Regards (0 Replies)
Discussion started by: himvat
0 Replies

8. Solaris

SSH doesn't pick up user's project from /etc/project

We have a system running ssh. When a user logs in, they do not get the project they are assigned to (they run under "system"). I verify the project using the command "ps -e -o user,pid,ppid,args,project". If you do a "su - username", the user does get the project they are assigned to (and all... (2 Replies)
Discussion started by: kurgan
2 Replies
Login or Register to Ask a Question
projects(1)							   User Commands						       projects(1)

NAME
projects - print project membership of user SYNOPSIS
projects [-dv] [ user] projects -l [projectname [projectname...]] DESCRIPTION
The projects command prints on standard output the projects to which the invoking user or an optionally specified user belongs. Each user belongs to some set of projects specified in the project(4) file and possibly in the associated NIS maps and LDAP databases for project information. OPTIONS
The following options are supported: -d Prints only default project. -l Prints verbose info on each project projectname. If no projectnames are given, info on all projects is printed. -v Prints project descriptions along with project names. OPERANDS
The following operand is supported: projectnaDisplay information for the specified project. user Displays project memberships for the specified user. EXAMPLES
Example 1: Displaying Membership for a Specified User example$ projects paul default beatles wings example$ projects ringo default beatles example$ projects -d paul beatles EXIT STATUS
The following exit values are returned: 0 Successful completion. 1 A fatal error occurred during execution. 2 Invalid command line options were specified. FILES
/etc/project Local database containing valid project definitions for this machine. ATTRIBUTES
See attributes(5) for a description of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Stability |See below. | +-----------------------------+-----------------------------+ The invocation is Evolving. The human-readable output is Unstable. SEE ALSO
getdefaultproj(3PROJECT), getprojent(3PROJECT), project(4), attributes(5) SunOS 5.10 13 May 2004 projects(1)