Log in
Register
Menu
Log in
Register
Home
What's new
Latest activity
Authors
Forums
New posts
Search forums
What's new
New posts
Latest activity
Members
Current visitors
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Linux Based Receivers
Linux Receivers General
Changing root password on Linux based receivers
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="sophie101" data-source="post: 1154453" data-attributes="member: 404409"><p>My advice:-</p><p></p><p>1. <strong>Don't</strong> disconnect the telnet session immediately after the aforementioned passwd change.</p><p></p><p>2. Start a second session and verify you can still log in.</p><p></p><p>3. If this is ok, then check(or start) the ssh service. Check you can log in ( use putty on Windows).</p><p></p><p>3. stop the telnet service ( telnet was temoved from all modern distros more than a decade ago, and I have not used telnet since 2005!)</p><p></p><p>5. Create a new user account for you and add a password. Check that you can ssh in with these new credentials.</p><p></p><p>6. Backup and edit the sshd_config, and stop root from logging and allpw only your user to login:</p><p></p><p>PermitRootLogin no</p><p>AllowUsers YourUserNam</p><p></p><p>Restart sshd, and check your log files that it works/Test with a new session with your credentials.</p><p></p><p>Personally I should also set up key based authentication, disable password authentication, and drop any old types of encryption.</p><p></p><p>See here for your options:</p><p></p><p></p><p></p><p><a href="https://man.openbsd.org/sshd_config" target="_blank">sshd_config(5) - OpenBSD manual pages</a></p><p></p><p></p><p></p><p>( And for yoiur own sanity install a proper bash and vi . Busybox bash and vi is gimped beyond belief. )</p></blockquote><p></p>
[QUOTE="sophie101, post: 1154453, member: 404409"] My advice:- 1. [B]Don't[/B] disconnect the telnet session immediately after the aforementioned passwd change. 2. Start a second session and verify you can still log in. 3. If this is ok, then check(or start) the ssh service. Check you can log in ( use putty on Windows). 3. stop the telnet service ( telnet was temoved from all modern distros more than a decade ago, and I have not used telnet since 2005!) 5. Create a new user account for you and add a password. Check that you can ssh in with these new credentials. 6. Backup and edit the sshd_config, and stop root from logging and allpw only your user to login: PermitRootLogin no AllowUsers YourUserNam Restart sshd, and check your log files that it works/Test with a new session with your credentials. Personally I should also set up key based authentication, disable password authentication, and drop any old types of encryption. See here for your options: [URL='https://man.openbsd.org/sshd_config']sshd_config(5) - OpenBSD manual pages[/URL] ( And for yoiur own sanity install a proper bash and vi . Busybox bash and vi is gimped beyond belief. ) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Linux Based Receivers
Linux Receivers General
Changing root password on Linux based receivers
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top