Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Sep 2004 14:40:43 -0400 (EDT)
From:      "Steve Bertrand" <iaccounts@ibctech.ca>
To:        Cihan =?iso-8859-1?Q?=C7ulha?= <cculha@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: i cant enter su
Message-ID:  <4835.209.167.16.15.1094582443.squirrel@209.167.16.15>
In-Reply-To: <BAY9-F2xjQ0BwSNsiXx00019c33@hotmail.com>
References:  <BAY9-F2xjQ0BwSNsiXx00019c33@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> i cant enter su in my machine.i controled and i found master.passwd
> files
> mode is 700. how can i change this files chmoýd.please help. i cant
> enter su

What error do you get? Can you log in as root at the console? (This
would validate the root passwd). If you've lost the root password,
reboot the system, and hit any other key than ENTER when it starts up,
then type boot -s to enter single user mode. You automatically are
logged in as root, where you can change his password, by using
``passwd''.

If you know the root password, open up the file /etc/group in your
favorite editor, and make sure your username is listed beside 'wheel'.

...and ahhh, chmodding the /etc/master.passwd file? Personally, I
wouldn't recommend this, but if you must, read ``man chmod''.

steve

>
>
> _______________________________________________
> 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?4835.209.167.16.15.1094582443.squirrel>