Mail Archives: cygwin/2006/02/27/05:38:09
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/
- Raw text -