Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Non root sshd logging to file issues |
|---|---|
| Date: | Thu, 4 Jan 2007 10:05:33 -0500 |
Hello group,
I have successfully built and installed openssh-4.5p1 on Solaris 8.
I have successfully ran sshd as a non root user on port 5678 and
connected via putty windows client.
BUT, since I am not running it as root, I want to log everything to log
to a simple flat file owned by the non root user.
I have tried everything under the sun and have not been successfully in
getting anything written to a log file.
My unsuccessful attempts include...
/dir/network/openssh/openssh-4.5p1/sbin/sshd -e >
/dir/network/openssh/openssh-4.5p1/sshd.log 2>&1 &
/dir/network/openssh/openssh-4.5p1/sbin/sshd -e
/dir/network/openssh/openssh-4.5p1/sbin/sshd -e 2>&1 | tee
logfile &
/dir/network/openssh/openssh-4.5p1/sbin/sshd -e 2>&1
Also, the only things I have changed in my sshd_config file are...
Port 5678
UsePrivilegeSeparation no
Surely there must be a simple way for a nonroot user running sshd to log
to a simple flat, right?
Thanks much, I appreciate your help
Pete
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Is it secure to run a ssh client as root?, Ondrej.Rajmon |
|---|---|
| Next by Date: | RE: Is it secure to run a ssh client as root?, Ondrej.Rajmon |
| Previous by Thread: | Is it secure to run a ssh client as root?, Ondrej.Rajmon |
| Next by Thread: | Non root scp problem, An.H.Nguyen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |