From owner-freebsd-questions@FreeBSD.ORG Fri Apr 1 19:03:55 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE41216A4CE for ; Fri, 1 Apr 2005 19:03:55 +0000 (GMT) Received: from cowbert.2y.net (d46h180.public.uconn.edu [137.99.46.180]) by mx1.FreeBSD.org (Postfix) with SMTP id 65C8143D4C for ; Fri, 1 Apr 2005 19:03:55 +0000 (GMT) (envelope-from sirmoo@cowbert.2y.net) Received: (qmail 9852 invoked by uid 1001); 1 Apr 2005 19:03:54 -0000 Date: Fri, 1 Apr 2005 14:03:54 -0500 From: "Peter C. Lai" To: questions@freebsd.org Message-ID: <20050401190354.GD436@cowbert.2y.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: changing umask in ssh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 19:03:56 -0000 I want to be able to set some users' umask to 002 after they login via ssh. Do I have to enable UseLogin to do this from login.conf? or is there another method? The purpose for this is that I want to implement group-based write privs without having to do ACLs which would be overkill for this. So that all files created by these users (who are in the same group) would have initial permissions set to 664 so that other members of the group can write to these files. -- Peter C. Lai University of Connecticut Dept. of Molecular and Cell Biology Yale University School of Medicine SenseLab | Research Assistant http://cowbert.2y.net/