Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > password change

Reply
Thread Tools

password change

 
 
Patrick
Guest
Posts: n/a
 
      06-25-2004
Hi,

On unix system is it possibble to change the password of a user from a
var?

like:

system("passwd $user");
print("$password\n");
print("$password\n");

But this doesnt work. Passwd is waiting for a input.

It's hpux so --stdin doesnt work also.

Reg. Patrick


 
Reply With Quote
 
 
 
 
John W. Krahn
Guest
Posts: n/a
 
      06-26-2004
Patrick wrote:
>
> On unix system is it possibble to change the password of a user from a
> var?
>
> like:
>
> system("passwd $user");
> print("$password\n");
> print("$password\n");
>
> But this doesnt work. Passwd is waiting for a input.
>
> It's hpux so --stdin doesnt work also.


Perhaps this posting from Randal will help:
http://groups.google.ca/groups?selm=...stonehenge.com


John
--
use Perl;
program
fulfillment
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change a users password without knowing the old password nor the answer to the password question AAaron123 ASP .Net 1 01-16-2009 02:56 PM
Changing a users password without knowing the old password nor the answer to the password question AAaron123 ASP .Net 2 01-16-2009 02:08 PM
How can Administrator change the Password of existing User, without knowing his Old Password in Administer Security Tool ? Luqman ASP .Net 5 07-12-2007 09:29 AM
A Paradise DNS address change? What change? There was no change. Tony Neville NZ Computing 7 09-22-2006 01:02 PM
Password change not working for default password in cisco aironet 1200 Deepak K Cisco 2 04-19-2005 08:42 PM



Advertisments