Home arrow Linux Security arrow Securing Passwords in linux

Language Translator

Hacking Zone

Hacking Tools
Attacking

Configure Windows

Windows Configuration

Mix Tutorials

Asterisk
Website Building

Novels

Mix Novels

Human Personality

Body Language
Securing Passwords in linux Print E-mail
Article Index
Securing Passwords in linux
Page 2
Page 3

Securing Passwords in linux

 

                Historically, UNIX passwords are stored in the /etc/passwd file, which any user can read. For example, a typical old-style /etc/passwd file entry for the root user looks like this:
root:t6Z7NWDK1K8sU:0:0:root:/root:/bin/bash

The fields are separated by colons (:), and the second field contains the
password in encrypted form. To check whether a password is valid, the login
program encrypts the plain-text password the user enters and compares the
password with the contents of the /etc/passwd file. If there is a match,
the user is allowed to log in.


Password-cracking programs work just like the login program, except that
these programs pick one word at a time from a dictionary, encrypt the word,
and compare the encrypted word with the encrypted passwords in the
/etc/passwd file for a match. To crack the passwords, the intruder needs the
/etc/passwd file. Often, crackers use weaknesses of various Internet servers
(such as mail and FTP) to get a copy of the /etc/passwd file.
Several improvements have made passwords more secure in Linux. These
include shadow passwords and pluggable authentication modules —
described in the next two sections — and you can install these easily as you
install Linux. During Linux installation, you typically get a chance to configure
the authentication. If you enable MD5 password and enable shadow pass-
words, you automatically enable more secure passwords in Linux.



 
< Prev
Your Ad Here

RSS socialnet

Add to MyYahoo!
Subscribe in NewsGator Online
Add to Newsburst
Add to Google
Add to My AOL
Add to Pluck
Subscribe in FeedLounge
Add to Windows Live
Add to NetVibes
Subscribe in Rojo
Subscribe in Bloglines
Add to MyMSN
Add to Plusmo for your cellphone
Add to PageFlakes
Add to Technorati
Add to BlinkBits