sys-unconfig is safe ... ish ... matters what you want to do with it ...
the system loses all passwords shadows, hosts, hostnames, interfaces and most other 'identifying' files
means that it's like creating a machine on a fresh install ... but with the software already loaded.
on reboot; it'll guide you through the system of setup at the prompt about which ip's you use, which interfaces ... etc.
if you need to get the old files back it does store them (on Solaris 2 it stores them in /etc/inet/*.saved) so you should be able to recover usernames and such ... but i can't guarantee that sunOS 4 does ... might want to take a backup first, if you want them.
might be advisable to get a backup of the system first anyway, if it's possible.
It doesn't sound like a utility to be considered that often.
It may be better to approach other methods of resolving a problem than this (eg backing-out patches, pkgrm, etc)
patches aren't removed, as far as i'm aware ... just it's identity ...
btw. if you have a nis'd network, or nisplus/fns/dns and you connect the machine to it (and it is recognised ... and if it's nisplus'd it almost always seems to be ... something remembers) then it knows about your interfaces, hosts, passwords and almost everything you could require ...
unfortunately if you want to set up a machine non-nis'd it does seem to want to help you too much ...
after the first reboot i sys-unconfig'd it again and rebooted without the network cable in ...
eaching users to use the command line editors over the phone can be interesting
me: ok, type 'vye slash etcetera slash hosts'
user: it says command not found
me: that is ' V I slash etcetera slash hosts'
user: it's come up with lots of squiggles
me: did you use the back or forward slash.
user: i don't know ...
me: the one on the left or the right of the keyboard ?
user: the one on the left.
me: o.k. type in 'colon q' and i mean the character ':'
user: Q is not an editor command.
me: did you do a capital Q?
user: was it supposed to be a small Q?
...
ARGH! i've set up scripts now so that the machines dial up over the modem to me, and i can then edit the files directly ... as long as the scripts never break i'm fine.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.