Automating UNIX/Solaris password resets


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Automating UNIX/Solaris password resets
# 1  
Old 07-25-2019
Automating UNIX/Solaris password resets

Hi,

we are running solaris 5.10 and looking for solutions to automate password resets? Plz assist.

Thanks,
Sridhar
# 2  
Old 07-25-2019
Can you please be more specific about what you mean by "password resets".

Solaris allows you to enforce password expiry thereby forcing users to change their own passwords and, if they don't, lock their accounts.

Or are you looking for a way to reset users passwords that have been lost?
# 3  
Old 07-25-2019
i am looking for web based tool so that associates can reset the pwd with out the need to call helpdesk. similar to self service password reset tool.
# 4  
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.
# 5  
Old 07-25-2019
i am not a unix admin. My intention is to automate unix password reset. if you could help me with some documentation for the below, probably we do a POC. else plz help me with other options to achieve this. thanks for your help.
# 6  
Old 07-25-2019
If I understand you correctly, you are trying to automate (self-service) the changing of userid passwords on the actual host system. Usually, when you see these type of self-service facilities they relate to login to a web server and the password reset offered is only for that web application NOT a userid on the main host. That's tricky from a security point of view. I've not heard of that being done (this way) before but there may well be someone on this forum that has.
# 7  
Old 07-25-2019
I think is is pretty common these days to create web-based interfaces to change user passwords, even for shell accounts.

It can be more secure to do it via a well-written web interface than giving employees direct access to the shell.

In addition, a well written web-based interface can easily enforce local organizational policies for password strength, etc.

You can do a lot with a well-written web app these days.

However, if you do not have a lot of experience writing web apps, creating a password-changing app is not the best place to get started.

On the other hand, it really depends on the "criticality" of the application.

To properly advise, I would need to know the "criticality" of the application. All applications are not created equal and IT security is not a "one size fits all" profession.

Cheers.
This User Gave Thanks to Neo For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
Login or Register to Ask a Question