Like most sys admin, I’m lazy. I try to automate almost all things in order to save time. Inexperienced sys admin and help desk staff working under me finds all these tools useful. It saves their time and avoids security issues. Automation allows help desk staff to do things that they don’t have enough direct system knowledge to do themselves. However, selecting correct tool and applying correct methodology is very important.
Note: There is a poll embedded within this post, please visit the site to participate in this post’s poll.
The purpose of a debugger is to allow you to see what is going on inside another program while it executes. It is useful to find out what another program was doing at the moment it crashed. I know most people will recommend GNU gdb, Nemiver, Valgrind or IDE such as Eclipse. I use gdb when it is really required; otherwise I debug the old fashioned way using printf() or cout statements.
I was going though my server logs / Google Analytics settings and found that over 60% users are on MS-Windows. However, each and every month visitors are switching to Firefox or Google browser and so on. So I would like to know your reasons for making switch from IE to another browser. Why did you switch and which browser did you switch to?
From my mail bag:
I’m seriously considering getting trained myself with a UNIX / Linux education. Can you give me some general idea about salaries for computer professionals with diploma or degree education?
Salaries depends upon many factors such as:
=> Your country / location
=> Your credentials
=> Your level of experience
=> Your education level
=> Employer size
=> Job title etc
The best way to find information is just contact to your local recurring agency. Another old good option is LUG members. If you are located in U.S see Bureau of Labor Statistics website. After a quick search, I found following data (again valid for USA):
a] Tech support staff – US $50-55k p.a.
b] UNIX Sys / Net Admin – US $75-90k p.a.
c] UNIX Systems Manager – US $120k+ p.a.
There is no such data exists for India and salaries vary depending on diffrent factors. Please note that:
More Experience + Additional skillset == More money
=> Salary Survey Report for Job: UNIX System Administrator
=> Another Salary Survey Report for Job: Linux System Administrator (City and State search supported)
Feel free to share your experience in the comments.
From my mailbag the other day I received an interesting question about network interface:
I’ve 4 network card installed in my server and I need to find out which NIC is which? How do I tell which physical card is eth0 and which one is eth1 and so on using command line options? If my server is 5000 miles away, how do I tell which NIC is eth0 w/o interrupting network traffic?
I’ve got some thoughts on this myself such as:
[a] use ping command – Easy to use
[b] udev persistent-net rules – See /etc/udev/rules.d/*persistent-net.rules
[c] ethtool -p eth0 5 – It will initiates adapter-specific action intended to enable an operator to easily identify the adapter by sight. Typically this involves blinking one or more LEDs on the specific ethernet port. But, it will not work with all drivers
Anyway, I thought that it would be interesting to throw this to you the reader to comment on.
I got lots of emails asking about Ubuntu Linux and hard disk issue. Does it really shorten hard disk life?
Unfortunately, some news and blogs reported news wrongly. Ubuntu doesn’t touch your hard drive power management settings by default. In almost all cases, it’s more likely to be your BIOS or the firmware on your hard drive (source).
Check out this official bug report for more information. On a related note, always consider backing up hard disk / data on regular basis.
Many new Linux user / admin asks:
Is Linux more secure than Windows?
That depends. ;-) Let me explain:
Fan boys on both sides argue to the death that their
religion operating system is the best and safest to use.
Windows is harder to secure than Linux. It is the simple truth. Many IT professionals including RHCEs and MCSEs believe that Linux is more secure than Windows. However you cannot blindly accept Linux is more secure than Windows. On both operating systems you need to:
a) Restrict user access
b) Restrict service access
c) Restrict network access
d) Create backup / restore policy
e) Install and manage app level security
f) Continuously install, configure, and patch the system etc
As you see both Windows and Linux administrators requires same levels of skills. Linux is secure by design i.e. Linux is inherently more secure than Windows. Linux designed as a multi-use, network operating system from day one. For example IE / FF bug can take down entire windows computer. However, if there were the same bug in FF it won’t take down entire Linux computer. Under windows almost any app level bug (read as vulnerability) can be used to take down the entire system and turn into a zombie computer.
- No operating system is secure
- Both Linux / Windows admin requires same level of skills
- By default Linux is more secure than Windows, but it is also open to attack.
- You can just make attackers job hard.
- Remember, security is an on going process and nothing is secure once connected to network, period.
This is based upon my own experience. I don’t have a good answer here. What do you think? Do you run Windows and Linux? Please add your experience in the comments.