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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message