ryu's blog just a few lines of code

28Aug/110

FreeBSD: Enable root access via remote SSH

On FreeBSD you can't login via remote SSH as root user.

# adduser christoph

User christoph will be able to gain access via SSH just as every other user.

# pw usermod christoph -G wheel

By putting this user in de group wheel, the user gains the right to change to root via:

# su

Tagged as: No Comments
28Aug/110

FreeBSD: Reenter install tool

# sysinstall

Tagged as: No Comments
28Aug/110

FreeBSD: Set IP for an existing interface

Assume interface name is: em0

# vi /etc/rc.conf

hostname="shiva.local"
ifconfig_em0="inet 10.0.0.10 netmask 255.255.255.0"

# /etc/netstart

Tagged as: No Comments