Sponsored Content
Full Discussion: UNIX ID Password Expiration
Operating Systems HP-UX UNIX ID Password Expiration Post 80956 by tads98 on Sunday 14th of August 2005 11:59:25 PM
Old 08-15-2005
UNIX ID Password Expiration

We are trying to implement an Password Aging system that will force UNIX Accounts to change their passwords every 3 mons or so. This will be done my our Server Support Provider.

We want to identify UNIX IDs that connects to our server via ftp,scp,sftp and other special connection protocols. IN short, we want the Password Aging scheme to hit only IDs that connect using regular login.

Is there a way to identify "special ids" with "regular ones"???

Thanks for your help. Let me know if you need other details.

other info: our server is HP_UX.

- i already posted this under Scripting... hope to hear from guys expert in HP-UX. Thanks!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Password expiration warning.

Hi, Anyone know the command which identifies how long a user has before their password expires? I also need to know how I would write and expr to calculate the difference between 2 dates. e.g. 28/03/05 - 18/03/05 = 10 I was told there is a date function which shows you no of days since... (1 Reply)
Discussion started by: sureshy
1 Replies

2. AIX

Password Expiration Days Needed

Hi All, I am using AIX I need to get the Unix "password Expiration Days". I know that "shadow" file contains this information. But shadow file can only be read by root. Note that password expiration date will be set differently for diferrent user accounts. I need to get the inormation for... (0 Replies)
Discussion started by: raj_vkr
0 Replies

3. Solaris

password expiration

Hello can anyone explain where can be found logic for user password expiration on solaris as well as on reliant UNIX?? there is not much help of /etc/security directory..does not exist! any help? (3 Replies)
Discussion started by: abdulaziz
3 Replies

4. Linux

password expiration ?!?

Hi All, I have this user on my /etc/shadow: mysql:$1$vmw4r078$4.lp6z2s0KJYHKXTuPG2x0:13556:0::12::: The 5 column is blank. Does it mean the user has no password expiration. Thanks in advance for any idea. (1 Reply)
Discussion started by: itik
1 Replies

5. Solaris

CDE password change on expiration

Hello, I am using Solaris 10 with CDE and like to change the behaviour of the login process. I have a user account that is configured for password aging. Currently, when his password expires, CDE prompts him to change his password when login in. What I'd like is that the user cannot... (5 Replies)
Discussion started by: gorfou
5 Replies

6. AIX

Mail for password expiration

Hi guys, A simple question. which mecanism send an email to an unix user for the expiration of his password? Thank you! (4 Replies)
Discussion started by: Chapel
4 Replies

7. UNIX for Advanced & Expert Users

Password Expiration Notification

Hello, I want to write a script to check for the password expiration date in each server for the user by logging to each server and notify user through mail. If password is about to expire or if already expired , it should also be notified to user by mail. Any help or idea to build this will be... (1 Reply)
Discussion started by: baraghun
1 Replies

8. AIX

Password expiration

Hi Admins, AIX 5.3 I know maxage value tells the system about password expiration policy. One of the user's maxage is 5 weeks.But he changed the password long backup at 2008 according to lastupdate value. Since maxage is 5, the password should expire every 5 weeks.But how come... (4 Replies)
Discussion started by: newaix
4 Replies

9. Ubuntu

Password Expiration Policy

Hello Team, I am using Lubuntu & have DRBL remote boot setup with open Ldap authentication. Currently there is no password expire policy. I want to set Password Policy so that user's password will expire after a month & they will get prompt to change their password. Using PAM we can do it,... (1 Reply)
Discussion started by: paragnehete
1 Replies

10. Shell Programming and Scripting

Password expiration notification

Dear Concern, I want to write a shell script in linux for mail notification of users whose password is about to expire within 7 days or already has expired. Is there any alternative way except to check the "date" command output and compare it with "chage -l username" command output. Please... (1 Reply)
Discussion started by: makauser
1 Replies
id(1)							      General Commands Manual							     id(1)

NAME
id - Displays the user's system identity SYNOPSIS
id [user] id -G [-n] [user] id -g [-nr] [user] id -u [-nr] [user] id -a STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: id: XCU5.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. OPTIONS
Displays all groups ids (real, effective, and supplementary) only, as unsigned decimal numbers. Displays only the effective group id as an unsigned decimal number. Displays user and group names as strings rather than as numbers. Displays only the real ID. Displays only the effective user ID as an unsigned decimal number. [Tru64 UNIX] Displays user and all group IDs and names if the environment variable CMD_ENV is set to the string svr4. OPERANDS
The user for whom information is to be written. If this parameter is omitted, the user and group names associated with the invoking process are used. DESCRIPTION
The id command writes to standard output a message containing the user and group IDs and corresponding names of the invoking process. If effective names and IDs do not match the real ones, the id command writes both. If user is specified and the invoking process has sufficient privileges, the IDs and names in the message are for user rather than for the invoking process. Effective IDs are assumed identical to real IDs. Your real user and group ids are specified in the /etc/passwd file and are your user and group ids on login. You can change your active group with the newgrp shell command (see newgrp(1)) if additional groups are specified for you in the /etc/group file. Such groups are called supplementary . A process can also have an effective user or group id set when a set-user- or set-group-identifier program is executed. See setuid(2), setgid(2). SVID Conformance [Tru64 UNIX] When the environment variable CMD_ENV is set to the string svr4, the command syntax and output is compatible with the SVID standard. In particular, the id command with no options displays the user's name and id and the real and effective group names and ids. The -a option adds any supplementary group names and ids to the display. EXIT STATUS
The following exit values are returned: Successful completion. An error occurred. EXAMPLES
To display your user and group IDs, enter: id Information is displayed similar to: uid=200(thomas) gid=1(staff) In the case where a user belongs to a supplementary group, information is displayed similar to: uid=200(thomas) gid=1(staff) groups=0(system) However, if the environment variable CMD_ENV is set to the string svr4, the command id with no options does not display any supple- mentary groups and results in a display similar to: uid=200(thomas) gid=1(staff) To display supplementary groups with CMD_ENV set to svr4, use the command id -a. The display is then similar to: uid=200(thomas) gid=1(staff) groups=1(users),0(system) ENVIRONMENT VARIABLES
The following environment variables affect the execution of id: [Tru64 UNIX] When this environment variable CMD_ENV is set to the string svr4, the command syntax and output is compatible with the SVID standard. The -a option is only available in this condition. Provides a default value for the internationalization variables that are unset or null. If LANG is unset or null, the corresponding value from the default locale is used. If any of the internationalization variables contain an invalid setting, the utility behaves as if none of the variables had been defined. If set to a non-empty string value, overrides the values of all the other internationalization variables. Determines the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as opposed to multibyte characters in arguments). Determines the locale for the format and contents of diagnostic messages written to standard error. Determines the location of message catalogues for the processing of LC_MESSAGES. FILES
Group names declared on the system. Password file. SEE ALSO
Commands: groups(1), logname(1), newgrp(1), who(1) Functions: getgid(2), getuid(2), setgid(2), setuid(2) Files: group(4), passwd(4) Environment: environ(5) Standards: standards(5) id(1)
All times are GMT -4. The time now is 11:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy