7/21 Is there a way to get root access given (unlimited) access to console
on a sparc20 box with solaris 2.5.1? The pricks in IS&T are taking over
a month to fix some things on my desktop machine and I really
need to take care of several of them to get anything done, at risk
of pissing off IS&T. Please withhold the "if you don't know how to
do this, you shouldn't have root anyway" flames; i know how to fix
what I want fixed, while not fucking up anything else.
\_ Well, if the other things fail you could try:
<DEAD>phrack.infonexus.com/search.phtml?view&article=p53-9<DEAD>
I haven't done this, and don't know whether it will work with
your model+keyboard. --Galen
\_ Thank you kindly. This worked like a charm after
a few small corrections (s/1\@/@/g).
\_ How do you find the memory address of the process?
ps -lp gives me a ? for ADDR
\_ It didn't do that for me; make sure you're running
/usr/bin/ps though (/usr/ucb/ps, for one, has
entirely different flags). If that fails, poke
around in /proc/$$/, it's probably visible from
somewhere in there (try bytes 0x48-0x4B of
/proc/$$/psinfo). Make sure to check the current
contents of *(process_pointer)+0x18 first, and see
if it matches your current ruid (or risk clobbering
something random in memory)
\_ Boot from CD. -tom
\_ No CD drive (or floppy for that matter)
\_It is likely that your box was installed over network and
the install server is still acting as boot/install server.
In this case you can boot of the network by typing "boot net"
from open boot prom. This is equivalent to booting from CD.
Of course, this wouldn't work if boot prom is password
protected. In this case you might need to swap the prom chip.
Though, if your box is also locked then you can't get root
without breaking things.
\_ Borrow a cdrom - the CSUA has a sun-compatible one.
\_ unless of course they set a prom password, in which case you're
pretty hosed.
\_ or swap in a prom. Or swap in a disk with your favored
configuration. With physical access it's always
possible. -tom
\_ Mmm..physical access.. *drool*
\_ They all say they know how to fix what they want fixed without
fucking up anything else. Why don't you talk to their manager
or have your manager talk to their manager? If it's truly
preventing you from getting work done then it's a big deal and
i'm an intern. it's not _/
taking matters into your own hands will just mask a problem. Maybe
IS&T is short-staffed and enough complaints will allow them to
hire, for example. --dim
\_ IS around here is absolutely hopeless. Trust me, this is the last
resort.
\_ Well, if the other things fail you could try:
<DEAD>phrack.infonexus.com/search.phtml?view&article=p53-9<DEAD>
I haven't done this, and don't know whether it will work with
your model+keyboard. --Galen |