Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Other *NIX Forums > AIX
User Name
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.


  Search this Thread
Old 04-12-2005, 04:16 AM   #1
LQ Newbie
Registered: Mar 2005
Posts: 11

Rep: Reputation: 0
Password ageing for existing AIX users

Hello all,
Is there a way/ a command in AIX to change all existing users' maxage value? chuser basically changes a specific user's details, but you cant seem to make it change it for *all* users. I heard my colleague said that there is a command that lets you change for all users, but he wasnt sure what. Can you guys shed some light on this matter?

Thanks in advance!

- Suze

Last edited by szahri; 04-12-2005 at 04:21 AM.
Old 04-12-2005, 02:44 PM   #2
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
for i in `cat /etc/passwd |awk '{print $2}' `
echo changing $i
# chuser $ blah-blah-blah

I'm not quite sure of $2, have a look, it could be $1 or $4.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
stale users on AIX 4.3.3 RS/6000 zepplin611 AIX 10 12-21-2009 05:59 AM
How to list existing users? stefaandk Linux - Newbie 11 04-03-2006 02:03 AM
Install with existing users?? Okie2003 MEPIS 6 06-02-2005 05:39 PM
List existing users anand_kt Linux - Newbie 3 02-28-2005 08:18 AM
SSH to AIX without password pezplaya AIX 1 04-15-2004 11:05 PM

All times are GMT -5. The time now is 05:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration