Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Beginner Needs help with Installing Aix 5.3

Posted on 2008-10-19
Medium Priority
Last Modified: 2013-11-17
I'm a Windows administrator at our small company and have  been given the task or reinstalling Aix 5.3 on our IBM Rs6000 which host a small custom application that is used by 15 people in our company here are my questions:
1) In Aix 5.3 in the utility 'smith" how can I export a list of all user id's and their display names curently on the system.

2) How do I install Aix 5.3?

3) What is the best way to install Aix 5.3 with a server running 4x 36Gb scsi drives?

Please help
Question by:compdigit44
  • 6
  • 5
LVL 10

Expert Comment

ID: 22753693
1 - login as root and type smitty users. You display all current users from there. Hit F6 or ESC+6 at an option to see the actual command/script if possible.
2 - read up here: http://www.ibm.com/developerworks/aix/library/au-install-aix.html
3 - safest way is to create 2 s.w. mirrors. hdisk0+hdisk1 (rootvg) hdisk2+hdisk3 (datavg)
LVL 20

Author Comment

ID: 22754255
Thanks dfke...Please my responced to your answers below:
1. I was able to view the script smitty is running to pull the usrs information. My question is how can I dump this information to a file???
2. N/A
3- I'm guess you mean to create two seperate mirrors correct.... Also how easy / hard is it to install Aix 5.3?? I never installed it before???
LVL 10

Expert Comment

ID: 22755136
1 -  to redirect the command to lets say /tempdir/user.list just add > /tempdir/users.list. A file /tempdir/users.list is created.
2/3 - it's pretty straight forward just read up the link I posted...
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 20

Author Comment

ID: 22756608
dfke, once agian thank you for your replies. Please bare with me again I'm not that great with UNIIX / AIX
1) What is the exact syntax that I would need to type in to get this to work.
2) I haven't had a chance to FULLY review the link in the documentation but does the documentaion include inforamtion on how to setup user account password policies (i.e: password length, age ..etc...)
LVL 10

Accepted Solution

dfke earned 2000 total points
ID: 22756785
1 - login as root.
At the # prompt type: lsuser -c -a id home ALL | sed '/^#.*/d' | tr ':' '\011' > /tmp/user.list
This creates the file user.list in /tmp. Transfer the file to your system by using FTP for instance.

2 -  No, the link I posted only provides info on installing AIX.

You can also set password policies with smit users:
Login as root: smitty users --> 'Change / Show Characteristics of a User' --> type the user account.
You can alter the following settings among others:

Days to WARN USER before password expires
WEEKS before password reuse
Weeks between password EXPIRATION and LOCKOUT
Password MAX. AGE
Password MIN. AGE
Password MIN. LENGTH
Password MIN. ALPHA characters
Password MIN. OTHER characters
Password MAX. REPEATED characters
Password MIN. DIFFERENT characters


LVL 20

Author Comment

ID: 22756868

In regarding to the user policy setting inset of doing this on a per user bases how can I make this a global setting
LVL 10

Expert Comment

ID: 22757055
You have to setup auditing for that through /etc/security/audit/config and /etc/security/audit/events.
The users stanza defines audit classes (sets of events) for each user. The classes are defined to the operating system kernel.

The format is as follows:

    UserName = auditclass, ... auditclass  

These specific audit events and audit classes are described here:


This means you can make default classes for new users. Add the audit class to the /usr/lib/security/mkuser.default file, so new users automatically have the right audit call associated.

    auditclasses =
    pgrp =
    groups =
    shell = /usr/bin/ksh
    home = /home/$USER
LVL 10

Expert Comment

ID: 22757297
I think I misread, but auditing is good to consider though. If you just want to change the default password settings like mentioned for all users then edit the default stanza in the /etc/security/user file:

        admin = false
        login = true
        su = true
        daemon = true
        rlogin = true
        sugroups = ALL
        admgroups =
        ttys = ALL
        auth1 = SYSTEM
        auth2 = NONE
        tpath = nosak
        umask = 022
        expires = 0
        SYSTEM = "compat"
        logintimes =
        pwdwarntime = 0
        account_locked = false
        loginretries = 0
        histexpire = 0
        histsize = 0
        minage = 0
        maxage = 0
        maxexpired = -1
        minalpha = 0
        minother = 0
        minlen = 0
        mindiff = 0
        maxrepeats = 8
        dictionlist =
        pwdchecks =          

The policy rules apply when a user logs in and/or changes password.
LVL 20

Author Comment

ID: 22763286
Things aren't working out exactly as planned with the lsuser command..
It's running alread y buy the only things I need is to get a list of all user id and there matching 'user information' A.k.A display information from SMIT exported to a file....Any thoughts on how I can filter the lsuser command just to display this information for me in a readable fashion
LVL 10

Expert Comment

ID: 22765398
What info do you mean by ''user information' A.k.A display information'? Can you give an example.
LVL 20

Author Comment

ID: 22767626
Hi Dfke:

Here is what I need:
user id: test123   -> John Doe

I just need to export all user id and there associated display names and have it come up in two columnes in a sperad file>

Also STUPID question reagarding 'SMIT'
1) can 'SMIT' show ALL the groups a user is a member of?
2) CAn you use 'SMIT" to copy an existing user account for a new users account so the new account has the same group membership?
3) In "SMIT' how do you add users to groups?
LVL 68

Expert Comment

ID: 22786219

Hi compdigit44,
it's me again.
Can I help you further with this one?
What is the status of your project?

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question