su: Sorry - 5.2.1 -
Daniel Bye
freebsd-questions at slightlystrange.org
Sat Nov 6 09:32:45 PST 2004
On Sat, Nov 06, 2004 at 11:23:44AM -0600, Gable Barber wrote:
> $ su
> su: Sorry
> $
In BSD, you need to be a member of group `wheel' to use su. Login as
root, and edit the /etc/group file to add your username to wheel.
Alternatively, use the pw command. Something like this should work:
# ps user mod <username> -Gwheel
> The FAQ says to post this first :
>
> $ uname -a
> FreeBSD tcb.garagemoderne.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0:
> Mon Feb 23 20:45:55 GMT 2004
> root at wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386
> $
>
>
> And I cant SSH in as root. I am VERY new to FreeBSD, and am lost. I
> have been using Linux (RH9/Fedora) for awhile, so I understand some
> basics, but I cannot figure this one out.
The default behaviour of SSH in FreeBSD is to not allow remote root
login. If you really must allow root login, edit /etc/ssh/sshd_config
and add a line
PermitRootLogin yes
If you do this, I suggest you disable password authentication and use
public key authentication instead.
HTH
Dan
--
Daniel Bye
PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
_
ASCII ribbon campaign ( )
- against HTML, vCards and X
- proprietary attachments in e-mail / \
More information about the freebsd-questions
mailing list