12-26-2006
automation script for password reset
Hi,
I would like to write a script to automate the reset of password.Dont know whether it is possible ? if it is possible can anyone help me how to start.
Thanks In Advance
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Is there anyway that I can reset user's password using a script/ssh command?
ie. emulate passwd command with a default password of abc123 or even null value?
> ssh server1 pwdadm user1 < /dev/null
or
> ssh server1 passwd user1 < /dev/null
neither worked for me.. but you know what I... (1 Reply)
Discussion started by: pdtak
1 Replies
2. Solaris
All,
I have a Solaris 9 system and I would like to create a script that would reset the password of a local user to something specific on a daily basis.
Someone suggested the following:
passwd --stdin username < passwd_file
However, this doesn't work on Solaris.
Does anyone know of... (3 Replies)
Discussion started by: soliberus
3 Replies
3. Solaris
Hey all,
I'm looking for a script to auto-generate a password for users that forget their password.
Currently, we are using a perl script (with cgi-bin) where users update their password, but would like to add to this and make it so that the users can also request a password reset and a... (1 Reply)
Discussion started by: em23
1 Replies
4. Shell Programming and Scripting
Hi folks,
How can we reset the password via shell script...
How can i manage to pass password for the prompt.
gws000i010:/ # passwd test1
New Password: (1 Reply)
Discussion started by: bullz26
1 Replies
5. Shell Programming and Scripting
Hi all, Please suggest
I want to write a scritp which will send a email to my mail address before the time duration of the password reset,
Should write mail stating that your password will expire in so and so days""
Rgds:b:
Ann. (2 Replies)
Discussion started by: Haque123
2 Replies
6. UNIX for Dummies Questions & Answers
i am doing automation of report in unix. i am copying files from different server using scp command.. if i use scp its asking for password for copying files..is there any way to automate this password issue..
can anyone help me out???
tahnks in advance,
Arun Manas (4 Replies)
Discussion started by: arunmanas
4 Replies
7. Shell Programming and Scripting
Hi all,
I am using an command which reset the password for the user, its working fine on Solaris boxes but sometimes the samw was not happening on some of linux boxes.
/bin/echo username | passwd --stdin username
I am new to unix and shell scripting,so it would be very helpful for me... (1 Reply)
Discussion started by: sudharson
1 Replies
8. Shell Programming and Scripting
Hi All,
We have many number of users.Some times we will receive mail from them like ,
the below USER password got expired and they are requesting us to change the password and send it back to them in a mail. there we are giving Expiray date again.
We are doing this process manually. I want... (2 Replies)
Discussion started by: vasuvv
2 Replies
9. Shell Programming and Scripting
Hi,
I could like to change my remote system user password. Could you please guile me,
If you have any existing scripting there. please let me know
Thanks & Regards,
Mani (8 Replies)
Discussion started by: Mani_apr08
8 Replies
10. Forum Support Area for Unregistered Users & Account Problems
I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login.
Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies
LEARN ABOUT DEBIAN
tpm_nvwrite
tpm_nvwrite(8) tpm_nvwrite(8)
NAME
tpm_nvwrite
SYNOPSIS
tpm_nvwrite [OPTIONS]
DESCRIPTION
tpm_nvwrite writes data to an NVRAM area. The user must provide the index of the NVRAM area as well as the data to write into the NVRAM
area. Optionally an offset into the NVRAM area can be given where the writing of the data is to start. Similarly the use may provide the
number of bytes to write into the NVRAM area. Some NVRAM areas only allow write sizes of zero, i.e., NVRAM area index 0. If the NVRAM area
has permission bits set that require owner or NVRAM area authentication, then the password must be provided via the password option.
The following options are supported:
-h, --help
Display command usage info.
-v, --version
Display command version info.
-l, --log [none|error|info|debug]
Set logging level.
-u, --unicode
Use TSS UNICODE encoding for passwords to comply with applications using TSS popup boxes
-z, --well-known
Use a secret of all zeros (20 bytes of zeros) as either the NVRAM area or owner secret.
-p, --password
Depending on what type of authentication is required for the NVRAM area, this must either be the NVRAM area or owner password.
A password may be directly provided for example by using '--password=password' or -ppassword. If no password is provided then the
program will prompt the user for the password.
-i, --index (optional parameter)
The index of the NVRAM area. The parameter may either be a decimal number or a hexadecimal number starting with '0x'.
-s, --size
The number of bytes to write to the NVRAM area. This parameter may be used to truncating the data that are for example read from a
file. The parameter may either be a decimal number or a hexadecimal number starting with '0x'.
-n, --offset (optional parameter)
The offset into the NVRAM area where to start writing. The parameter may either be a decimal number or a hexadecimal number starting
with '0x'.
-f, --filename (optional parameter)
The name of a file from which to read data and copy them into the NVRAM area.
-d, --data (optional parameter)
The data to write into the NVRAM area passed in the command line.
-m, --fill-value (optional parameter)
The byte to fill the NVRAM area with.
SEE ALSO
tpm_nvdefine(8), tpm_nvinfo(8), tpm_nvread(8), tpm_nvrelease(8)
REPORTING BUGS
Report bugs to <trousers-users@lists.sourceforge.net>
TPM Management 2011-07-11 tpm_nvwrite(8)