Expiration date of user account


 
Thread Tools Search this Thread
Operating Systems Solaris Expiration date of user account
# 1  
Old 02-22-2010
Expiration date of user account

Hi,

How to check user account expiration account in user mode for SunOS 5.10?
In Linux I can use chage command.
I googled for answer for the problem but it was useless.

Oskar
# 2  
Old 02-22-2010
Hi


you can use the usermod -e expire to midifythe expiration or can you verify the /etc/passwd file,
*refer to estructure
loginIDSmilieassword:lastchg:min:max:warn:inactive:expire:
# 3  
Old 02-22-2010
Quote:
Originally Posted by quetzalcoatl
Hi


you can use the usermod -e expire to midifythe expiration or can you verify the /etc/passwd file,
*refer to estructure
loginIDSmilieassword:lastchg:min:max:warn:inactive:expire:
I'm not an admin for this server.
I only want get to know when my account expire.
usermod command is only for admin
passwd hasn't info about expiration date.

Oskar
# 4  
Old 02-22-2010
No worries then, if the system is hardened, it should warn you about your expiry in advance for you to change password. In the event that it gets locked , its your sys admin's job to make the system force to change your password in your next login attempt
# 5  
Old 02-22-2010
Quote:
Originally Posted by incredible
No worries then, if the system is hardened, it should warn you about your expiry in advance for you to change password. In the event that it gets locked , its your sys admin's job to make the system force to change your password in your next login attempt
I don't put in doubt competence of my admin Smilie
I want to know how long my account will be valid.
I guess it is possible to get to know this information like in Linux Smilie

Oskar
# 6  
Old 02-22-2010
Try: passwd -s

(man passwd)
# 7  
Old 02-23-2010
Quote:
Originally Posted by frustrated1
Try: passwd -s

(man passwd)
-s name
Shows password attributes for the login name. For the nisplus repository, this works for everyone. However for the files repository, this only works for the superuser. It does not work at all for the nis repository which does not support password aging.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

User account expiration notification

Dear Concern, Is there any built in tool/application/command available for Linux user account expiration notification purpose. With Best Regards, Md. Abdullah-Al Kauser (2 Replies)
Discussion started by: makauser
2 Replies

2. HP-UX

How to check password expiration date of particular user?

Hi Guys, I am new to HP-UX and want to find expiration date of particular user please also note i don't have root access on that server. for e.g. i have user abc on my HP box and want to know when its password going to expire and also when its password changed last time. I also try to... (7 Replies)
Discussion started by: Yasin Rakhangi
7 Replies

3. What is on Your Mind?

Neo's passport expiration date.

I found this to be a bit of a disturbing coincidence. youtube.com/watch?v=CxW79CwSK9M&hd=1 (0 Replies)
Discussion started by: absorber
0 Replies

4. Shell Programming and Scripting

wget - cookie with expiration date

How can I create a cookie with expiration date using either wget or curl? I am able to use cli wget, cli curl, or php curl. I don't see that the cookies I have created contain an expiration date, and I have a problem logging into a forum that looks for the expiration date. (2 Replies)
Discussion started by: locoroco
2 Replies

5. Shell Programming and Scripting

how to write a shellscript to send a mail alert to the website user based on license expiration time

hi, i am very much new to shell scripting i have a requirement that i have to develop a License Renewal Alert system that has to give a alert mail to the users before 30days of user account expiration, by checking expiration date of the user with the data base, this system will... (0 Replies)
Discussion started by: deepu_Shscripts
0 Replies

6. UNIX for Dummies Questions & Answers

find out expiration date

I want to know when my account is gonna expire. Is there a shell command that tells this? (11 Replies)
Discussion started by: gilbav
11 Replies

7. UNIX for Dummies Questions & Answers

Difference between : Locked User Account & Disabled User Accounts in Linux ?

Thanks AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies

8. UNIX for Dummies Questions & Answers

user account creation date

hi, i tried searching the forum for a thread about this, but came up empty handed. is there a way to pull a list of all user accounts, with the associated creation date? thanks in advance! (2 Replies)
Discussion started by: lilweezy
2 Replies

9. UNIX for Dummies Questions & Answers

Account creation date

Hi All, Is there a simple and obvious way to see when an account was created.An account has come to my attention in /etc/passwd and a last on it shows having never logged in and the home directory looks to be a couple of years old. Just wondering if I'm over looking anything obvious. ... (2 Replies)
Discussion started by: Hayez
2 Replies

10. Solaris

user acct expiration

how can i tell on a solaris 9 if a user acct has an expiration date? and when that expuiration is. (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies
Login or Register to Ask a Question