Date: Sat, 6 Nov 2004 12:01:47 -0600 From: Gable Barber <gablebarber@gmail.com> To: Daniel Bye <freebsd-questions@slightlystrange.org>, freebsd-questions@freebsd.org Subject: Re: su: Sorry - 5.2.1 - Message-ID: <aab166ce0411061001510d8f67@mail.gmail.com> In-Reply-To: <20041106173242.GA24055@catflap.slightlystrange.org> References: <aab166ce04110609234b42cbae@mail.gmail.com> <20041106173242.GA24055@catflap.slightlystrange.org>
next in thread | previous in thread | raw e-mail | index | archive | help
thank you for the help... I will have to wait until I get home to try it.. Thanks again.. G_ On Sat, 6 Nov 2004 17:32:42 +0000, Daniel Bye <freebsd-questions@slightlystrange.org> wrote: > 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@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 / \ > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aab166ce0411061001510d8f67>