Solved

how can i extend freebsd logging capabilities

Posted on 2009-07-05
3
453 Views
Last Modified: 2013-11-22
hello guys,

i have a freebsd server, with multiple shell users on it, the system is mounted with nosuid/noexec, so users are not executing anything but what i want them to. now, the server keeps on crashing once in 10 15 days, and i don't know why, this  issue has spanned over 3 replaced systems, and we even changed the hardware specs, and keeps on happening.

i think it has to do something with the users, but i can't figure out what. is there any aditional logging that i could do so that i could see if maybe the users are causing the crash, like, logging the shell commands that they do, and have something that would output relevant info in case the server crashes?
0
Comment
Question by:rares_dumitrescu
3 Comments
 
LVL 40

Accepted Solution

by:
omarfarid earned 500 total points
Comment Utility
see if you can enable process / user accounting / auditing on your system
0
 
LVL 2

Expert Comment

by:martino87r
Comment Utility
Usually each service allow you to setup a different level of logging details. As far as i know, you can use the debug option in most services as well and check the very, very extensive logs.
For more details, decide what services are more likely to crash your machine and then check how to increase the logging verbosity and/or details and investigate the problem.

For example samba log details are configured in the samba.conf
log level = 1 or more

samba specific infos
http://oreilly.com/catalog/samba/chapter/book/ch09_01.html
0
 
LVL 32

Expert Comment

by:Kamran Arshad
Comment Utility
Hi,

What application is running on these servers? What do the standard system logs say?
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
In this era, as you know, cybercrime and other sorts of frauds using the internet has increased day by day. We should protect our information assets and confidential information from getting exploiting by the attacker or intruders. Most of the fraud…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now