iEntry 10th Anniversary LinuxHaxor WH MH

10 Basic Linux Security Tips to Implement


women

The following is a list of rules and tips you might find useful in dealing with basic security concerns:

  1. Avoid doing your regular jobs when you are logged in as root. This reduces the risk of getting a cuckoo egg or a virus and protects you from your own mistakes.
  2. If possible, always try to use encrypted connections to work on a remote machine. Using SSH (secure shell) to replace telnet, ftp, rsh, and rlogin should be standard practice.
  3. Avoid using authentic method based on ip address alone.
  4. Try to keep the most important network-related packages up-to-date and subscribe to the corresponding mailing lists to recieve announcements on new versions of programs such as bind, postfix, and ssh. The same should apply to software relevant to local security.
  5. Disable any network services you do not absolutely require for your server to wok properly. This will make your system safer. Open ports, with the socket state LISTEN, can be found using the netstat program.
  6. RPM packages from SUSE are digitally signed. You can verify the integrity of any SUSE RPM package by entering this on concole: rpm — chechsig package.rpm . The needed public gpg-key is copied to the home directory of root upon installation.
  7. Check your backups of user and system files regularly. Remember that if you do not test whether the backup will work, its as good as useless.
  8. Check your log files. Whenever possible, write a small script to search for suspicious entries.
  9. Use firewall to enhance the security provided by tcpd (tcp wrapper)
  10. Design your security measure to be redundant. A message seen twice is better than no message at all.

  • phishphreekNo Gravatar

    November 24th, 2007 13:57

    Nice tips. I saw your post on AO and replied to it. I might as well as post it here too.
    From http://antionline.com/showthread.php?t=276207

    1) Avoid doing your regular jobs when you are logged in as root. This reduces the risk of getting a cuckoo egg or a virus and protects you from your own mistakes.

    –> I don’t see a reason to log in as root. Log in as a normal user and then use su or better yet… sudo to perform root functions. If there are programs that you run on a regular basis that needs root, then add the appropriate users to the sudoers file and assign only the necessary root commands. This is good for things like nmap. It also reduces the need for many people to know the root password.

    2) If possible, always try to use encrypted connections to work on a remote machine. Using SSH (secure shell) to replace telnet, ftp, rsh, and rlogin should be standard practice.

    –> Allow only the SSH2 protocol. It is good practice to deny root the ability to login via ssh. Allow access to ssh on a user or group basis.

    5) Disable any network services you do not absolutely require for your server to wok properly. This will make your system safer. Open ports, with the socket state LISTEN, can be found using the netstat program.

    –> Sometimes it can be helpful to bind services to localhost only. I’ve found scenarios where I need mysql and apache installed but don’t need remote access to either of them. (Such as a snort/mysql/base solution which will only be accessed via the console.) They only need to listen on the loopback interface. Use tcp wrappers as well as firewall rules to restrict access to network services.

    8) Check your log files. Whenever possible, write a small script to search for suspicious entries.

    –> If possible, send your log files over an encrypted connection to a hardened syslog server and archive your files on a regular basis. If you have the ability to aggregate and correlate your logs, even better.

  • kieNo Gravatar

    August 14th, 2008 02:42

    about 10 Basic Linux Security Tips to Implement is very good

Trackbacks

  1. hgdomainnames » Blog Archive » 10 Basic Linux Security Tips to Implement
  2. Basic Security Tips
  3. Linux Security « Linux Library
  4. Make Linux: Harder - Better - Faster | LinuxHaxor.net
  5. Förbättra linux med dessa 32 länkar | Bloggliv
  6. How to make your Linux harder, better & faster.
  7. 10 Basic Linux Security Tips to Implement | LinuxHaxor.net | Linux Affinity

Subscribe without commenting


Leave a Reply

Note: Any comments are permitted only because the site owner is letting you post, and any comments will be removed for any reason at the absolute discretion of the site owner.


  • free trial of viagra
  • osteoporosis arthritis
  • cymbalta canada
  • xanax prescription
  • viagra viagra
  • gout cures
  • medication for acne
  • energy diet aids
  • buy online viagra
  • phentermine prescription
  • viagra from canada
  • dark spot on skin
  • impotence cure
  • cialis v s viagra
  • new treatment for heart failure
  • woman's viagra
  • cure treat itch itching
  • motion sickness remedy
  • discount erectile dysfunction medication
  • synthroid doses
  • prescription drugs online
  • cheap body building supplement
  • viagra on line uk
  • more sperm
  • naproxen ingredients
  • treatment of type 1 diabetes
  • cheap no prescription viagra
  • cheap generic ambien
  • acne accutanes
  • treatments for hiv aids
  • drugs used for treatment of arthritis
  • heart medicines that effect heart rate
  • cheap tagamet
  • lower back arthritis
  • buy super cialis
  • adhd in children
  • order perscription drugs online
  • fastest way to burn fat
  • gout medicines
  • high blood pressure and treatment
  • drug list high blood pressure
  • relieve joint pain naturally
  • arthritis of the neck
  • trazodone 100mg
  • prescription pain medicines
  • viagra discount online
  • what pills look like phentermine
  • levitra professional safe
  • cialis best prices
  • viagra or cealis
  • med health
  • bacterial infection
  • treating bipolar disorder
  • discount viagra
  • how to get pain pills
  • buy valium in uk
  • aspirin plus
  • parkinsons disease medication
  • generic drugs
  • treatment of chest pain
  • osteoporosis calcium
  • viagra to buy
  • dog lose weight
  • cat care
  • prostate cancer meds
  • cure for throat infection
  • norvasc 10 mg
  • nexium prevacid prilosec
  • speed of viagra
  • treatment of breast cancer
  • bph prostate
  • free topamax
  • toprol 50mg
  • fda weight loss
  • increase immune system against viruses
  • actonel dosage
  • blood pressure remedies
  • natural dog health care
  • male health drugs
  • phentermine 37.5 diet pills
  • ear infection symptoms
  • buy cheap cialis without a prescription
  • buy body building hormone
  • removing dark spots from face
  • prescription weight loss drugs
  • control high blood pressure
  • back pain treatment
  • cure for throat infection
  • pharmacy anxiety
  • drugs and blood sugar
  • migraine headache treatment
  • no prescription needed online pharmacies
  • ambien health
  • discount online drug stores
  • buy cheap arthritis pain medication
  • pregnancy high blood pressure
  • store vitamin online health supplement
  • free phentermine
  • sleep disorders medication
  • relief for tooth pain
  • accutane generic
  • buy cialis pharmacy
  • prescription pills
  • drugs for depression
  • drug spironolactone
  • back osteoporosis pain
  • what is aspirin
  • right side heart failure
  • stop pain fast online
  • celebrex information
  • breast enlargement
  • body fat lose
  • natural cure arthritis
  • atenolol withdrawal
  • knee osteoporosis
  • alcoholism herbal treatment
  • cheap levitra online
  • buy claritin
  • prozac pill
  • india pharmacies
  • medications for diabetes treatment
  • cheap phentermine online
  • viagra cialis levitra
  • reduce blood clots
  • giving cats medication pills
  • cialis 5mg
  • newest bodybuilding products
  • viagra free pills
  • generic klonopin
  • mexican pharmacy online
  • generic kamagra
  • diabetes treatment drugs
  • help for nausea
  • drug generic lipitor
  • bacterial infection
  • viagra uk cost pill
  • soma free shipping
  • buying diet pills
  • top hair loss
  • clonazepam withdrawals
  • generic for norvasc
  • the vitamin code
  • weight loss success
  • pet medications online
  • diet for high blood pressure
  • prescription diet pill
  • general health care
  • 5mg cialis generic
  • signs of a blood clot
  • hard stool
  • cheap erectile dysfunction pills
  • thyroid and dogs
  • medicine ultram
  • where to buy pain medication online
  • kids high blood pressure
  • canada online drug stores
  • ativan 5mg
  • prescription medication for obesity
  • buy top hiv meds online
  • weight loss drinks
  • levitra side effects
  • levitra web sites
  • woman bladder problem
  • migraine headache treatment
  • dog treat recipes
  • prevention of pregnancy
  • medication metformin
  • drug interaction levitra
  • lower my cholesterol
  • urinary tract infect
  • vaginal chlamydia
  • help for heart failure
  • treatment for prostate cancer
  • zyrtec cost
  • old dog products
  • medication avapro
  • fluconazole
  • gabapentin
  • cheap diet pills that work
  • how to make penis longer
  • medicine for nausea
  • buy legal drugs
  • real valium
  • pain killers online
  • treating bone loss
  • natural help for osteoporosis
  • medical products for pets
  • osteoporosis and men
  • order drugs online
  • discount valium online
  • muscle building diet
  • order motrin
  • woman bladder problem
  • new cure for stroke
  • what is heart failure
  • all natural breast enhancer
  • cure sinus infection
  • discount erectile dysfunction medication
  • online pharmacy europe
  • rheumatoid arthritis herbal medicine treatment