Recently I found a problem when using Mac OS X and Windows Server 2003 R2 as a file server. The problem exists in the permissions that are applied to user folders. When applying permissions to shares you normally start out with a very restrictive permission structure at the top. As you create the folders you add permissions for users and groups to permit and restrict access for others. This structure of permissions is very common in dealing with corporate shares. We also share the folder with ‘domain users’ only having change or modify access to the entire share. This eliminates people applying their own permissions and locking everyone out including themselves. This is a common task for a network admin in setting up permissions.
Continue reading
Tag Archives: Linux
Clean Debian Etch Install
My first Linux install was actually a BSD install of OpenBSD and I was quite impressed that nothing was installed except for the operating system. I am now minimalist and when installing operating systems this principal works to my advantage. The ideology is: you only install what is needed and nothing more, thus reducing the surface of attack and lowering wasted process time. So I have put a guide together that was inspired by the Linux how to for “The Perfect Setup – Debian Etchâ€. This guide was created with screenshots from VMware. Continue reading
Linux Coloring of the Results
When reviewing a UNIX log file, I often feel like I’m looking for a needle in a haystack. Even after I ‘grep’ out what I’m looking for I still can’t find it. I also like to use the ‘tail –f’ command to watch a rolling log, but again the information scrolls too fast and you just can’t find what you’re looking for in the quick moving results. To find the interesting information we will obviously use the ‘grep’ command, but to identify the results in the information there are a couple of methods.
The ‘grep’ command will support ANSI colorization and this can be done a number of ways. The first way is to specify the –color or –colour option on the command line. The second way is to export a variable that ‘grep’ looks at when executed. You will most likey want to add the export lines to your .profile or .bashrc file.