Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
1. You are an administrator at a small company that is currently developing a network-based application. The programmers have come to you and asked that you setup syslogd so that it will monitor the application. Note - You have set aside local6 as the facility.
1) What file will you modify to get syslogd to pay attention to the applications log requests?
2) The developers want the following to occur
debug messages go to:
· /local/project23/log/debug.log
· notice, info, warning messages go to /local/project23/log/message.log
· crit and alert messages go to /local/project23/log/crit.log and to the screen of bobl, nancy, and Kenya if they are logged in.
Please provide your entries below:
3) Once you configured syslogd, what do you do to have the daemon read its config file?
4) The developers want you to automate the backup and compression of the logs found in /local/project23/log/ to /local/project23/archive. So you have decided to write a shell script and use cron. Here are the requirements:
· Every Saturday morning at 1:00am the script should be run
· Archive all log files in /local/project23/log/
· Compress the archive
· Move the archive to /local/project23/archive
· zero out the current log files
Is this homework? Plus you posted in the wrong forum.
If its homework, I'd suggest not asking. Members here will not answer questions that come off as doing the work your suppose to do yourself. We don't cheat, we just help in finding the answer, without giving it out.
In the future, pick the most relevant forum for your questions. This forum here is to introduce yourself in. Regards.
Sorry, I can't believe for a second that this is not homework, and as such against the rules you have agreed to abide by. As such, this thread is being closed. If you believe this to be unfair treatment, please contact either myself or jeremy, the site admin, directly. thanks.
## dammit mara! hehe, guess it stays open a little longer!
Last edited by acid_kewpie; 09-19-2003 at 03:17 PM.
I was contacted via email stating this is not homework but kanette is asking on behalf of another person.
Regards.
PS. I did mention that in the future, if your asking questions, try to refrain from making them appear as they are questions directly from a test, book, homework or the such. This is for any member who uses this site.
LQ.org will not tolerate answering questions and doing homework on anyone's behalf. That's the whole point of homework, tests or the such, for you to find your own given answer.
I don't see the point of NOT doing anybodies homework. If there is somebody needing help and has no clue how to approach the problem, then why not do it for him.
whenever I have a problem to solve, I go to the net to find a solution, this includes asking questions. So I google around and find mostly similar solutions - then I simply adjust them to my needs.
to kanette:
you might want to replace syslogd with syslog-ng (http://www.balabit.hu/downloads/syslog-ng/ you need libol too, also available under that address). with syslog-ng you can match certain strings coming from all kinds of sources (usually /proc/kmsg) and start other appropriate programs warning you or what ever... syslog-ng also listens to the network and receives messages from allover the network. you can customize all different destinations for different logs... (usertty, or upd(192.168.2.13))
I don't see the point of NOT doing anybodies homework. If there is somebody needing help and has no clue how to approach the problem, then why not do it for him.
whenever I have a problem to solve, I go to the net to find a solution, this includes asking questions. So I google around and find mostly similar solutions - then I simply adjust them to my needs.
Then ask yourself, what is the point of the homework then, or taking a test then? That is what teaches them how to do their own work, research and find. Not everyone knows the answer, but with a little reading and searching, they will find their answer, also learning the process to find that answer.
If a teacher asks you to do something, that doesn't mean you turn to your classmate and ask them for the answer, that is along the same lines here. We don't tolerate doing others homework, that's their work and they need to find the answer. It prepares them for their future. What good would or purpose would anybody be if they couldn't do anything on their own.
That's it. No more discussion regarding homework. If you feel like arguing about it, email me. But other than that, abide by our requests not to do others homework or answer questions off tests, quizzes, etc. That is called CHEATING, look it up if you don't know the meaning.
hmm...
OK, I read your kind reminder of what homework is, and I feel like telling you that I know what you mean. but there is no reason for you to react so very unfriendly. this is a helping community. I doubt that people here like to hear you nagging about posts instead of actually helping them. you could have pointed kanette in the right direction yourself, but instead you declared this post as 'homework' and didn't help a bit.
maybe I'm a little bit too liberal, but unlike you I tried helping. please think about the way you treat people here. I doubt you would like to be treated that way.
oh and by the way, the rules don't state anything about "doing somebody else's homework".
lets close the topic from here on... emailing is possible.
Originally posted by keex hmm...
OK, I read your kind reminder of what homework is, and I feel like telling you that I know what you mean. but there is no reason for you to react so very unfriendly. this is a helping community. I doubt that people here like to hear you nagging about posts instead of actually helping them. you could have pointed kanette in the right direction yourself, but instead you declared this post as 'homework' and didn't help a bit.
maybe I'm a little bit too liberal, but unlike you I tried helping. please think about the way you treat people here. I doubt you would like to be treated that way.
oh and by the way, the rules don't state anything about "doing somebody else's homework".
lets close the topic from here on... emailing is possible.
I'm quite blunt myself and don't care what people think in most cases. I don't take things too personally on a forum. If you only saw this persons reaction in an email sent, well then, nuff said.
But I could have sworn that I asked for emails beyond my last post regarding discussing this. And the for the rule, well its not posted but its more of a moral stance among the moderators and site owner that we don't do others homework.
Regards.
Again, if you feel like discussing or arguing this, email me. Other than that, I only posted this to display our reasonings on points you brought up. Also if you read the rules again, this sort of topic is covered most likely under this statement: "By becoming a member you agreed to adhere to these guidelines. These guidelines are subject to change and a current version is always available in the forums."
Basically if its not listed there, then its been posted in every single thread regarding homework, or what deems to be homework.
Another unwritten rule is to respect the moderators and their decisions.
I am a kind person. I don't have over 10k posts of being rude. What I don't like is people taking advantage of others. I can proudly say all my homework and tests I've done in my time I did on my own. I actually went out and found my answer, instead of asking another person to just give it to me.
I'm done now... any further comments welcome via email. Anyone else who posts regarding homework or the such will recieve warning points.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.