10 More Discussions You Might Find Interesting
on sunfire v890 unable to move from rsc prompt to ok prompt, i have executed the command break. (9 Replies)
Discussion started by: manoj.solaris
2. UNIX for Dummies Questions & Answers
how to Change the % prompt to - prompt in unix
---------- Post updated at 07:40 AM ---------- Previous update was at 07:38 AM ----------
How To display the last modification time of any file in unix
---------- Post updated at 07:40 AM ---------- Previous update was at 07:40 AM... (2 Replies)
Discussion started by: manjiri sawant
3. Shell Programming and Scripting
I've a problem regarding understanding of result of passwd -s command.
> passwd -s
abc PS 05/24/12 0 441
I'm not a super user. But i need to write a simple code for checking password expiry and send an email to the team id. Is there any other command or way to achieve this?... (6 Replies)
Discussion started by: sam_bd
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
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
6. Shell Programming and Scripting
I have left unix for a long time.Almost forget everthing.:(
Anybody can tell me what is the meaning?
9 16 1155 /etc/passwd
$ wc -l /etc/passwd
wc -l /etc/passwd
9 /etc/passwd (1 Reply)
Discussion started by: zhshqzyc
I have 250 users in passwd file with different passwords, how i can change the password to username+99. pls help out.
regards (6 Replies)
Discussion started by: jestinabel
8. UNIX for Dummies Questions & Answers
Can anyone explain the second and third fields in /etc/passwd.
Thanks. (2 Replies)
Discussion started by: nguda
9. UNIX for Dummies Questions & Answers
I don't why I can't change the password, when ever I try to run passwd I get the problem??!!!
passwd: Changing password for ldb
me (2 Replies)
Discussion started by: geoquest
10. UNIX for Advanced & Expert Users
I have to change more then 200 User at once
the password (security-dday).
The programm passwd will answers (new password + again)
How can i do this in a script?
thanks for answers (5 Replies)
Discussion started by: Erwin Stocker
ui_compat(3) OpenSSL ui_compat(3)
des_read_password, des_read_2passwords, des_read_pw_string, des_read_pw - Compatibility user interface functions
int des_read_password(DES_cblock *key,const char *prompt,int verify);
int des_read_2passwords(DES_cblock *key1,DES_cblock *key2,
const char *prompt,int verify);
int des_read_pw_string(char *buf,int length,const char *prompt,int verify);
int des_read_pw(char *buf,char *buff,int size,const char *prompt,int verify);
The DES library contained a few routines to prompt for passwords. These aren't necessarely dependent on DES, and have therefore become
part of the UI compatibility library.
des_read_pw() writes the string specified by prompt to standard output turns echo off and reads an input string from the terminal. The
string is returned in buf, which must have spac for at least size bytes. If verify is set, the user is asked for the password twice and
unless the two copies match, an error is returned. The second password is stored in buff, which must therefore also be at least size
bytes. A return code of -1 indicates a system error, 1 failure due to use interaction, and 0 is success. All other functions described
here use des_read_pw() to do the work.
des_read_pw_string() is a variant of des_read_pw() that provides a buffer for you if verify is set.
des_read_password() calls des_read_pw() and converts the password to a DES key by calling DES_string_to_key(); des_read_2password() oper-
ates in the same way as des_read_password() except that it generates two keys by using the DES_string_to_2key() function.
des_read_pw_string() is available in the MIT Kerberos library as well, and is also available under the name EVP_read_pw_string().
Richard Levitte (firstname.lastname@example.org) for the OpenSSL project (http://www.openssl.org).
0.9.7a 2001-10-25 ui_compat(3)