home
NEWS       BLOGS       FORUMS       NEWSLETTERS       RESEARCH       EVENTS       DIGITAL LIBRARY       CAREERS  
Network Computing Network Computing Powered by InformationWeek Business Technology Network

IMMERSE YOURSELF:

SOA

  |

Data Center

  |

802.11n

  |

Data Privacy

  |
APO  |

Virtualization

  |

NAC

  |

Security

  |

Network Mgmt

  |

Enterprise Apps

  |

Storage & Servers




Listing 1. Auditing the password file.

A. Each user account entry in the password file should have seven colon-separated fields, as depicted here, in general terms and with a specific entry:

accountname:encrypted_password:user-id:group-id:comment:home directory:shell
rik:H9rPOeA6iKP.w:102:100:Rik Farrow:/home/rik:/bin/csh

B. You can use the pwck command to check the password file for a variety of mistakes (often introduced by editing). Here's some sample output:

% pwck
AUpwdauthd:##nobody:65533:65533::/:/bin/false
First char in login name not lower case alpha
2 Bad character(s) in login name
Login name too long
news:##news:6:6::/var/spool/news:/bin/false
Login directory not found
ingres:##ingres:7:7::/usr/ingres:/bin/false
Login directory not found
audit:##audit:9:9::/etc/security/audit:/bin/false
Login directory not found
guest:##:1000:1000:chroot restricted user:/home/sec/restrict:/etc/chrt
Optional shell file not found
%

C. An /etc/passwd file taken from a Solaris 1 (SunOS 4.1.2) system. The encrypted passwords have been replaced by keys into the hidden password file, /etc/security/passwd.adjunct.

root:##root:0:1:Operator:/:/bin/csh
nobody:##nobody:65534:65534::/:/bin/false
AUpwdauthd:##nobody:65533:65533::/:/bin/false
daemon:##daemon:1:1::/:/bin/false
sys:##sys:2:2::/:/bin/false
bin:##bin:3:3::/bin:/bin/false
uucp:##uucp:4:8::/var/spool/uucppublic:/bin/false
news:##news:6:6::/var/spool/news:/bin/false
ingres:##ingres:7:7::/usr/ingres:/bin/false
audit:##audit:9:9::/etc/security/audit:/bin/false
rose:##rose:201:20:Rose Moon:/Sec/Rose:/bin/csh
rik:##rik:100:10:Rik Farrow 602 282 0242 MST:/rik:/bin/csh
jeff:##jeff:110:10:Jeff Moon:/gms/Jeff:/bin/csh
Print This Page


e-mail Send as e-mail





Ready to take that job and shove it?

Function:

Keyword(s):

State:
SPONSOR
RECENT JOB POSTINGS
CAREER NEWS
Go beyond Google and get vertical. These specialized search sites will help you find the business information you need -- fast.

Ari Balogh was named to the post of chief technology officer as the companys for a "realignment" of employees.










InformationWeek U.S. IT Salary Survey 2008
Salaries for business technology professionals are falling. Here's what you need to know in order to make good hiring decisions and personal career choices. Download Today
 
ROLLING RIGHT ALONG
Follow key Network Computing Reviews from conception to completion. This Week: Holistic APM.



Network Computing Reports Emerging Enterprise Podcast Series: Secrets to Success








TechSearch


Microsite of the Week


Powerful Information at Your Fingertips



InformationWeek Business Technology Network
InformationWeekInformationWeek 500InformationWeek 500 ConferenceInformationWeek AnalyticsInformationWeek CIO
InformationWeek EventsInformationWeek ReportsInformationWeek MagazinebMightyByte and SwitchDark Reading
Digital LibraryIntelligent EnterpriseInternet EvolutionNetwork ComputingNo JitterPlug Into The Cloud
space
Techweb Events Network
InteropVoiceConWeb 2.0 ExpoWeb 2.0 SummitEnterprise 2.0 ConferenceMobile Business ExpoSoftware ConferenceCSI - Computer Security Institute
Black HatGTECEnergy CampMashup CampStartup Camp
space
Light Reading Communications Network
Light ReadingLight Reading EuropeUnstrungLight Reading's Cable Digital NewsConstantinopleInternet EvolutionPyramid Research
Heavy ReadingLight Reading Live!Light Reading InsiderEthernet ExpoOptical ExpoTeleco TVTower Technology Summit
space
Financial Technology Network
Advanced TradingBank Systems & TechnologyInsurance & TechnologyWall Street & TechnologyAccelerating Wall StreetBank Systems & Technology Executive SummitBuyside Trading SummitInsurance & Technology Executive Summit
space
Microsoft Technology Network
MSDN MagazineTechNetThe Architecture Journal
space


App Infrastructure   |   Messaging & Collaboration   |   Network & Systems Mgmt   |   Network Infrastructure   |   Security  |   Storage & Servers   |   Wireless   |   Enterprise Apps
About Us  |  Contact Us  |  Site Map  |  Technology Marketing Solutions  |  Advertising Contacts  |   Briefing Centers
Copyright © 2008  United Business Media LLC  |  Privacy Statement  |  Terms of Service  |  Your California Privacy Rights