Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Automating UNIX/Solaris password resets Post 303037174 by hicksd8 on Thursday 25th of July 2019 10:34:56 AM
Old 07-25-2019
Any script to do that would need to run as root because that is the only account that won't be prompted for the old password.

How will you positively identify the user? Ask them to enter their email address and then send them a link to do the password reset?

Where is the web server for you to do that? Assuming you have a web server you then have to have a mechanism for a URL link to call in (on a specific port perhaps) and run a script as root. Probably a substantial security risk.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

automating password ?

Hi all, I want to write a script which logs into a database (DB2). To do this i need to have a password. This will be done lots and lots of times, so i need to modify the script to automate the response to the password request. How do i this, because at present i do the following: db2 connect... (3 Replies)
Discussion started by: Liamo
3 Replies

2. UNIX for Dummies Questions & Answers

Automating password change

Hi, I'm trying to create a shell to change some user password with random string. I've tried to use stdin redirection to supply the new password by a response file: passwd theuser < respfile but I continue to be prompted for supplying pwd via console keyboard. Can you help me to... (2 Replies)
Discussion started by: nisant
2 Replies

3. Shell Programming and Scripting

Automating Database scripts in UNIX

Hi everybody, can someone please suggest me how to implement the running of SQL table scripts(.sql) at a specific time automatically in UNIX ?Thanks (2 Replies)
Discussion started by: konquistador
2 Replies

4. UNIX for Dummies Questions & Answers

Automating UNIX backups?

Hi all, I'm quite limited in UNIX unfortunately for me, and need to find a solution to something thats giving me headaches every morning. We need to make daily backups of a server we have in the office every morning, as well as then FTPing the created backup files over to a specific FTP address... (3 Replies)
Discussion started by: de049
3 Replies

5. Shell Programming and Scripting

automating ssh session with password

Hi Can anyone help me in automate a ssh session with password using shell script (7 Replies)
Discussion started by: raghav288
7 Replies

6. Shell Programming and Scripting

automating username / password entry

I have a database that contains a list of server names, and the password for the root user on several servers (100+). I need to verify the passwords for each of the servers in an automated fashion because the database continues to grow. All of the users that I'm going to test are ROOT. I can't... (1 Reply)
Discussion started by: jbeck22
1 Replies

7. UNIX for Advanced & Expert Users

Automating Interactive password change

I have written the below scripts . ldap_pwd_prompt.ksh #!/usr/bin/ksh passwd -r ldap interactive_pwd_change.exp #!/usr/local/bin/expect set timeout 10 set curpass set newpass spawn ./ldap_pwd_prompt.ksh expect "Enter existing login password:" send "$curpass\r" expect "New... (6 Replies)
Discussion started by: dr46014
6 Replies

8. UNIX for Advanced & Expert Users

Automating Password reset without shell usage

Our application runs on AIX and the users of the application do not have a way to land at the prompt/shell by any means. When they login to the box, the application opens up directly. I would like to know of a way to automate the password reset process for these user ids, without them having to... (2 Replies)
Discussion started by: ggayathri
2 Replies

9. Solaris

Automating old Boot Environment Cleanup Solaris 11

I'm trying to automate the patching process using scripts and cronjobs in Solaris 11. one of the things I'd like to do is cleanup the old boot environments. unfortunately beadm destroy requires a response :~$ pfexec beadm destroy -f solaris-13 Are you sure you want to destroy... (3 Replies)
Discussion started by: os2mac
3 Replies
Jifty::Plugin::Authentication::Password::View(3pm)	User Contributed Perl Documentation	Jifty::Plugin::Authentication::Password::View(3pm)

NAME
Jifty::Plugin::Authentication::Password::View - views for password plugin DESCRIPTION
This provides the templates for the pages and forms used by the password authentication plugin. TEMPLATES
signup Displays a sign-up form. login Displays the login form. login_widget A handy template for embedding the login form. Just include it in your templates via: show('/login_widget'); See Jifty::Plugin::Authentication::Password::Action::Login. let/reset_lost_password After requesting a password reset and clicking on the link sent by email, this receives that click and provides the form for resetting the password. See Jifty::Plugin::Authentication::Action::ResetLostPassword. let/confirm_email Handles the work of confirming an email address for a new account. See Jifty::Plugin::Authenticaiton::Password::View. lost_password Starts the process of sending a link to reset a lost password by email. See Jifty::Plugin::Authentication::Password::SendPasswordReminder. resend_confirmation Request a new email confirmation message be sent to your email account. See Jifty::Plugin::Authentication::Password::Action::ResendConfirmation. SEE ALSO
Jifty::Plugin::Authentication::Password, Jifty::Plugin::Authentication::Password::Dispatcher LICENSE
Jifty is Copyright 2005-2010 Best Practical Solutions, LLC. Jifty is distributed under the same terms as Perl itself. perl v5.14.2 2010-12-10 Jifty::Plugin::Authentication::Password::View(3pm)
All times are GMT -4. The time now is 06:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy