“Daryl Low” <dlo*w@qnx.com> skrev i melding
news:3E3FA49D.3020408@qnx.com…
You can log to syslogd. Simply add the following lines to your
sshd_config file:
SyslogFacility AUTH
LogLevel INFO
Supposedly the default, according to the info at the top of the sshd_config
file.
#LogLevel DEBUG3 # Insane logging
Add the following line to syslog.conf:
auth.* /var/log/auth
And make sure you run syslogd in a startup script somewhere, with an
empty file at /var/log/auth.
Thanks! This seems to work. I get login’s anyway, no logouts, but it’s a
start and it showed me some other errors. I can see that I have a lot of
trial and error to do 
I realize that some logging is time consuming and eats up hd space, but at
my stage, it’s vital to get some understanding of how things work - or
doesn’t work 
NB: would’nt slogger be a good recipient of logging messages for things like
sshd, httpd and samba? None of them seem to use it. Instead, they keep
config files in weird places and “expect” log files in even weirder
places… Looks like some guidelines are needed 
Enjoy!
I sure am. A little frustrating at times, but I’ll try and persevere!
Thanks for the support.
Cheers,
Conrad.
Daryl Low
Conrad Weyns wrote:
I have now been screwing around with qnx 6.2 from the free non
commercial
download as well as the third party package from the qnxpub100.iso for a
number of days.
Making things like httpd, samba and sshd work is a trying experience.
Config
and log files live in weird places. Some of this I have gathered from
other
posts have been fixed in 6.2.1 which is not released yet… But wouldn’t
it
be nice, if a Qnx newbie, would be presented with an installation that
sort
of worked straight out of the box?
Why does sshd refuse to log? I had to run it in -d (debug) mode to find
out.
Neither the local documentation (which is basically a snippet of what’s
found at openssh.com and not adapted to qnx, nor the documentation at
openssh.com says anything at all about logging wanting to live in
/urs/adm/lastlog. If sshd cannot find that file, it simply doesn’t log
and
does not write to slogger either. If the file exists, it only outputs 28
bytes of rubbish: êì7>ttyp1 , rubbish to me anyway.
Conrad Weyns.
\