X-Spam-Check-By: sourceware.org Message-ID: X-Sender: karlm30 AT hotmail DOT com In-Reply-To: <20060227103750.GD30238@calimero.vinschen.de> From: "Karl M" To: cygwin AT cygwin DOT com Subject: Re: ssh-host-config (/var/log/lastlog) Date: Mon, 27 Feb 2006 11:38:10 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi All... It was fun while it lasted 8-) Perhaps the permissions/owner for lastlog as a file should be 644/system.none It works for me and protects the log a bit better. Thanks, ...Karl >From: Corinna Vinschen Subject: Re: ssh-host-config (/var/log/lastlog) >Date: Mon, 27 Feb 2006 11:37:50 +0100 > >On Feb 24 08:02, Karl M wrote: > > Hi All... > > > > I set up lastlog as a directory and it works great 8-) > > > > In the case where ssh-host-config detects that /var/log/lastlog esists >and > > is a directory, it sets the permissions on the directory to 0777. It >seems > > like it should set the sticky-bit here (1777) to protect the individual > > files in /var/log/lastlog. > >Hmm, yes, you're right. I'll change that in the script. However, while >sshd works fine with a lastlog directory, it's not quite right to allow >both variations (file/dir) on Cygwin. > >I don't know off-hand which applications make use of lastlog, but I'm >pretty sure you'll end up with some problems. I just had a quick look >and it seems that uucpd in inetutils uses a lastlog file and has no idea >how to handle a lastlog directory... > >So, even if it works in sshd, you're moving on thin ice. You have been >warned ;-) > > >Corinna > >-- >Corinna Vinschen Please, send mails regarding Cygwin to >Cygwin Project Co-Leader cygwin AT cygwin DOT com >Red Hat > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Problem reports: http://cygwin.com/problems.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/