Topic "No root login on sshd"

Author Message
adrian_vg
[View user's profile]

Joined: 2006-08-21
Posts: 20
Location: Uppsala, Sweden
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.
adrian_vg
[View user's profile]

Joined: 2006-08-21
Posts: 20
Location: Uppsala, Sweden
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
[View user's profile]

Joined: 2006-08-21
Posts: 20
Location: Uppsala, Sweden
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.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License