Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

adrian_vg

Re: No root login on sshd

adrian_vg wrote:

adrian_vg wrote:

What do I do if "no root login" is set in the sshd_config (for security reasons) and I need scripted access via WinSCP to the logs in /var/log/httpd on the remote side?

Normal users are usually not allowed to access these log as you may know, on linux systems.

Any ideas on this?

TIA.


Never mind. Didn't look through the FAQ good enough.

Found https://winscp.net/eng/docs/faq_su.


Nope. Still can't make it work. I added "adrian_vg ALL=(ALL) NOPASSWD: ALL" to sudoers file on my fedora core 5-install. Still no go.

Shouldn't this be enough.
adrian_vg

Re: No root login on sshd

adrian_vg wrote:

What do I do if "no root login" is set in the sshd_config (for security reasons) and I need scripted access via WinSCP to the logs in /var/log/httpd on the remote side?

Normal users are usually not allowed to access these log as you may know, on linux systems.

Any ideas on this?

TIA.


Never mind. Didn't look through the FAQ good enough.

Found https://winscp.net/eng/docs/faq_su.
adrian_vg

No root login on sshd

What do I do if "no root login" is set in the sshd_config (for security reasons) and I need scripted access via WinSCP to the logs in /var/log/httpd on the remote side?

Normal users are usually not allowed to access these log as you may know, on linux systems.

Any ideas on this?

TIA.