From: mdudley on
I just installed FreeBSD on a new system. when I try to su it gives
me the following error:

su: BAD SU username to root on /dev/ttyv0

Now from what I have read the solution to this is put myself into the
wheel group. But that is impossible since you can only do that if you
are root, and it won't let me get to root. How can I get into root so
I can su? Do I have to go back to the CD and boot off it or
something?

Thanks,

Marshall
From: Bob Eager on
On Mon, 14 Sep 2009 15:49:31 -0700, mdudley wrote:

> I just installed FreeBSD on a new system. when I try to su it gives me
> the following error:
>
> su: BAD SU username to root on /dev/ttyv0
>
> Now from what I have read the solution to this is put myself into the
> wheel group. But that is impossible since you can only do that if you
> are root, and it won't let me get to root. How can I get into root so I
> can su? Do I have to go back to the CD and boot off it or something?

First, why not just log in as root? You had to give the password during
the install, didn't you?

If you don't remember, boot single user and you will be root. To do that,
reboot and get the menu up, then use option 4.





--
Use the BIG mirror service in the UK:
http://www.mirrorservice.org

From: Henri Hennebert on
mdudley wrote:
> I just installed FreeBSD on a new system. when I try to su it gives
> me the following error:
>
> su: BAD SU username to root on /dev/ttyv0

man su say

PAM is used to set the policy su(1) will use. In particular, by default
only users in the ``wheel'' group can switch to UID 0 (``root'').

maybe it's your problem?

Henri
>
> Now from what I have read the solution to this is put myself into the
> wheel group. But that is impossible since you can only do that if you
> are root, and it won't let me get to root. How can I get into root so
> I can su? Do I have to go back to the CD and boot off it or
> something?
>
> Thanks,
>
> Marshall