[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] Re: RE: Re: server Hack(Newbie) (Mat Schaffer)
- Subject: [cobalt-developers] Re: RE: Re: server Hack(Newbie) (Mat Schaffer)
- From: "Colm Brazel" <cbweb@xxxxxx>
- Date: Sun Feb 11 11:26:06 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
>>>It looks like the commands are good. I'm guessing a cobalt tech gave
them to you. To enhance your knowledge, I'll explain the commands one
by one below, so you know what's going on. I'm not sure what the patch
you used is, but what you did is at least valid.
>> su (if you are not root)
(Super User) this command will prompt for the root password, and then
allow super user (ie., root) access to the system until "exit" is issued
>> wget http://amail.co.uk/cobalt/UK2-RaQ3-Repair-3.pkg
(Web Get) This command grabs a file directly from a web server's
directory structure. This file is available at
http://amail.co.uk/cobalt/UK2-RaQ3-Repair-3.pkg through a web browser as
well (but since cobalt machines don't have much in the way of a web
browser, or monitor, you do it this way)
>> /usr/local/sbin/cobalt_upgrade UK2-RaQ3-Repair-3.pkg
cobalt_upgrade is the command-line way to install .pkg updates. It
essentially does the same thing as the "update" or "install" procedure
in your UI.
>> sleep 5s
sleep tells the server to do nothing for # seconds. This isn't necesary
unless you're typing really really fast :) (not really), or running the
commands within a script (really). You can wait 5 seconds before the
next command and achieve the same result.
>> rm UK2-RaQ3-Repair-3.pkg
rm = ReMove. This deletes the UK2-RaQ3-Repair-3.pkg file that you
obtained using the wget command.
>> /sbin/shutdown -r now
shutdown does just that. It shutsdown the server. the "-r" means
shutdown, then reboot. and the "now" is when to do it (linux systems
can be told to shut down at a particular time; say 6pm each day, or
something) But in this case we don't want to wait, so "now"
Thas it!
-Mat
Hi Mat,
Thank you for your post above. I turned off local echo on telnet! The cobalt
tech sent
me those commands, also a guy on this list kindly sent me the following urls
for those with uk2 raqs, here
for someone else who may be interested:
http://groups.yahoo.com/group/raq
(this is the main list)
http://groups.yahoo.com/group/raqot
(this is for questions about non Raq related questions)
http://groups.yahoo.com/group/raq-cleanup
( a special list to stop and sort out hacks formed as a reaction to the
latest hack!)
Well, I tried the commands on telnet again but got a 'connecting to
amail.co.uk:80 Host Not found' message .
However with the browser I managed to connect to amail url and download the
repair package locally, then using the panel in admin on the server was able
to upload the package. No, in fact I had a problem with that as well.
Instead I ftp'd up the package to the packages folder on the server and from
the Panel again I restarted the server. I hope this has done the job and now
the repair package appears as one of the uploaded/installed packages in the
maintenance section of the Panel. Using telnet I could have waited forever
for it to grab the 3mb (56k modem here) package as there are no it appears
echo messages to tell you it has connected and is downloading a 3mb file!!So
you are stuck there in space.
Anyway, as I say, I hope the above has done the job, correct me if I`m
wrong, and thanks again for your helpout on this. Finally, are there any
known issues around an apparently slow ftp connection to my server or any
suggestions as to how I can improve connection speeds which at times for no
apparent reason appear slow. The Panel works extremely fast.
Best Regards
Colm
Colm (Brazel)MA
CB Publications
Internet: www.cbweb.net
E-mail: cbweb@xxxxxx
cbweb@xxxxxxxxx