TheeVagabond

Junior Member
Feb 25, 2009
20
0
0
The following is part of my job objectives:

"The Linux Administrator is responsible for completing the analysis of the present Linux System Architecture, determine present system configuration and document reasoning for configuration. Develop an optimized Linux Operating System platform for our hardware refresh cycle. Configuration changes should be document, tested and proven to support an Oracle platform."

I have recently been put into a Linux/Unix System Admin position with no experience with the Unix/Linux field. This job recently "inherited" this system a few years back and there are still mysteries to how it was setup. Does anyone have any recommendations on what I should start doing to get these boxes to reveal to me what I do, that or any sources on how to?

Sorry if this is asking a lot. I'm curious on expert opinion.
 

mgpaulus

Golden Member
Dec 19, 2000
1,112
0
0
Couple of things come to light right off:

1: Check what things are running now (ps -ef). Look at each app, and document what it's doing. When you get into things like apache & ftp if they are running, then look in their config files to determine what directories they are serving up and what the contents are.

2: Check the crontabs (/etc/crontab & /etc/cron.*) and see what kinds of things get fired, and their frequency.

3: Look for any large directories in other places. Might look in the /home, or /usr/src, or other oddball mount points to see if there is any active development going on. Might help determine if this is a development, QA or production environment.

The first 2 will take some time, but it should give you a pretty good view of what kind of services are running on the box. It might also contain some clues as to who is using the box, which you can then use to contact and ask questions.
 

Fallen Kell

Diamond Member
Oct 9, 1999
6,095
458
126
I also recommend getting work to pay for some training, especially if you inherited the job as you say. As much as I would like to say to get some Linux + Certification training, those classes really fail at actually teaching you anything other then memorize commands and command options (i.e. the test questions are like "What command will generate a list of all files contained in the "/var" directory and its subdirectories which are executable files and have no owner"? Which knowing the specific command is not nearly as important as knowing how what command might be correct and knowing how to read the "man pages" for the command to get the specific options and syntax for the command. Way too much is spent on direct memorization as opposed to real critical skills and how things work under-the-hood.

A much better class would be the Sun Certified System Administrator I and II classes. Now while these focus on Sun Solaris (Unix operating system), a LOT of the underlying things work very similar for the different linux operating systems (the big exception being that Sun has moved away from "init RC" directories and now using services, in which you set dependencies of a service so that multiple services can be started at once, instead of in the case of the older init RC scripts, one at a time in series).

Anyway, 70-80% of the stuff in the Sun SCSA classes will apply to linux as well. The command might be a little different, but concept is the same. Concepts are going to be your biggest issue right now. You will need to be able to figure out what is going on with the system.

On top of what mgpaulus said, you will want to go document what initialization scripts are running on the system, system run-level, and what type of account authentication method is used for logins. For find out what starts when the system boots up, first look at the "/etc/inittab" file and look for the line that says something like "id:5:initdefault:", where "5" is the runlevel (it might be any value 0 through 6, although if it was 6, you would have massive problems, as the machine would just constantly reboot itself). Once you know the runlevel, you can then find out what starts when the system boots by going to "/etc/rc<x>.d" (replace <x> with your runlevel). Inside that directory you will see a lot of executable scripts (or links). Anything that begins with a "S" will be Started when the system enters that runlevel. Anything with a "K" will be Killed (little more complicated, as the things that are killed are actually from the runlevel above your current runlevel which you don't want running in this particular level.... don't worry, just think of it as stuff that won't be running).

Now that you know what starts when the system starts, you will know better what the system is doing. Next look to see what authentication method is used, look at "/etc/nsswitch.conf" and look at the lines for "passwd, and group", and you may see something like "files [NOTFOUND=return] nis nisplus ldap". Anything before the NOTFOUND part is a possible authentication method, files means local files, nis, means it will look for a NIS domain (you can check to see if you are part of a nis domain by doing a "ypwhich" which will show you the current nis server you are pointing to for the data), nisplus is another method that might be used (although not as common anymore), as well as ldap. For "nisplus" you can try doing "nisdefaults" for getting nisplus information. Unfortunately, I don't know the commands offhand for ldap. It is important to know who can login to the system (for obvious security and data integrity reasons).
 
Last edited:

TheeVagabond

Junior Member
Feb 25, 2009
20
0
0
Thank you so much! I definately agree on your first point with the Linux+ Cert Training as I have been reading many book resources and have become increasingly frustrated. I actually have already talked to my boss about Red Hat Enterprise training and slowly working my way up to a RHCE. Most of our servers here are RH4 and a few Solaris boxes. Unfortunately right now they said they don't have the funds, but they are due more money sooner or lately so I will try again around January or February.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |