|
|||
I know this is bad practise but...
Hi,
my freeBSD 7.0 box is not connected to the internet (yet) and I would still like to telnet as root to it while I build it up and muck around. When I attempt to login at root from my PC, I get refused access. Is there anyway I can change the configuration on my FreeBSD box so I can telnet to it as root? Thanks, Jonathan. |
|
|||
Carpetsmoker, do you mean to comment that line?
|
|
||||
... and of course reload sshd
Code:
# /etc/rc.d/sshd reload v |
|
|||
I was not using ssh because when I first tried it, it didn't work, even for other accounts. Now I have a decent telnet client that has an ssh option and it does work.
I also have looked at the sshd_config and there is no PermitRootLogin option. I put it in anyway and the machine still wont accept login from root remotly. I might check out sudo and get back to you guys. Cheers, Jonathan. |
|
|||
even if you don't use sudo
just ssh as a normal user, then elevate your privileges once you login (su -). This is not the best practice, but much better than sshing as root. Then get sudo installed, and put yourself in the wheel group. |
|
|||
No you have to uncomment that line ; )
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Yes, now that he has edited his post it's more like it.
|
|
|||
Quote:
Code:
sshd_enable="YES" sshd_flags="-oPermitRootLogin=yes" |
|
||||
Quote:
__________________
The power of plain text? It can control an entire OS |
|
||||
Quote:
Quote:
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." |
Thread Tools | |
Display Modes | |
|
|