Date: Mon, 18 Jun 2007 17:51:51 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Harriet Severino <severino42@yahoo.com>, Christian Walther <cptsalek@gmail.com> Cc: questions@freebsd.org Subject: Re: Install issue: get root login in GUI Message-ID: <20070618155151.GA94239@slackbox.xs4all.nl> In-Reply-To: <14989d6e0706180722w1289526dm9be8395674f07177@mail.gmail.com> References: <454500.65753.qm@web38804.mail.mud.yahoo.com> <14989d6e0706180722w1289526dm9be8395674f07177@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 18, 2007 at 04:22:42PM +0200, Christian Walther wrote: > On 18/06/07, Harriet Severino <severino42@yahoo.com> wrote: > > Hi, > > > > I am having install isues and can not login as root in the GUI. I have > > to re-boot and come up in single user mode to work as root. Then when I > > need to look something up, I have to boot into regular mode, look it up > > on the web, then re-boot into single user mode. This is cumbersome to > > say the least. I need to install the jdk, and keep rebooting to check > > the doc! >=20 > By default root is not allowed to login to the GUI. So far, this is > "works as designed". > There are two options: > 1. Switch to a console by pressing Ctrl+Alt+1 vor example. This will > give you a console login that doesn't reject root. Do the things you > want to do as root there. > 2. Add yourself to the group "wheel". This will allow you to login *as > a normal user*, open a terminal and do a "su -". Enter the root > password, and you're done. To do this you probably need to use a > console login and edit /etc/group apropriately. :-) It's better to use pw(8). to do user and group management. In this case=20 'pw groupmod wheel -m <yourname>' would do the trick.=20 Although you can edit /etc/group, you should not edit /etc/passwd, because it should be generated from /etc/master.passwd. Therefore it's best to get used to using pw(8). It will also help generate valid group and passwd syntax. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGdqoXEnfvsMMhpyURAiGIAJ9oWAVHzYxd0g3hDZ3Nh6PTXWltbwCfditD 1VUzeERXJKIaw78VRsm3MH8= =RP8k -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070618155151.GA94239>