similar to: Cronjob and sudo

Displaying 20 results from an estimated 4000 matches similar to: "Cronjob and sudo"

2015 Feb 12
0
Cronjob and sudo
On Thu, February 12, 2015 12:32 pm, Matt wrote: > I need to remove empty files out of a directory that are over 6 hours > old so I created this script and put it in cron.hourly. > > #!/bin/sh > cd /var/list > sudo -u matt find /var/list -mmin +360 -empty -user matt -exec rm {} \; > > I want to run it as matt rather than root for just an added bit of > safety. Problem is
2012 Sep 27
1
rename network card device /dev/p3p2 to /dev/eth0
Hello, My name is Manfred. I have to install a flexlm license server on a pc with centos 6.3 as operating system. This machine contains two network cards. An Ethernet card and a wifi card. For the Ethernet card centos generates a device called p3p2. For the wifi card centos generates a device called wlan0. In this configuration the flexlm license program called lmgrd only got the mac address of
2015 Feb 12
0
Cronjob and sudo
On Thu, Feb 12, 2015 at 12:32:12PM -0600, Matt wrote: > I need to remove empty files out of a directory that are over 6 hours > old so I created this script and put it in cron.hourly. For what it's worth, we no longer have requiretty in the package in Fedora, so eventually that change will probably make it down to CentOS. Overall, security benefit vanishingly small and inconvenience
2008 Oct 22
2
LMTools
Hi guys. I need some help to try to make a license server work on Wine. I am trying to port some engineering applications to linux via Wine. If I can make it works, I can prove to my boss that we can get out of windows (finally). I am trying to use softwares like i-Deas, Unigraphics and HyperWorks under Wine in my Ubuntu distro. My problem starts in license, that uses the LMTools to get up.
2007 Sep 28
5
Problem with FlexLM licensing
I'm trying to run up ModelSim (a commercial simulator for hardware description languages), which is licensed on FlexLM, using the hard disk number. This program isn't listed in the apps database. I have a valid license, and the Flex tools are correctly identifying, under Wine, that there's a licence and that it's valid. They find the appropriate env variable, identify the
2008 Jan 29
2
sa learning from an imap spam folder
Hello, I am sorry if I am writing to a wrong list because honestly I do not know where to write but I would like to be able to set up sa-learn via cron to learn from spam folder of a particular email account (via IMAP). Can anyone share how to do it? Is dovecot involved in it? I am using: Exim 4.69 Dovecot 1.0.10 p5-Mail-SpamAssassin-3.2.1 Thanks a lot for helping. Zbigniew Szalbot
2012 Jan 25
3
Having problems with sudoers
I've got a Cento 6.2 server I'm putting together that will become a mailserver. It will have on it MailScanner and MailWatch for MailScanner. I'm using the latest stuff available and have run into a problem with changes I need to make in the /etc/sudoers file. It doesn't seem to take affect after I make the changes, so either the syntax within the file has changed or the way
2008 Jul 10
4
Re: Problem with FlexLM licensing
I have the same problem. copying the dll to system32 and/or win32xoem don't fix this problem... :(
2009 Oct 15
1
CentOS Digest, Vol 57, Issue 14
Thanks for the responses. I think this is what I want to do. I commented out #Defaults requiretty in /etc/sudo. But what I really wanted to do was just place it in VPNUSERS: %vpnusers ALL=NOPASSWD: /sbin/service myciscovpn start, \ /sbin/service myciscovpn stop, \ /sbin/service myciscovpn status, \ /usr/bin/mycisco,
2009 Mar 10
4
rm user:group
I want to remove files but only if they are owned by a certain user and group. Basically I have this: find /var/spool/greylist -mmin +363 -exec rm -f {} \; I want to make sure it only deletes files owned by mail. Basically no matter what weird characters are in the file names I want to make sure it does not delete anything outside of /var/spool/greylist. I can add 'sudo -u' to it but
1999 Apr 28
3
License manager
Has anyone successfully incorporated a Win95 app that uses FlexLM license manager on a Samba file system. I would be extremely interested in talking with you as we are trying to install Parametric Technology's ProEngineer on our Samba file server. We do have a copy of the Unix version of the license manager, but I am not sure how I can get the Win95 client to talk to it. Any and all
2006 Mar 20
5
Numbered Voicemails even with delete option!
Hello, Thought people might be interested in this. I want my voicemails emailed to a person and not stored on my asterisk server. However, I want them to have a sequential number. I found that if I set the option delete=1 in my voicemail.conf file for the mailbox, then the numbering would keep being restarted. I wrote this shell script to fool Asterisk into numbering my voicemails sequentially
2013 Jan 22
2
cronjob not running
i did this from the console crontab -e then i inserted this in my vi editor 10 * * * * curl http://mysite.com/test.php then i exited vi then i did crontab -l and the cron job was listed then i did /sbin/service crond start and i waited for 10 mins to get a message echo to my console. the message is displayed in my browser when the php script(http://mysite.com/test.php) is loaded
2015 Oct 31
3
use pssh to restart a service
> > What does the sudo log say? This is all the secure logs say about the ssh session: [root at logs:~] #tail -f /var/log/secure Oct 31 19:15:20 logs sshd[24407]: Accepted publickey for bluethundr from 47.18.111.100 port 47469 ssh2: RSA ae:62:1f:de:54:89:af:2c:10:16:0e:fd:8d:7e:81:06 Oct 31 19:15:21 logs sshd[24407]: pam_unix(sshd:session): session opened for user bluethundr by (uid=0)
2017 Nov 15
6
run bash <filename> from cron
This might be a bit OT, but I've never had to do this before and what I've googled doesn't seem to be working. I have an ansible playbook that I'm working on that I want to run as a cronjob.? One task I'm having trouble with is where I have a text file with lines like: rd.pl "blah blah" rd.pl "blah blah blah" This text file has to be 'executed'
2008 Nov 15
4
fixme:ntdll - What I supposed to do to solve this problem?
When I am trying to run an application under wine, I am getting this error in console. Code: fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 17/02/2008, dlt (d/m/y): 19/10/2008 What is this and what I can do to solve it? The application is an license manager (lmgrd). I am using Ubuntu 8.10 x64 and wine is 1.1.8 []'s
2001 Sep 06
1
Running soft with flexlm MAC based license under wine?
Hello, When I try to run the FlexLM protected (with NIC MAC based licecnse) software under wine (Linux) I get the following messages: fixme:win32:DeviceIoControl Unimplemented control 256 for VxD device VNETBIOS fixme:win32:DeviceIoControl Unimplemented control 256 for VxD device VNETBIOS fixme:win32:DeviceIoControl Unimplemented control 256 for VxD device VNETBIOS And finally the program
2008 Jul 16
2
Re: Problem with FlexLM licensing
Where do you get your Linux FlexLM server? It's not that you are really deciding when you buy a software.
2012 Feb 08
2
dropterm in MANOVA for MLM objects
Dear R fans, I have got a difficult sounding problem. For fitting a linear model using continuous response and then for re-fitting the model after excluding every single variable, the following functions can be used. library(MASS) model = lm(perf ~ syct + mmin + mmax + cach + chmin + chmax, data = cpus) dropterm(model, test = "F") But I am not sure whether any similar functions is
2015 Oct 31
4
use pssh to restart a service
Hi all, I need to restart a service on a few elasticsearch nodes. I'm trying to do it with pssh. I'm getting this error when I try to do that: pssh -h es_list "/bin/sudo -S /bin/systemctl restart elasticsearch" [1] 17:01:50 [FAILURE] bluethundr at es2.example.com Exited with error code 1 [2] 17:01:51 [FAILURE] bluethundr at es3.example.com Exited with error code 1 [3]