Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
Linux noob here. How can I disable root login for dropbear?
What I've done so far
- adding DROPBEAR_EXTRA_ARGS="-w -g" into /etc/default/dropbear (not working)
- adding DROPBEAR_EXTRA_ARGS="-w -g" into /etc/init.d/dropbear (not working too)
Dropbear version dropbear-0.58-1.el6.i686.rpm installed on centos 6.
asked Aug 5, 2013 at 9:11
2311 gold badge11 silver badge33 bronze badges
Based on looking at the /etc/init.d/dropbear script from dropbear-0.58-1.el6.i686.rpm I'd say you need to have the following line in the config file /etc/sysconfig/dropbear:
After modifying the file, restart the dropbear service. If all goes well, using
ps -efw | grep dropbear should show that the options have really been passed to the executable.
answered Aug 5, 2013 at 12:08
32733 silver badges1313 bronze badges
ps -ef | grep dropbear.