Hi,
I’m wondering why logging in over ssh as root is not longer possible on the latest BBB image. For installing embedded lab view, I need to be able to log in as root.
I tried changing the root password, which actually shows properly in /etc/shadow, but I’m still unable to ssh in as root even with the new password. Is there any way to alter this?
-Kurt
On Thu, Mar 2, 2017 at 6:22 PM Kurt Talke <kta...@eng.ucsd.edu> wrote:Hi,
I’m wondering why logging in over ssh as root is not longer possible on the latest BBB image. For installing embedded lab view, I need to be able to log in as root.
I tried changing the root password, which actually shows properly in /etc/shadow, but I’m still unable to ssh in as root even with the new password. Is there any way to alter this?It is a basic security step. You'll need to ssh in using the debian user (with temppwd password), then use 'sudo su -' (typing the password again).To alter it, as root:sed -e "s/^PermitRootLogin without-password/PermitRootLogin yes/" -i /etc/ssh/sshd_configsystemctl restart sshdMaybe we can align on a better way to install the labview service? Can an installer be copied over to the debian user account and then installed using 'sudo'? Is there a way to have the user provide a password?
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYghc88jZUVZ7By%3D_GCWJ%2BT8E%2BLLuuHHSB5TSF-h%3Di8dfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYh6yjSUHYtDtka9YPgLaWUUBnvsGcZnW5CFpyHxu52Sgw%40mail.gmail.com.
Let me guess -- the next step will be to have the first connection to
"debian/temppwd" require the user to change the password. <G>
Well -- if I were exposing one to the wild, I'd probably delete the
debian account too, after creating a new user account.