On Thu, Mar 2, 2017 at 11:12 PM, Robert Nelson <[email protected]> wrote: > On Thu, Mar 2, 2017 at 6:22 PM, Kurt Talke <[email protected]> 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. > > Huh? Really "I need to be able to log in as root." no you don't. > > Login as "debian" first over ssh then use sudo to switch to root user: > > aka: > > ssh [email protected] > > then "sudo su" to switch to 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? > > sudo sed -i -e 's:PermitEmptyPasswords no:PermitEmptyPasswords yes:g' > /etc/ssh/sshd_config > sudo sed -i -e 's:UsePAM yes:UsePAM no:g' /etc/ssh/sshd_config > sudo sed -i -e 's:PermitRootLogin without-password:PermitRootLogin > yes:g' /etc/ssh/sshd_config
btw, this is now docuemented here: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#i_take_full_responsibility_for_knowing_my_beagle_is_now_insecure Regards, -- Robert Nelson https://rcn-ee.com/ -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYineDHZRFn%2Bse0We5Wu40%2B2rvHs-2FiA2xmVr5BAt0xEA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
