krhainos DD-WRT Novice Joined: 14 Aug 2006 Posts: 3
Posted: Mon Aug 14, 2006 18:26 Post subject: Quick SSH question
I turned on sshd in the web gui, but my username is still root. How would I disable username "root" and use a different username? I'm fine with the changed password.
pazuzu DD-WRT Novice Joined: 04 Jul 2006 Posts: 44
Posted: Mon Aug 14, 2006 19:03 Post subject:
I think this was discussed in older threads: You can't make non-root SSH user. _________________ D-link DI-524 -> DD-WRT v23sp1 WRT54GS v2 client bridge -> DD-WRT v23sp1 WRT54GS v1 AP and Apple AirPort Graphite base station bridge
Matthiaz DD-WRT Guru Joined: 12 Jun 2006 Posts: 635
Posted: Mon Aug 14, 2006 20:04 Post subject:
I think there was an nvram variable which could be change. But besides: who really cares? Root is the standard linux admin log in, which should not be changed anyways.
rkloost DD-WRT Guru Joined: 11 Jul 2006 Posts: 1247 Location: Nijmegen, The Netherlands
Posted: Mon Aug 14, 2006 20:09 Post subject:
Root-access via SSH is a possible security issue.
On normal unix boxes you disable ssh for root, and use 'su' or 'sudo' to do the
ssh for root is IMHO a possible security issue, especcially if you allow SSH from the
pigtail DD-WRT Novice Joined: 26 Oct 2015 Posts: 22
Per Yngve Berg DD-WRT Guru Joined: 13 Aug 2013 Posts: 6140 Location: Romerike, Norway
Posted: Sun Jul 09, 2017 20:06 Post subject:
Configure ssh to only accept a certificate from your computer instead of accepting a password.