[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: [cobalt-users] shell commands as root
- Subject: Fwd: [cobalt-users] shell commands as root
- From: Gerald Young <me@xxxxxxxxxxx>
- Date: Sun Jul 22 08:32:03 2001
- Organization: Coolcat Dot Net ltd
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hello,
>3) Is there any way to issue shell commands as root from somewhere else?
>(cgis through port 81, etc)
When we had problems with lost access the only way we figured that
worked was installing a dummy package with system commands in the top.
We had a inetd.conf up there that we wanted to overwrite the original and
restart services .
We used the following in the 'upgrade_me' script in the dummy package.
cp /somewheresafe/inetd.conf /etc/inted.conf
/usr/bin/killall -HUP inetd
exit 0
This used a inetd.conf file that had telnet activated.
The only other way i thought was if you had ftp access was to upload your own
'expect' binary and run an expect script as admin and use it to 'su' to root
and run commands. Dont know if this would work or not but am going to try
sometime as could be useful, getting locked out of a cobalt is no fun.
b w gerald y
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users
-------------------------------------------------------