Displaying 2 results from an estimated 2 matches for "etcsudoers".
2010 Jun 08
0
R 2.11.0 for Ubuntu 10.04 Lucid Lynx on CRAN [solved]
...he proxy (http_proxy, https_proxy, ftp_proxy)
were preserved for the sudo account, as described here:
http://blog.troyastle.com/2009/11/proxy-environment-variables-and-sudo-in.html
using 'gedit' instead of 'visudo', as described here:
http://bapoumba.wordpress.com/2008/05/07/edit-etcsudoers-with-gedit-in-ubuntu-hardy-heron/
I put the 'R-sig-Debian' list in cc just in case this may be useful
for somebody else
Thank you very much to you all.
Kind regards,
Mauricio
2010/6/7 Christophe Bonenfant <bonenfan at biomserv.univ-lyon1.fr>:
> To check whether you have a pro...
2015 Feb 12
7
Cronjob and sudo
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 I get this.
"sudo: sorry, you must have a tty to run sudo"
Is there another