From owner-freebsd-questions@FreeBSD.ORG Sat Jun 7 22:32:28 2003 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 52BFA37B401 for ; Sat, 7 Jun 2003 22:32:28 -0700 (PDT) Received: from adsl-64-161-78-226.dsl.lsan03.pacbell.net (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 94DC943F75 for ; Sat, 7 Jun 2003 22:32:27 -0700 (PDT) (envelope-from oremanj@adsl-64-161-78-226.dsl.lsan03.pacbell.net) Received: (qmail 76357 invoked by uid 1001); 8 Jun 2003 05:34:08 -0000 Date: Sat, 7 Jun 2003 22:34:08 -0700 From: Joshua Oreman To: Thomas Park Message-ID: <20030608053408.GA76323@webserver.get-linux.org> References: <000901c32d7d$ca53b030$11640a0a@titanium> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000901c32d7d$ca53b030$11640a0a@titanium> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: /dev/tty keeps changing permissions..? 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: Sun, 08 Jun 2003 05:32:28 -0000 On Sat, Jun 07, 2003 at 10:21:17PM -0700 or thereabouts, Thomas Park seemed to write: > Hello, > > I've been having an interesting problem with my FreeBSD 5.0 install - > for whatever reason, the permissions and ownership on /dev/tty keep on > being automatically changed in such a way that it becomes impossible for > most users of the system to initiate outbound SSH sessions. > > I'm not sure what causes this, but after a few days of running, I'll > notice that the system has set up /dev/tty thusly: > > crw--w---- 1 tpark tty 5, 1 Jun 7 22:02 /dev/tty > > Which, of course, means that any user not myself or in group "tty" will > have problems. > > > On my previous FreeBSD 4.6 install, /dev/tty was owned by "root:wheel" > and had permissions 0666 set. > > I tried setting /dev/tty to this configuration on the new system, which > makes ssh and other tools work fine. The catch: I found that the system > will randomly revert /dev/tty to the oddball individual user ownership > and mode 0620 - I haven't been able to figure out what causes this or > when this happens. > > If anybody has any advice on how to prevent the system from doing this, > I would be much relieved! Well, I don't know what's causing it, but check the periodic scripts. Look at the ctime (`ls -lc') of the file. That's when the mode (actually, the inode) was last changed. -- Josh > > Thanks, > thomas park > > ..................................... > Thomas Park | driveSPEED Designs, LLC > e: tpark@drivespeed.com > t: +1 415 292 8915 > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"