Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!ncrlnk!ncr-mpd!nike!csvisys From: csvisys@nike.ColoSpgs.NCR.COM (Susan Davis) Newsgroups: comp.unix.admin Subject: UNIX accounting by project Summary: UNIX accounting Message-ID: <671@ncr-mpd.FtCollins.NCR.COM> Date: 28 Jan 91 23:35:42 GMT References: Sender: uucp@ncr-mpd.FtCollins.NCR.COM Reply-To: csvisys%cad@MCC.COM (Susan Davis) Distribution: comp Organization: NCR Microelectronic Products Division Lines: 31 I need help with UNIX accounting. We need to be able to do project level accounting on our Sun/Solbourne network. It is possible that a user could work on several projects during a given time frame. We do not want to force the users to use separate accounts for each project however it would be acceptable for the user the run a "change" script when they needed to change the project used during any login session. My understanding of the UNIX accounting software is that it can report CPU usage by process or username. My question is, does anyone know how I can associate the CPU of usera to the several projects he may have worked on during the accounting period? One idea I thought of was to have an entry in the passwd file for each user and each of his projects. So if usera worked on projectb and projectc each of these entries in the passwd file would point to the same home directory. I tried this with each account (usera, projectb and projectc) having the same UID and GID --- This resulted in the default user being whichever account was first in the passwd file regardless of which username I used to login. I also tried this with unique UIDs --- This caused access and protection problems. Is there anyway to have a "group" owned account with several users having access to the group files? I am not the most experienced UNIX user so any suggestions on my accounting problems would be most appreciated!! Thanks! -------------------------------------------------------------------------------- |Susan P. Davis, Design Services | >>>> Susan.Davis@ncr-mpd | |NCR Microelectronics | >>>> Susan.Davis@ColoSpgs.NCR.COM | |Colorado Springs, CO |>>>> (719) 596-5795 x435 VOICEplus 463-0435 |