Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 1999 18:41:55 -0500 (CDT)
From:      David Scheidt <dscheidt@enteract.com>
To:        Mark <maxiter@inetu.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: su-ing a user remotely
Message-ID:  <Pine.NEB.3.96.991027183538.25636A-100000@shell-3.enteract.com>
In-Reply-To: <Pine.BSF.4.10.9910271650560.26715-100000@norad.inetu.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96.991027183538.25636A-100000>