Hi all
I am having probs getting logcheck to run.
I have a setup using sudo like this:
mikel myhostname=NOPASSWD: /usr/sbin/logcheckbut when I go to run it like this:
mikel$ sudo logcheck -o
logcheck should not be run as root. Use su to invoke logcheck:
su -s /bin/bash -c "/usr/sbin/logcheck [options]" logcheck
mikel$
so I take their advice and run it like the above:
mikel$ su -s /bin/bash -c "/usr/sbin/logcheck -o"
Password: logcheck should not be run as root. Use su to invoke logcheck:
su -s /bin/bash -c "/usr/sbin/logcheck [options]" logcheck
mikel$
eh ? It stills tells me that it should not be run as root.
I can run it as me just to get version numbers and help mikel$ /usr/sbin/logcheck -v
logcheck 1.2.35
but I cant see to run it via sudo or su
Mike
-- Mike Lake Caver, Linux enthusiast and interested in anything technical.
-- UTS CRICOS Provider Code: 00099F DISCLAIMER: This email message and any accompanying attachments may contain confidential information. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views the University of Technology Sydney. Before opening any attachments, please check them for viruses and defects. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
