Re: Possible to telnet to miniroot? "David E. Grove" <david_grove@correct.state.ak.us> wrote in message
news:11n4l0u5lrfob79@corp.supernews.com...
> Is it possible to telnet into a system booted from CDROM into single user
> mode? ('boot cdrom -s') If so, how is it done? How can one make the
> miniroot writeable? To execute 'svcadm enable inetd' requires a writeable
> root, right?
Well, if you think about it: boot *cdrom* -s
This means your root fs is on the CD you're booting from. So it isn't
writable...
> I have a headless V480. I 'boot cdrom -s' using the RSC console. I
> configure a network interface. If I try to enable inetd, I get:
>
> # svcadm enable inetd
> svcadm: svc:/network/inetd:default: Repository read-only.
Again you're booting from a CD-*ROM*.
However, the single-user mode in general does not mean you can't configure a
network interface or run network services. Your basic problem is you can't
make a configuration change with a read-only root fs. If you're willing to
invest the time and have the appropriate infrastructure, you could
conceivably make your own bootable CD image which uses DHCP / BOOTP to
obtain network configuration, initialise an interface and run some service
(such as telnet).
Better still, setup a jumpstart server and do: boot net -s.
This will bring you to single-user (without performing any kind of
installation). And since your root fs will then be a NFS mount (which, btw,
implies a configured network interface), you can either pre-configure the
required network service(s) or (again, not recommended) make NFS image
writable and perform any configuration on the fly (using anon=0 as a share
option).
--
-- ICE
-- |