From owner-freebsd-questions Mon Jul 26 5:12:44 1999 Delivered-To: freebsd-questions@freebsd.org Received: from granite.sentex.net (granite.sentex.ca [199.212.134.1]) by hub.freebsd.org (Postfix) with ESMTP id 380511532A for ; Mon, 26 Jul 1999 05:12:32 -0700 (PDT) (envelope-from mike@sentex.net) Received: from ospf-wat.sentex.net (ospf-wat.sentex.net [209.167.248.81]) by granite.sentex.net (8.8.8/8.6.9) with SMTP id IAA14968; Mon, 26 Jul 1999 08:11:19 -0400 (EDT) From: mike@sentex.net (Mike Tancsa) To: questions@freebsd.org Cc: zort@penrithcity.nsw.gov.au ("Dean Hamstead") Subject: Re: login.access Date: Mon, 26 Jul 1999 12:23:24 GMT Message-ID: <379c52de.62961453@mail.sentex.net> References: In-Reply-To: X-Mailer: Forte Agent .99e/32.227 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 26 Jul 1999 04:53:51 -0400, in sentex.lists.freebsd.questions you wrote: >whiel trying to enable root, when telneting from another machine >i tampered with login.access and have locked myself out! doh! > >short of reinstall how can i fix this? i never got su to work for anyother >user except root (something about groups, i put the user in every group, and >even tried making it the owner of su) Boot to single user mode and make the fixes. If you installed the sources, look in /usr/src/etc/login.access for the original. To allow users to su to root, add then in the group wheel in /etc/groups ---Mike Mike Tancsa (mdtancsa@sentex.net) Sentex Communications Corp, Waterloo, Ontario, Canada "Who is this 'BSD', and why should we free him?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message