Subject: Re: Problem with PAM and ssh-login
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@tac.gw.com>
List: current-users
Date: 03/21/2005 10:17:17
In article <200503211418.j2LEI6Uq006799@ector.cs.purdue.edu>,
J Chapman Flack  <flack@cs.purdue.edu> wrote:
>> | I did  "echo "" > /var/log/lastlogx" and it didnt seemed to help, what makes
>> | touch different from "" ?
>> Why don't you try it in an actual file and look at the difference?
>
>:)
>
>And if you're looking for something quicker than "touch" that still doesn't
>put in a newline, it just doesn't get any simpler than
>
># > /var/log/lastlogx
>
>(csh would say "Invalid null command" but that's csh for you.)

For csh junkies :-) there is:

echo -n "" >  /var/log/lastlogx
cp /dev/null /var/log/lastlogx

etc.

christos