DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-11-02 06:37:39

Timber
New member
Registered: 2008-11-02
Posts: 4

sshd log file, where is it?

Hi,

any ideas where the log files are for funplug package of openssh? they do not seem to be in /var/log/...

Thanks,
Tim

Offline

 

#2 2008-11-02 07:30:52

puterboy
Member
Registered: 2008-09-18
Posts: 306

Re: sshd log file, where is it?

It uses syslog -- so look in /var/log/messages

Offline

 

#3 2008-11-02 15:47:01

Timber
New member
Registered: 2008-11-02
Posts: 4

Re: sshd log file, where is it?

Thank puterboy! I did not have the syslog deamon running. Now just need how to figure out how to make it start up on reboot...

Offline

 

#4 2008-11-02 16:36:07

silversurfer
Member
Registered: 2008-07-20
Posts: 95

Re: sshd log file, where is it?

That's pretty easy - just go to the ffp startup directory (usually "/ffp/start") and do a "chmod a+x syslogd.sh".

It is important to know that this version of syslog doesn't use a "syslog.conf" file. If you want it to do behave different than the default settings (for example log to a different directory) you need to supply the correct command line parameters. You can add/change these in the "syslogd.sh" script itself. Just look for lines starting with "klogd_flags=" and "syslogd_flags=".

On my system the header looks like this for example:

Code:

#!/ffp/bin/sh

# PROVIDE: syslogd klogd
# BEFORE: SERVERS
# REQUIRE: rcS

. /ffp/etc/ffp.subr

name="syslogd"
syslogd_flags="-O /USB/var/log/messages -l 6"
klogd_flags="-c 3"
start_cmd="syslogd_start"
stop_cmd="syslogd_stop"
status_cmd="syslogd_status"

Offline

 

#5 2008-11-03 02:13:08

Timber
New member
Registered: 2008-11-02
Posts: 4

Re: sshd log file, where is it?

Indeed that is easy... smile I was trying to figure out as well how to change the location of the log. Thanks for that Silversurfer!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB