[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Open SSH and Telnet problems [RaQ3]
- Subject: RE: [cobalt-users] Open SSH and Telnet problems [RaQ3]
- From: "d e p e u p l e u r" <listening@xxxxxxxxxxxxxx>
- Date: Thu Jul 26 15:07:27 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Just to let you all know that the dummy pkg system works wonders for running
commands as root when you have no shell access. All I had to do to restart
SSHD was to put this two text files in a dir by themselves:
A file called 'packaing_list' containing:
Package: Restart_the_SSHD
SCRIPT: upgrade_me
Version: 1.1.1
List File: Restart_the_SSHD
REBOOT: no
And a file called 'upgrade_me' containing:
#!/bin/sh
/etc/rc.d/init.d/sshd stop
/etc/rc.d/init.d/sshd start
exit 0
then you do this from that directory (make sure there is only those two
files there):
tar -czvf Restart_the_SSHD.pkg *
and then you install from the Maintenance>Install software in the GUI
It restarted the SSHD and let me back in, worked like a charm. Thanks to
all, specially Gerald Young, for their help and guidance.