The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Increment userid in file dejavu88 Shell Programming and Scripting 2 05-26-2008 02:11 PM
userid sundaresh UNIX for Advanced & Expert Users 1 08-17-2007 04:03 PM
locking userid to 1 dir? amheck SUN Solaris 2 05-05-2006 12:46 PM
date and userid gundu Shell Programming and Scripting 2 03-25-2005 07:53 AM
validating userid giannicello UNIX for Dummies Questions & Answers 2 05-07-2003 01:13 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-10-2008
Registered User
 

Join Date: Oct 2007
Posts: 25
Stumble this Post!
validating the userid and passwd

Hi

i need to write a script which perform some action only when an existing and privliged user is running it. It will call another script where user ID and password are required.

So in main script before calling another script I need userID and password validation....for that I can check userid in /etc/passwd file .... but how to check that he entered correct password.

Please help.

Thanks,
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:12 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0