Quick SSH question

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
krhainos
DD-WRT Novice


Joined: 14 Aug 2006
Posts: 3

PostPosted: Mon Aug 14, 2006 18:26    Post subject: Quick SSH question Reply with quote
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.
Sponsor
pazuzu
DD-WRT Novice


Joined: 04 Jul 2006
Posts: 44

PostPosted: Mon Aug 14, 2006 19:03    Post subject: Reply with quote
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

PostPosted: Mon Aug 14, 2006 20:04    Post subject: Reply with quote
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

PostPosted: Mon Aug 14, 2006 20:09    Post subject: Reply with quote
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
root-stuff.

ssh for root is IMHO a possible security issue, especcially if you allow SSH from the
internet.

Regards,
Ruud
pigtail
DD-WRT Novice


Joined: 26 Oct 2015
Posts: 22

PostPosted: Sun Jul 09, 2017 19:42    Post subject: Reply with quote
https://www.dd-wrt.com/wiki/index.php/Script_Examples#Change_root_username

Rename / Change the root username is under the wiki above.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6170
Location: Romerike, Norway

PostPosted: Sun Jul 09, 2017 20:06    Post subject: Reply with quote
Configure ssh to only accept a certificate from your computer instead of accepting a password.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum