On 6/12/12 3:00 PM, Oliver Fromme wrote: > Damien Fleuriot <[email protected]> wrote: > > Ok so, I've read all the replies so far and I'm a bit perplexed. > > > > Sami, before you drive 3 hours to and 3 hours fro, kindly log in as sody > > over SSH, then try "login" to connect *locally* as the root user. > > That won't work. Unless you've disabled the "securetty" check > in /etc/pam.d/login, but it is there for a reason. > > Best regards > Oliver >
Aw :( With a bit of luck, anything that would just start a command without trying for an actual shell ? Perhaps su -m root -c 'cd /etc/ssh/ && sed -i .bak -e "s/PermitRootLogin no/PermitRootLogin yes/"' ? That way he could toggle remote root logins. _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[email protected]"
