Linux Today: Linux News On Internet Time.
Search Linux Today
search.internet.com
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Become a Marketplace Partner

internet.commerce
Be a Commerce Partner














The Linux Channel at internet.com
Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Subscribe News
Subscribe PR
Subscribe Security

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 






Current Newswire:

Installing Ubuntu 9.10

Hands-on: OpenMoko WikiReader is simple, appealing

Perl far from dead, more popular than you think

Microsoft Exchange alternatives

Kubuntu 9.10: A Mixed Bag

Could Microsoft switch to Linux?

Red Hat Virtualization Manager for Windows Only?

Creating Ebooks with Sigil

Editor's Note: Making Multi-Channel Firewire Music With Linux

Amaya: A Simple, Yet Useful Alternative to Dreamweaver




Server Support Specialist I
The Computer Merchant, Ltd
US-OK-Oklahoma City

Justtechjobs.com Post A Job | Post A Resume
:Another Simple Scriptlet To Make The Unix And Linux CLI More User Friendly
Another Simple Scriptlet To Make The Unix And Linux CLI More User Friendly
Nov 24, 2008, 10 :03 UTC (2 Talkback[s]) (2937 reads)

(Other stories by Mike Tremell)

[ Thanks to Mike Golvach for this link. ]

"Our little foray into variable interpolation today has to do with making /etc/passwd just a bit more accessible. Most folks are familiar with the 7 colon-separated fields of this file (if not, they're: The user's Username, an encrypted password (or usually an "x" if you're using a shadow password system), the user's UID, the user's GID, the user's gecos information (Also referred to as the "comment field," usually either empty or populated with a short description to make the account more easily recognizable) , the user's home directory and, finally, the user's default shell)

"Now, say what you will about the structure and setup of the passwd file, but it's fairly easy to follow. Almost everything in it is the opposite of cryptic. The password field (field number 2) is, of course, not going to be tailored for your ease of understanding ;) If you get really lucky and you hop on a machine that actually lists the encrypted password in field two of /etc/passwd, you can copy the file to any remote machine and go to work on it. We've posted quite a few scripts to do automated password cracking."

Complete Story

Related Stories:
Plain English Explanation Of An Awk Statement For Linux Or Unix(Nov 22, 2008)
Convoluted Column Arithmetic Examples Using Awk On Linux Or Unix(Nov 21, 2008)
Bash Cable, Dish and Local TV Listings Script For Linux Or Unix(Nov 20, 2008)
Bash One-Liner Script To Produce Somewhat-Fancy Output Of Who's Logged In(Nov 19, 2008)
Fake Unix and Linux Advisory - The /dev/null Vulnerability(Nov 17, 2008)
Basic Veritas Cluster Server Troubleshooting(Nov 16, 2008)
XKCD - Linux, Unix And Other Funny Cartoons(Nov 16, 2008)
Getting CPU Information From Various Flavours Of Linux And Unix(Nov 14, 2008)


Index Mode   |   Flat Mode   |   Thread Mode   |   Thread Flat  
  Talkback(s) Name  and Date
Couldn't see the link to "Complete s ...   Link?   
Anonymous Personal
Nov 24, 2008, 12:30:52
 
There is no link.. ...   Where is the Link?   
Claus Petersen
Nov 24, 2008, 13:49:28
 
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!






..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs