I've got to be honest here, I screwed up last weekend and killed sshd on one of my servers and couldn't get it to come back up. Thanks to the directadmin's plugin feature, I was able to edit the sshd_config file and had it back up and running in no time without a single customer complaint.
From this, came the idea, that I may not always be at a computer that I can conveniently ssh into my server to do a quick command when I need to. Then I remembered a feature in one of the early OSCommerce versions called commando, which allowed you to run command line commands from the admin panel. Yes, it was very bad news for server admins, but great for us resellers who didn't have ssh access at all
Hence, a revival of commando, flavored for DirectAdmin. It runs as user admin on the server, and is only available at the admin level in the control panel. I think it should come in rather handy for some of us.
Note, this does not provide full root access to your server by default.
EDIT: To gain root access to the server,use sudo. You will need to add the admin user to the /etc/sudoers file authorizing your desired level of permissions. I set mine like:
admin ALL=(ALL) NOPASSWD: ALL
I was able to test that my sudoers settings were working by running:
sudo /bin/cat /etc/shadow
Here is the url to the download link:
http://www.my1host.com/forum/viewtopic.php?p=320#320
Let me know if you have any problems with it.
Current Release: Version 0.2
Change History:
7/28/2004 changed /usr/local/bin/perl to /usr/bin/perl to match default RedHat server installation.
From this, came the idea, that I may not always be at a computer that I can conveniently ssh into my server to do a quick command when I need to. Then I remembered a feature in one of the early OSCommerce versions called commando, which allowed you to run command line commands from the admin panel. Yes, it was very bad news for server admins, but great for us resellers who didn't have ssh access at all
Hence, a revival of commando, flavored for DirectAdmin. It runs as user admin on the server, and is only available at the admin level in the control panel. I think it should come in rather handy for some of us.
Note, this does not provide full root access to your server by default.
EDIT: To gain root access to the server,use sudo. You will need to add the admin user to the /etc/sudoers file authorizing your desired level of permissions. I set mine like:
admin ALL=(ALL) NOPASSWD: ALL
I was able to test that my sudoers settings were working by running:
sudo /bin/cat /etc/shadow
Here is the url to the download link:
http://www.my1host.com/forum/viewtopic.php?p=320#320
Let me know if you have any problems with it.
Current Release: Version 0.2
Change History:
7/28/2004 changed /usr/local/bin/perl to /usr/bin/perl to match default RedHat server installation.
Last edited: