Server :: Webmin - Scheduled Cron Job (Password)
Jan 20, 2010
I have webmin on my linux server, I've made a cron job which requires a password to be entered after the command has been run.. all good. I noticed the cron job has the option "Input to command", where after many hours googling a can assume this is where you type input after the cron job has run (for example, a password?). I have tired putting the password needed for the job (the cron job is an ssh root@address) into this field however the output when running the cronjob is saying "permision denied" still.
Is there some sort of character I have to enter in this field, like
-p mypassword:
or
*mypassword?
or
"mypassword"
View 5 Replies
ADVERTISEMENT
Aug 22, 2011
I run a Fedora 9 server at home, to host an "old school" MOO.To back up the database, I scheduled a cron job - and got some help with the script.I don't fiddle with stuff on the server much, because I don't really have a clue - leave well enough alone.But now I'm without backups. (I'd prefer to get this working, as it seemed pretty simple, and worked well for so long).
View 14 Replies
View Related
May 23, 2011
Got a small problem, I'm trying to schedule a script to run every Thursday at midday and the scheduled tasks application on Ubuntu doesn't seem to work. The script is fine when I run it from a terminal.I have zero experience using cron at the command line, can anyone tell me what I should do?
View 2 Replies
View Related
Apr 7, 2011
By default, cron jobs are scheduled to run at 4:40 IIRC. I have my computer set to suspend after half an hour of inactivity so, except for some all-nighters, pretty much every day at that time my PC is suspended. What happens to the cron jobs? I don't suppose they run while the suspension is in effect. Do they get run when the computer wakes up or does cron wait until the next day at 4:40 to run the jobs?
View 5 Replies
View Related
Sep 8, 2011
The back.sh script is being run as user basil, whcih means that when it comes to copying the backup file to the target location you do not have the correct permissions to access the contents of the directory (it is rwx by root only).So, what do we do? Hoping it is ONLY the directory permissions which are fouling things up we have a range of options which, in not particular order of 'good', include:
a) change ownership/permission on target directory.
b) have the back.sh script run by the root user
c) set up sudo to permit the file copy to be done by root
d) use setuid on the back.sh to have it run, effectively, as root
A lot of the answer will depend upon what else the Dropbox directory is for. If it's JUST for your backups for this then I'd be inclined to:
Code:
chown basil /root/Dropbox
chmod g+rwx /root/Dropbox
which will permit the basil user full access and thus allow the file operations being done and give root access via the group permissions (not that the root user really needs this).Also, I'd be inclined to:
Code:
chown basil /home/xxxx/moo3/bin/back.sh
chmod u=rwx,g=rx,o= /home/xxxx/moo3/bin/back.sh
which will make things 'look' better, it just reinforces the point that the script is run (and owned) by the basil user.
View 3 Replies
View Related
Apr 29, 2011
Basically what I wanted to know is, if we turn the computer off (or hibernate/standby) - what will cron do with the tasks that were suppose to be scheduled during that time period the moment u turn it back on? Reason I ask is because i have a backup scheduled for every single hour. And another one I want to schedule for every 15mins. If I turn my comp in standby overnite, I certainly don't want to turn it on in the morning to find cron doing like 30 back up jobs!
View 2 Replies
View Related
May 23, 2011
I am running a series of operations on executable matlab scripts which are connecting python and fortran scripts. I schedule the executables in cron. The problem:
- My original matlab scripts work perfectly.
- My executables work perfectly if I run them from the terminal. - Using the gui scheduled tasks and running the scripts once from a button, everything also works fine.
- But when I leave the scheduled tasks run on their own, I get an error! The error can be that the script hangs in general (I have some text logs exported every step to track the progress), or I get an error which never appears when I run the script with any of the other mentioned ways.
- I tried both cron command prompt or the GUI scheduled tasks
- I am running on Ubuntu 64 bit
View 3 Replies
View Related
May 25, 2010
I need to create the following cron jobs:
job #1: runs Mon, Tue, Wed, Thu, Fri, Sun at 9PM every month except for 15th
job#2: runs on 15th of each month at 9PM
job #3: runs every Saturday at 6PM every month
What is the correct syntax for this kind of scheduled cron jobs?
View 7 Replies
View Related
Nov 12, 2009
I just want to know if a linux server got rebooted after a scheduled time(2/3 month), whether the performance improves. If improves why.
View 1 Replies
View Related
Nov 9, 2009
is there any way to scheduled cache clear auomatically instead of manual in squid.
View 1 Replies
View Related
Apr 6, 2010
I have had webmin running previously but i just recently installed Unbuntu server and i am now trying to install webmin. after typing this to install webmin sudo apt-get install webmin it started doing its thing and then it halts.
Giving me the following message: "Package webmin is not available, but is referred to by another package. this may mean that the package is missing, had been obsoleted , or is only available from another source."
The first thing i did after installing webmin was edit the sources.list
Then i tpyed sudo nano sources.list I uncommented everything with "deb" in front of it
I also uncommented
deb cdrom:
I then typed this sudo wget [url]
After getting that i typed this apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl
Then i tryed to install it and got that error.
I also tryed install it using this tutorial [url]
When i got to the part when i need to type
sudo apt-get install update this is what happened
View 10 Replies
View Related
Apr 3, 2010
I encountered a a dependency issue when trying to install Webmin on Ubuntu Server Edition 10.04 Beta1.
When you try to install webmin, libmd5-perl is not available in any of the lucid repositories:
I resolved the dependency prob by adding the following repository to my /etc/apt/sources.list: deb [url]
Then I did a sudo apt-get update then sudo apt-get install and libmd5-perl installed fine along with webadmin. BTW. I got a GPG error when doing a apt=get update because I did not import the public key for the debian repos I used to get libdm5-perl, which doesn't matter to me as I commented out the repos once I got libmd5-perl installed.
View 1 Replies
View Related
Sep 5, 2011
Since we switched our server to Squeeze, I'm receiving emails from the cron about a mysql error (...can't use locks with log tables). But this is not the issue I want to talk about here. The issue is that since the executed command is: /usr/bin/mysqlcheck -uroot -pmypassword --all-databases --check-only-changed --silent which is a command that was automatically added to the cron by the mysql package (I believe), the password is sent in clear text in the email's subject. In my sense, this is a serious security issue (sending root password in email subject...)
I don't know at what level it should be corrected, but it seems to me like it should be corrected in the Debian distrib, shouldn't it ?
And for now, how can I hide the password in the emails I receive ?
View 1 Replies
View Related
Jun 2, 2011
linux i have configured squid with dansguardian but not able to block the sites and url.. i am accessing dansgaurdian through webmin.. please help me out in the above (with screen shots)
View 2 Replies
View Related
Aug 9, 2010
I am current following this how to guide: [URL] I completed it and I am in the testing phases before I make it a public server...I plan to use webmin as my administrative tool on my 2 web servers...Should I install webmin on my load balancers as well? The reason I ask is I want to know if there is any benifit to put it on the load balacers...Would I get any added features?
View 1 Replies
View Related
Jan 26, 2010
I installed OpenSSH via tasksel and am using Webmin for administration. I'd like to be able to SSH externally and want to setup the necessary public/private keys to use in FileZilla.
In Webmin, under Servers > SSH Server I can click 'Host Keys' and see an RSA key. Is this the public or private key for my server? Do I need to copy this into a text file to import it into FileZilla on my remote PC (that I want to connect from)? Is that all that needs to be done (aside from opening the port on my router/firewall)?
Is there an automated way to set this up via Webmin?
View 3 Replies
View Related
Jan 20, 2010
I recently installed Ubuntu server 9.04. It appears to be functioning correctly in that I can acces it from other Windows machines ony my network. I installed Webmin to remotely administer this server, however I cannot connect using Webmin from my other machines. I am only running Samba on this server at the present time.
I attempted to access the webmin conf file at /etc/webmin/miniserv.conf but permission wasa denied, evenas root.
View 6 Replies
View Related
Apr 26, 2010
To make my problem simple to understand I've attached a picture. Basically, in the Webmin>Apache configuration page, where I used to also enable/disable the modules Apache was using (on Ubuntu 8.04) I've noticed now that the option to configure the modules is no more (on Centos 5). So, I'd like to disable and enable some modules but can't, like the mod_python for example which gives me hundreds of errors in the Apache's logs, but cannot.
how to view the Apache modules again in Webmin?
just noticed can't attach images... here's the link to the picture: [URL]
View 1 Replies
View Related
Jun 26, 2010
I have a computer running Ubuntu 10.04. I have installed Webmin on it and everything is working fine except for the GRUB module. I wish to know if there is a new GRUB module that supports GRUB 2? It may be beta or an unofficial one.
View 5 Replies
View Related
Jun 25, 2010
Does webmin have to install on same box with Apache? Or can I install on any box within the LAN?
View 7 Replies
View Related
Feb 7, 2011
at the computer shop we have an ubuntu 9.10 server that we log into via ssh or webmin today i was trying to ssh into the machine and got connection refused, so i logged into webmin and found the ssh server not running when i tried to start with webmin it i got the error
Code: failed to start ssh server * /dev/null not a character device went over to the shell command part of webmin and issued ls /dev -l and looked at the output and found something of concern
[Code]....
View 2 Replies
View Related
Jun 14, 2010
I have recently downloaded and installed apache2 http server from tarball source (i'm running ubuntu but i think its more fun to use tarballs i don't know why but its how i am) anyway i just installed apache2 and when i go into the servers section of webmin and click on apache web server i get this message:
The Apache server executable /usr/local/apache2/conf/ does not exist. If you have Apache installed, adjust the module configuration to use the correct path. and when i go to the configuration menu i don't understand a word of it.
View 9 Replies
View Related
May 31, 2011
I'm a newbie here but I have a question on how to make the connection between webmin and thunderbird via POP3. I have webmin set up and it is able to send and receive mail via webmin but when I enter the account details in thunderbird it cant find the settings for my mail account. I'm not exactly sure where I need to go in webmin to set it up to allow a connection from a client to allow the downloading of mail to the client. Would simply prefer to go to thunderbird to send and receive mail as opposed to logging into webmin then going to my mail.
View 3 Replies
View Related
Mar 10, 2011
I run a web server using mandriva 2010.2 , I use webmin / virtualmin to facilitate the administration of virtual hosts, I've tried using nginx module for webmin that is in [URL] but for some reason the module could not be used by webmin.
View 4 Replies
View Related
Feb 17, 2010
How to integrate procmail with qmail using the webmin?
View 7 Replies
View Related
Feb 17, 2010
I am trying to install webmin on my server(9.10) by command line
what is the command to see if it is installed or not
View 9 Replies
View Related
May 9, 2010
Tried to install pptp vpn server via webmin, and I tried connecting remotely from my laptop, but it keeps failing on the verify username and password - I get a error 778 it was not possible to verify the identity of the server. Not sure what could be wrong with the config..
View 1 Replies
View Related
Jan 29, 2011
I want to install Webmin on a dedicated remote server. I keep reading different blogs/tutorials etc about installing webmin on Ubunto server 10.10 but it seems too easy to be true. There is never any mention of requirements etc. I did read that even perl isn't needed pre install now and will install with webmin.But do i need to install lamp etc first or does it pull these in when Webmin its installed?
View 2 Replies
View Related
Feb 7, 2011
I have a dummy server set up in which I am trying to install webmin (which I have done several times in the past and remb it being straightforward and pretty simple!) however when trying to install I keep getting errors.
I install all the perl packages as required :-
sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl
After downloading webmin I try and install it:-
sudo dpkg -i webmin_ 1.530 _all.deb
This is where I encounter errors regarding apt-show-versions saying that it is not installed.I try and install it but an error appears stating that apt-show-versions is not installed. So I try and install apt-show-versions and that fails as it states that there is libapt package missing too. When I try to force install both - unable to fetch some archives but maybe run apt-get update or fix missing....It just seems like I am going around in circles (as I have run apt-get update and have run the commands as root...)
View 1 Replies
View Related
Apr 11, 2010
I installed webmin on Debian apt-get install webmin. After installation following message came.
Code:
Setting up webmin (1.510-2) ...
Webmin install complete. You can now login to https://IP:10000/
as root with your root password, or as any user who can use sudo to run commands as root. So I infer that the installation was successful.
But when I do
Code:
http://IP:10000
I get following error
Code:
Error 111 (net::ERR_TUNNEL_CONNECTION_FAILED): Unknown error.
View 1 Replies
View Related