question
Boehler, Joe
Joe.Boehler at agedwards.com
Thu Feb 20 10:26:31 EST 2003
Brent,
Thanks. It turns out that the logs in question (there are several) quit
working properly when I cat /dev/null to them. I don't really understand why
directing stdout doesn't affect them the way /dev/null does, but I can't use
/dev/null to zero them.
Thanks,
Joe
-----Original Message-----
From: Brent Fortman [mailto:Brent.Fortman at radioshack.com]
Sent: Thursday, February 20, 2003 9:17 AM
To: Boehler, Joe; 'sudo-users at sudo.ws'
Subject: RE: question
cat /dev/null > /var/opt/OV/share/databases/eventdb/log_2
Brent
-----Original Message-----
From: Boehler, Joe [mailto:Joe.Boehler at agedwards.com]
Sent: Thursday, February 20, 2003 8:47 AM
To: sudo-users at sudo.ws
Subject: question
Hello sudoers,
I have users who need to be able to zero some root owned log files by
directing stdout to the file. For example,
>/var/opt/OV/share/databases/eventdb/log_2, but when I enter that as a
command alias, sudo complains about the syntax.
Is there a way to write this so the syntax is acceptable to sudo?
Thanks
Joe Boehler 59068
Unix Admin
****************************************************************************
*******
WARNING: All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.
****************************************************************************
********
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/sudo-users/attachments/20030220/ebeec92f/attachment.html>
More information about the sudo-users
mailing list