passwd expiry notification


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting passwd expiry notification
# 1  
Old 05-25-2012
passwd expiry notification

Hi, I'm trying to set password expiry notification. But unable to do so.
>I do not have permission for "passwd -s" on Sun OS(SunOS 5.9 Generic_122300-60 sun4u sparc SUNW,Sun-Fire-480R).
>Also tried "chage -l <username>" but it is not configured.
I'm just an appln user in that system. Could you please help in this regard. Thanks in advance.
# 2  
Old 05-29-2012
Hi,

must be superuser to use passwd -s (I suppose you are using /etc/passwd and/or /etc/shadow for login password mgmt).
Solaris should use passwd -x instead of chage; you need to be superuser for passwd -x to work too.

see ya
fra
# 3  
Old 05-30-2012
Thanks 'frappa' for your suggestion. I'm not a super user. I just have some appln user permissions. Want to set a notification for password resetting for my id and appln id. what could be the approach?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Java expiry information

Hi, I have a requirement to check the expiry date of Java software installed in linux servers. We are using the below Java java version "1.8.0_51" Java(TM) SE Runtime Environment (build 1.8.0_51-b16) Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode) I am not sure... (3 Replies)
Discussion started by: nextStep
3 Replies

2. AIX

When did AIX start using /etc/security/passwd instead of /etc/passwd to store encrypted passwords?

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

3. AIX

User expiry

Hi When a new user is created and their password is set to require changing at first login, is it possible to expire the account if they don't login whithin 10 days ? Thanks Nigel (4 Replies)
Discussion started by: garwoon
4 Replies

4. Solaris

passwd cmd reenables passwd aging in shadow entry

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

5. Shell Programming and Scripting

password expiry notification

Hi, Could someone please let me know how to write script for passwd expiry notification on salaries boxes. Regards Dnyan (1 Reply)
Discussion started by: dnyan
1 Replies

6. Solaris

Notification of password expiry.

Hi, Is there any way of sending an email to a number of users indicating that the passwords of user accounts will expire? Currently we have a test server with a number of oracle test accounts on it. Each of these accounts correspond to an instance of Oracle on the server. These... (2 Replies)
Discussion started by: sparcman
2 Replies

7. Solaris

Notification of password expiry.

Hi, Is there any way of sending an email to a number of users indicating that the passwords of user accounts will expire? Currently we have a test server with a number of oracle test accounts on it. Each of these accounts correspond to an instance of Oracle on the server. These... (2 Replies)
Discussion started by: sparcman
2 Replies

8. Shell Programming and Scripting

expiry of a linux id?

Hi, Can anyone suggest, how or from where we can understand the expiry time of a linux id, whether login or ftp? My concern is like, i want to know when the ftpid configured on an automated system will expire, so that i can configure some notice or email mentioning that the particular id... (1 Reply)
Discussion started by: DILEEP410
1 Replies

9. Solaris

passwd expiry

any one can help me from where this command passwd -s root fetching from...? so that i can write the script for cheking root password expiry which are expiring before 2 days and sent a mail... Please give me the script if u have....! :b: Solaris any version... (2 Replies)
Discussion started by: bullz26
2 Replies

10. UNIX for Advanced & Expert Users

password expiry

Hi, under SUN Unix, in which file the expiry date of a user password is indicated ? Many thanks. (2 Replies)
Discussion started by: big123456
2 Replies
Login or Register to Ask a Question