Mar
4
Increase security by Locking Admin screen/console
March 4, 2007 | 1 Comment
This is especially useful for Linux/BSD/Unixish system which have multiple users with access to the console. One user may lock his or her session while still allowing other users to use the system on other virtual consoles. If desired, the entire console may be locked and virtual console switching disabled. This is really a good […]
Feb
22
Sending a Message to Windows Workstation
February 22, 2007 | Leave a Comment
You can use utility smbclient (part of samba server) to send a message to windows system from FreeBSD (or even from Linux/Solaris/UNIX OS). This command lets you send messages to windows workstations, display browse lists, and connect to SMB shares. Genral syntax of to send a message is as follows:
smbclient -M <WINDOW-SYSTEM-NAME> <<EOF
Message
Message
…
..
…
When the message […]
Feb
22
Sending a Message to All Users on a System
February 22, 2007 | 5 Comments
You can use the wall command to send a message to every user on a system. General syntax of wall command is as follows:
wall
Message
Message
…
….
..
When the message is complete, press Control-D.
1) To display message “Disk failure system will be down for 30 minute” to all users use wall as follows:
# wall
Disk failure system will be down […]
Feb
22
How to export display from Linux to FreeBSD
February 22, 2007 | Leave a Comment
The process is extremely simple all you need to understand is configuration file modification. X Window System use TCP port 6000 to listen network connection. By default almost all operating system including FreeBSD turns off this feature for security reason. Because of this setting you are not allowed to remotely open a window. Let us […]
Feb
21
How to restrict a user only to portforwarding in SSH Tunnel
February 21, 2007 | Leave a Comment
This sounds strange, what? Ok, let me tell you for what you would need that…
I have a user which works with my MySQL-database by Windows-ODBC. The usual communication between client and server runs unencrypted. So I decided to tunnel the communication through an ssh-tunnel.
Problem 1: User has shell-access and the user has the […]
Feb
16
Modsecurity Rules
February 16, 2007 | 6 Comments
There are many articles on how to setup modsecurity in google, so i’m not including it here, but from my experience, many admins have problem with adding rules for modsecurity. After lot of research in google, and my own research, i’ve made the list of some modseucrity rules, some of them are as under, sorry […]

























