From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Raubenolt Newsgroups: gmane.os.tru64.managers Subject: Enhanced Security chroot question? Date: Thu, 17 Oct 2002 09:31:48 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <263166333.1034847108@Physical-Location> Reply-To: Kevin Raubenolt NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1034861563 6249 80.91.224.249 (17 Oct 2002 13:32:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 17 Oct 2002 13:32:43 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 182AlV-0001cT-00 for ; Thu, 17 Oct 2002 15:32:42 +0200 Original-Received: (qmail 24062 invoked by uid 5); 17 Oct 2002 13:33:19 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 24053 invoked by uid 49493); 17 Oct 2002 13:33:19 -0000 Original-Received: from raubenol@ohio.edu by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.51. spamassassin: 2.50-cvs. Clear:SA:0(0.6/5.0):. Processed in 0.431864 secs); 17 Oct 2002 13:33:19 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 17 Oct 2002 13:33:18 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H4400BB1OBGKG@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 17 Oct 2002 09:33:18 -0400 (EDT) Original-Received: from oak1a.cats.ohiou.edu (oak1a.cats.ohiou.edu [132.235.8.45]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H4400B0XOB5KT@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 17 Oct 2002 09:33:05 -0400 (EDT) Original-Received: from Physical-Location (dhcp-196-052.cns.ohiou.edu [132.235.196.52]) by oak1a.cats.ohiou.edu (8.12.0.Beta19/8.12.0.Beta19) with ESMTP id g9HDVoOl888804 for ; Thu, 17 Oct 2002 09:31:50 -0400 (EDT) Original-To: tru64-unix-managers@ornl.gov X-Mailer: Mulberry/2.2.1 (Win32) Content-Disposition: inline Xref: main.gmane.org gmane.os.tru64.managers:2102 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2102 Sorry if this is a dup, but I signed the previous message which upset the mailing-daemon which indicated the message was not sent. I have a machine running Enhanced Security (C2) Tru64UNIX 5.1A which I have to give "non-sysadmins" access to. I want to chroot them into a directory to prevent the users from causing any harm to my system. I have configured a login shell that will do this. This directory also has /bin, /etc, /usr, ... in-order for the users to execute commands. However, I have run into a couple of problems. 1. passwd does not work when the user logs into his/her account. >passwd Change password: : unknown user. I assume this is caused because I have not moved the TCB database into the user directory. My question is how would you accomplish this chroot user environment which would support password changes? Is it as simple as moving the TCB database and files? My concern would be that the user accounts profiles would be separate from the system database and password changes would not "actually" change the user's passwd. 2. I believe this is linked to the previous problem of user profiles not being available but ps, w, and uptime do not provide information on processes or users. Kevin Raubenolt Network Engineer Ohio University Communication Network Services ------------------------------------------------------- My PGPKEY: http://oak.cats.ohiou.edu/~raubenol/pgp.html or http://pgpkeys.mit.edu/ search: raubenol