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-10-19 21:13:53

gmpassos
Member
Registered: 2008-05-21
Posts: 7

Disabling Root user on FP0.5

Hi everybody,
I'm using DNS-323 with funplug 0.5, and recently enabled root user with SSH access. But now I'm done with tests and want to disable the root user login, and return to telnet access. Is it possible? I appreciate any help. Thanks in advance.

gmpassos

Offline

 

#2 2008-10-19 21:40:47

luusac
Member
Registered: 2008-04-29
Posts: 360

Re: Disabling Root user on FP0.5

gmpassos wrote:

Hi everybody,
I'm using DNS-323 with funplug 0.5, and recently enabled root user with SSH access. But now I'm done with tests and want to disable the root user login, and return to telnet access. Is it possible? I appreciate any help. Thanks in advance.
gmpassos

Yes, kind of.  You can disable SSH (change the permissions for startup script in ffp/start/sshd.sh to not execute), make sure telnetd.sh has its execute permission set before you reboot otherwise you will have disabled both.  Note though, that both telent and ssh under ffp log in as the root user ands ssh is more secure than telnet, so why not run with that and disable telnet?  Maybe somebody else can help you configuring it so you can log in as non-root.

Offline

 

#3 2008-10-20 00:13:32

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

Re: Disabling Root user on FP0.5

Ways to make login in more secure include:
1. Disabling telnet
2. Disabling password authentication in /etc/ssh/sshd_config and requiring public/private keys for ssh login:
PasswordAuthentication no

Offline

 

#4 2008-10-20 00:14:58

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

Re: Disabling Root user on FP0.5

3. Disabling root login via ssh and only allowing user login (you can still get a root shell by su'ing to root and typing the password after you ssh in as a regular user)
PermitRootLogin no

There are also a number of other security options that you can view in /etc/ssh/sshd_config

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB