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
5. UNIX for Dummies Questions & Answers
i've been searching a way to display the users who are in the /etc/passwd directory...using ls or grep or cat command should do it?i can't find a way to get this right..i mean none of the preview commands function sounded good to me to use... (9 Replies)
Discussion started by: strawhatluffy
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
7. Shell Programming and Scripting
I want to print only the full name from the /etc/passwd file and print it to the screen .
Could you please let me know how can I do that? (4 Replies)
Discussion started by: supercops
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
Besides of the command "passwd" on Solaris and HP-UX and IRIX that allow users to change their passwords on the system. Is there anyother way a user can change his/her own password. Do any of these systems have a GUI interface to allow the user doing so?
Thanks (3 Replies)
Discussion started by: vtran4270
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 (email@example.com) for the OpenSSL project (http://www.openssl.org).
0.9.7a 2001-10-25 ui_compat(3)