AIX (Advanced Interactive eXecutive, pronounced "a i ex") is a series of proprietary Unix operating systems developed and sold by IBM for several of its computer platforms.
5
votes
2answers
515 views
How to mass change password attributes in AIX uname -rv=3 5 for all users but root
I want to do a mass change on all users but root in AIX for the following "password attributes":
Weeks before password reuse: 15
Password min length: 6
Can it be done, or do I need to do them one ...
0
votes
1answer
74 views
AIX UNIX 64 bit connecting to Microsoft SQL server 2008R2 Server
I am having AIX 64 bit Unix machine and I need to connect to Microsoft SQL SERVER 2008 R2 database.
I dont have any Drivers and TDS installed in my machine.
What all tools I need to install including ...
2
votes
1answer
249 views
Del key in AIX ksh over PuTTY telnet
At the place where I work we're developing under AIX with ksh and connecting to it via telnet. Most people use ArcTel to connect, while I prefer PuTTY. The only problem I have with PuTTY is that the ...
1
vote
1answer
43 views
Using awk to parse AIX's lsuser output in stanza format
I'm creating a simple awk script to parse AIX's lsuser -f ALL output and return information in one line. A sample of the output is something like this.
root:
id=0
pgrp=something
...
3
votes
1answer
289 views
Xterm is not completely erasing field lines
We are running Windows Clients with Cygwin XServer that has a bash script application running on AIX Unix. We have a login script using expect to ssh into the server and then xterm to create the ...
5
votes
1answer
380 views
Immutable bit on AIX?
Under Linux I can:
chattr +i SOMEFILE
so that even root can't modify the SOMEFILE. Are there any similar solutions for AIX?
2
votes
3answers
370 views
Another account with same uid as root gets prompted to set new password for root, not itself
After upgrading the os from 5300-06 to 5300-11, this weird behaviour happened.
My system had another unix account, let's call it "abc", purposely configured its uid to 0 for working as a root with ...
0
votes
2answers
27 views
How to launch a program in text only mode if it support silent running
I have got a java program, which support text file input and auto running, can i put it in background running without GUI ?
It prompt cannot set display.
while there is no concern to view the ...
0
votes
1answer
17 views
How to blacklist an errpt entry? (so that it will now show up in errpt)
On an AIX 6.1 OS:
LABEL: CONSOLE
IDENTIFIER: 7F88E76D
If we need to blacklist these kind of errpt entries then how can we do it?
1
vote
1answer
80 views
AIX apache rpm dependencies
I am evaluating the Crowd SSO by Atlassian. Now to get apache to use CROWD for authentication, there is a connector available by the vendor.
Problem
Unfortunately they do not provide anything for ...
3
votes
1answer
73 views
Why is uname -M returning an empty string?
On the exact same machine (AIX 6.1), in 2 different login shells (both ksh), with different user IDs, I can do uname -M; in one shell I get the system model. In the other shell I get BLANK! The only ...
0
votes
0answers
20 views
Renaming WebSphere after disk cloning [closed]
I know it is not the correct ways, but since keeping other installed stuffs is needed. Does anyone have the steps of renaming a WebSphere Server after cloning at disk level ?
Any help are welcome.
3
votes
1answer
131 views
Installing ksh as the standard shell in Redhat: Foolhardy?
I'm not a system administrator, but my organization is considering replacing /bin/sh in Red Hat Enterprise Linux 6+ with a hard link to /bin/ksh. How foolhardy would this be?
The background to this ...
7
votes
3answers
2k views
Getting size with du of files only
How can I get the size of all files and all files in its subdirectories using the du command.
I am trying the following command to get the size of all files (and files in subdirectories)
find . ...
3
votes
0answers
56 views
AIX install Mercurial no root
Is is possible to install Mercurial on AIX system without root? I'm an ordinary user of our colleges IBM cluster and in there I fond no version control software.
Could you show a brief guide of how ...
1
vote
1answer
87 views
How to search files where two different words exist?
I'm looking for a way to search files where two word instances exist in the same file. I've been using the following to perform my searches up to this point:
find . -exec grep -l "FIND ME" {} \;
...
2
votes
3answers
2k views
Why is file ownership inconsistent between two systems mounting the same NFS share?
I have one IBM AIX server (serverA) which is connected to the san storage. I have created a volume group and also file system (jfs2) and mounted to directory /profit.
After that I created a NFS ...
0
votes
2answers
74 views
Why rm command unrecognized w flag in AIX?
I have a bash script that retain the last 5 copies in AIX like this:
rm `ls -lt /path/the_file_* | tail -n +6`
But I get this error:
rm: Not a recognized flag: w
UPDATE
The ls command return ...
7
votes
5answers
2k views
Under AIX, how can I get the full path of a program bound to a port?
Under Linux I can use netstat -tulpnw and ps, like so:
# netstat -tulpnw | grep :53
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1482/named
udp ...
2
votes
1answer
202 views
How to use Extended ACL's on AIX?
Using AIX (6.1) FTPD, a user needs to log in and it should only reach 2 directories (read/write) in the system, ex.:
/foo/sth1
and
/foo2/sth2
Besised the users home directory it shouldn't reach ...
4
votes
2answers
550 views
How do you determine if AIX 5.3 has PERL installed?
Simply put, how do you determine if AIX 5.3 has PERL installed as non-root?
1
vote
1answer
37 views
Several groups can have the same groupID?
0:root@SERVER:/root # grep 300 /etc/group
ipsec:!:300:admgrp
0:root@SERVER:/root #
?? Several groups (ipsec/admgrp) can have the same groupID (300)?? how can this be? /AIX 6.1/
1
vote
0answers
53 views
AIX auditing for LDAP users
I've discovered a problem with the way AIX uses auditclasses to determine which system calls are audited. If a user is defined in LDAP, their auditclasses attribute is blank. I found an APAR which ...
3
votes
2answers
386 views
sshd process inoperative
I have an AIX server which suddenly stopped servicing SSH connections. When I try to start the service through startsrc -s sshd it says:
0513-059 The sshd Subsystem has been started. Subsystem PID is ...
1
vote
2answers
272 views
Max password size in AIX 6.1
I found on the AIX documentation some rules to set about passwords length :
minlen Defines the minimum length of a password. The value is a decimal integer string. The default is a value of 0, ...
5
votes
3answers
326 views
Package manager for AIX
While installing Subversion on AIX (version 7.1) from the official site, there are dependencies I need to resolve first before I can proceed to install the subversion package. While installing the ...
2
votes
0answers
226 views
How to kill a stuck print job under AIX?
0:root@SERVER:/ # uname
AIX
0:root@SERVER:/ # oslevel
6.1.0.0
0:root@SERVER:/ # switch.prt -d
#printsubsystem
AIX
0:root@SERVER:/ # lpstat -oQUEUENAME
Queue Dev Status Job Files ...
1
vote
3answers
168 views
What logs would be written if file system is full in UNIX?
I am working on a unix server and I guess during some time in past the file system had been full. However, I need some solid data to prove it. Will there be any OS logs or something of that sort to ...
0
votes
2answers
97 views
sudo: script launched from another script won't redirect standard output
I'm using AIX 5.3 with sudo 1.6.9p23. Sudoers file grants user fcomartin permission to run any command as user oas:
fcomarti ALL=(oas) ALL
User oas has a bash script called menu, which launches ...
1
vote
3answers
160 views
How to run the most recent command on AIX?
How can I run the most recent command again from history in AIX Server? And how to edit the most recent command and run it again in AIX?
0
votes
3answers
8k views
How to check that a user/password is expired in AIX?
I can check that the user is expired or not with:
lsuser -f USERNAME | fgrep expires
But how can I check that the user's password is expired or not? Are there any other "expiring" things that can ...
3
votes
2answers
277 views
Skip first 3 byte of a file
I am using AIX 6.1 ksh shell
I want to use one liner to do something like this
cat A_FILE | skip-first-3-bytes-of-the-file
I want to skip the first 3 bytes of the first line, is there a way to ...
2
votes
2answers
4k views
How to change timezone to UTC without rebooting AIX
# oslevel
6.1.0.0
From smitty it say's it needs a reboot, but I don't want to reboot. How can I change the TimeZone to UTC without rebooting?
5
votes
3answers
858 views
How to install Mono in AIX?
I don't have root access to an AIX 5.2 machine and want to run Mono programs in it.
2
votes
2answers
211 views
Find when a hard disk was first installed
What's the command in AIX to find the first time a given hard disk was installed?
3
votes
2answers
8k views
How to run a fresh version of AIX in a Virtual Machine with a Linux host?
I need to learn about AIX, and I only have a laptop with Fedora 14/VirtualBox on it. Is there any chance that I could run an AIX guest in my VirtualBox?
My laptop has an Intel(R) Core(TM)2 Duo CPU ...
3
votes
1answer
455 views
Validate AIX Password for root from script
Looking for a way in a shell script to validate the password for for root on an (AIX) matches a standardized plain text password. This query is similar to another one on this site. I have access to ...
3
votes
3answers
501 views
Why does this password fail AIX and Solaris rules
Had to reset my password on a couple of client servers today, and despite following the rules I get the message "Your password failed to meet: minimum of 2 non-alphabetic characters" back from the ...
3
votes
1answer
560 views
AIX 6.1 JFS2 Oracle files system, not using much files system cache
I am running Oracle database on AIX 6.1, Oracle using JFS2 file systems. Maxperm is set to 90%. This is busy database server, but it is not using the file system cache (less then 2%). The system has ...
2
votes
0answers
194 views
Validate Password for user account from shell script
Application is for a multiple server standardization script
Looking for a way in a shell script to check if the password for an OS account (AIX) matches a standardized plain text password.
The ...
1
vote
1answer
288 views
How to disable live shell session command history under AIX 5-6?
It's okay that there are history files logging the commands that has been used. That't not the problem. The problem is that when 2 admins are logged in to an AIX server then it could be bad:
If ...
5
votes
1answer
215 views
Redirect terminal output to image file
I need to programmatically run some unix commands and get the output in a image file, the format could be png or jpeg (jpg).
The commands are run in an AIX (IBM *nix) machine. I don't have ...
0
votes
3answers
1k views
copy logical volume from one volume group to another
I want to copy a logical volume from one volume group to another on AIX. How can I do this? Is copyvg the right command?
0
votes
2answers
262 views
Which AIX command's output is this?
Disk Path P Location adapter LUN SN Type Size LSS Vol Rank C/A S Connection port RaidMode
------- ----- - ----------- ------ ----------- ...
1
vote
2answers
254 views
Can I write control characters to someone else's terminal?
A lot of people log into the same AIX 6.1 server as I do with a terminal emulator that automatically interprets and runs code encapsulated by certain control characters as VBA script instead of ...
1
vote
1answer
315 views
AIX 6.1 starting xhost + from inittab at the boot time
Everytime after restarting the servers, I have to run xhost + from console prompt.
Does anyone have any idea about enabling xhost + from inittab file?
2
votes
1answer
170 views
Is it a good idea to supplement shell script with perl purely for use of regex?
I'm looking for a simple way to utilize regex in a UNIX shell script where not every system will have perl extensions built into grep. What is really helpful about perl regex here is back/forward ...
2
votes
2answers
224 views
Search for file permisions other than 755
In AIX really, how can I search in several directories and those below it, for files that are not of the specific permissions of 755.
So I want to search /path/to/, /path/to/mydir, ...
2
votes
2answers
2k views
FTP over SSL in AIX (UNIX)
Folks over at SO couldn't answer this, so I am posting over here.
I need to do an FTP over SSL to a FileZilla Server running on a Windows server from an AIX Unix clien. I have the Host name of the ...
2
votes
1answer
639 views
how to troubleshoot a network adapter on an AIX 4.3.3 machine
I'm trying to brush up my skills on AIX. I have an ancient RS/6000 43P-133 which I'm trying to resurrect before investing in anything more sophisticated. I used to do automation and scripting on AIX ...


