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 2009-05-24 19:49:02

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Help with sudo

I frequently access my NAS via ssh remotely, and would like to block root access through ssh. I figured this would be possible by using sudo, but I don't know how to set this up.

Could someone give a little detailed instructions on how to configure and use sudo on the NAS, or point to some tutorial somewhere?


Thanks.

Offline

 

#2 2009-05-25 01:55:06

frodo
Member
From: Stockholm, Sweden
Registered: 2007-01-17
Posts: 259

Re: Help with sudo

Offline

 

#3 2009-05-25 02:25:56

Electrocut
Member
From: France
Registered: 2009-04-05
Posts: 195

Re: Help with sudo

KyleK wrote:

I frequently access my NAS via ssh remotely, and would like to block root access through ssh.

Maybe, adding "DenyUsers root" to /ffp/etc/ssh/sshd_config would be enough ?


DNS-313

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB