From owner-freebsd-hackers Wed Oct 27 16:42: 8 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.enteract.com (mail.enteract.com [207.229.143.33]) by hub.freebsd.org (Postfix) with ESMTP id 4918614D74 for ; Wed, 27 Oct 1999 16:41:57 -0700 (PDT) (envelope-from dscheidt@enteract.com) Received: from shell-3.enteract.com (dscheidt@shell-3.enteract.com [207.229.143.42]) by mail.enteract.com (8.9.3/8.9.3) with SMTP id SAA62441; Wed, 27 Oct 1999 18:41:55 -0500 (CDT) (envelope-from dscheidt@enteract.com) Date: Wed, 27 Oct 1999 18:41:55 -0500 (CDT) From: David Scheidt To: Mark Cc: freebsd-hackers@freebsd.org Subject: Re: su-ing a user remotely In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 27 Oct 1999, Mark wrote: > > I'm looking for a tool which I think I'll have to end up making myself. > > What I'm looking for.... Let's say there are two logins on a FreeBSD > machine. On ttyp0 is root, and user fred is logged in on ttyp1. Fred > can't su to root because he's not in wheel, and he doesn't/won't know the > root pass. Assuming I'm logged in a root, I'd like to be able to "bless" > fred from my ttyp0 and 'upgrade' his login to root. > > Is this feasible or programatically realistic? Is there such a tool? > What would need to get changed to make this happen? I do this on sparc boxes occaisonally using the nifty forth interperter in the boot ROM to change the UID of some process. Handy for recovering random lost passwords. I suspect that you could do the same with a debugger on FreeBSD, but haven't really thought about it. David scheidt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message