Operating System - HP-UX
1835994 Members
2108 Online
110088 Solutions
New Discussion

Generates a new pasword for a user AUTOMATICALLY

 
Juan Carlos González
Occasional Contributor

Generates a new pasword for a user AUTOMATICALLY

Hi all! (Hola a todos)

I have a question about generating a new password for any user in automatically form.

For example, in AIX systems, this subrutine is called "newpass Subroutine".

Do you know anything about it?

Thank you, very much. (Muchas gracias)
Juan Carlos
4 REPLIES 4
Stephanie Miller
Occasional Advisor

Re: Generates a new pasword for a user AUTOMATICALLY

Hola Juan Carlos,

Are you familiar with the 'passwd' command? It can be used at any shell prompt to set the password for a particular user. More details can be found by reading 'man passwd'

Cheers,
-Stephanie
Andrew Maslin
Frequent Advisor

Re: Generates a new pasword for a user AUTOMATICALLY

Hi Juan,

You can choose to have the system generate a password for users when they use the passwd command, and you could set up a script to run the passwd command if your users do not access the shell. If I remember correctly, your system must be set up as a trusted system for this. If you are not already set up as a trusted system, you can do so through SAM. The different password options (ie. allowing the user to choose a password, or 3 different types of automatically generated passwords) can also be set through SAM.
Angel_5
Occasional Contributor

Re: Generates a new pasword for a user AUTOMATICALLY

Leea las el man de passwd, yo puedo forzar a que el passwd sea cambiado en un tiempo determinado por ejemplo
adaa9901:,2.:106:20:Alexander Jimenez Roman,Estadistica,4138,:/ho
me/hip/adaa9901:/usr/bin/sh

el ,2. despues del login indica que el usuario debe cambiar automaticamente de passwd.
Juan Carlos González
Occasional Contributor

Re: Generates a new pasword for a user AUTOMATICALLY

Gracias , pero yo no quiero forzar al usuario a que cambie la password , quiero que sea un proceso automatico lanzado por el cron el que se la cambie al usuario.
Juan Carlos