09-27-2010
Quote:
Originally Posted by
jlliagre
Then why not just setting the new password to be the same as the old one ?
can't, there is a policy in place to prevent that.
what i heard is that we could copy the encrypted string and paste it again, not sure does it work this way.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file in which I need to find every occurance of PASSWORD="somepassword" and replace the actual password with "xxx". Within the file that I am working, I can have combinations of PASSWORD or it can also show as RMT_PASSWORD. The 'edited' file (with passwords x'ed out) will then be emailed... (4 Replies)
Discussion started by: hedrict
4 Replies
2. Solaris
I want to import my passwd/shadow files from Solaris 6 to Solaris 10. I found that the encryption method for passwords has changed. Is there a command or script to convert the Solaris 6 passwords to Solaris 10? I have searched the net and just can't seem to find the answer.
For Example:
The... (6 Replies)
Discussion started by: westsiderick
6 Replies
3. Shell Programming and Scripting
Do you know of any methods where I can send an input of passwords into the passwd command? For instance, I have a file which has the password stored and I want it to be sent into this command "passwd gilberteu" when it prompts for the new password and subsequently confirming the password that was... (0 Replies)
Discussion started by: gilberteu
0 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am new to HP-UX environment. Could someone help me giving commands to recycle the server and how to go to single user mode.
Thanks
Hemanth (3 Replies)
Discussion started by: Hemanth_gp
3 Replies
5. Shell Programming and Scripting
hi
How can I change the home directory of a user without using usermod -d command?
( by modifying /etc/passwd) (17 Replies)
Discussion started by: tjay83
17 Replies
6. UNIX for Dummies Questions & Answers
Hi all I am using tru64 Unix and I want to use batch file which makes me to change all user passwords at the same time ,instead of changing everyone separately. Please could anyone help me to do that. bye. (2 Replies)
Discussion started by: ahmedbashir
2 Replies
7. Solaris
Hi Folks,
I have Solaris 10, latest release.
We have passwd aging set in /etc/defalut/passwd.
I have an account that passwd should never expire. Acheived by emptying associated users shadow file entries for passwd aging.
When I reset the users passwd using passwd command, it re enables... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies
8. UNIX for Advanced & Expert Users
I've been using various versions of UNIX and Linux since 1993, and I've never run across one that showed your password as you type it in when you log in, or one that stored passwords in plain text rather than encrypted. I'm writing a script for work for a security audit, and two of the... (5 Replies)
Discussion started by: Anne Neville
5 Replies
9. AIX
Does anyone know when AIX started using /etc/security/passwd instead of /etc/passwd to store encrypted passwords? (1 Reply)
Discussion started by: Anne Neville
1 Replies
LEARN ABOUT CENTOS
lcp_writepol
LCP_WRITEPOL(8) User Manuals LCP_WRITEPOL(8)
NAME
lcp_writepol - write LCP policy into a TPM NV index
SYNOPSIS
lcp_writepol -i index-value [-f policy-file | -e] [-p passwd] [-h]
DESCRIPTION
lcp_writepol is used to write LCP policy into a (previously-defined) TPM NV index. It also supports writing arbitrary data into a specified
index.
OPTIONS
-i index-value
Designate the index for writing. Index can be UINT32 or string. 3 strings are supported for the reserved LCP indices. Strings and
default index values for each string are:
default
0x50000001(INDEX_LCP_DEF)
owner 0x40000001(INDEX_LCP_OWN)
aux 0x50000002(INDEX_LCP_AUX)
-f policy-file
File name where the policy data is stored.
-e Write 0 length data to the index. This is useful for special indices, such as those permission is WRITEDFINE.
-p password
The TPM owner password
-h Print out the help message
EXAMPLES
lcp_writepol -i default -f policy-file
lcp_writepol -i 0x00011101 -e
lcp_writepol -i 0x00011101 -f policy-file -p 123456
SEE ALSO
lcp_readpol(8), lcp_crtpol(8).
tboot 2011-12-31 LCP_WRITEPOL(8)