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.
8
votes
1answer
311 views
How to trace that what had “chmod 640”'ed the “/etc/passwd” file?
On AIX 6100-05-02-1034, something is frequently changing the permissions of the /etc/passwd file to 640. That's bad...
How could I trace that what is chmoding the file? There is no history 1000 | ...
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 . ...
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 ...
5
votes
3answers
364 views
Can I have my own version control system?
In the linux/unix machine I am using, I am just a normal user. However, I want a version control system to manage my files to prevent accidental delete/rename/lost/modification. Obviously I don't have ...
5
votes
3answers
856 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.
5
votes
4answers
6k views
How to strip multipe spaces to one using sed?
sed on AIX is not doing what I think it should.
I'm trying to replace multiple spaces with a single space in the output of IOSTAT:
# iostat
System configuration: lcpu=4 drives=8 paths=2 vdisks=0
...
5
votes
2answers
773 views
What is the Linux equivalent of bootinfo command?
bootinfo for AIX:
...shows whether the hardware in use is 32-bit or 64-bit.
What command/utility for Linux would do this job?
5
votes
1answer
214 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 ...
5
votes
3answers
320 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 ...
5
votes
2answers
513 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 ...
5
votes
1answer
378 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?
4
votes
2answers
546 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?
4
votes
5answers
2k views
Does AIX really beat Red Hat Enterprise Linux?
Our company plan to upgrade our servers, and at the same, we would use AIX over Red Hat Enterprise Linux.
I asked my boss the reason of choosing AIX, he said it is because AIX is more powerful. I ...
4
votes
3answers
228 views
AIX won't stop creating random .nfsXXXX files
I am trying to delete some files and folders, but I can't because the system keeps re-creating the files.
All these files are named .nfsXXXX, where XXXX is some random 4-character hexadecimal ...
4
votes
2answers
922 views
Problem while running “newgrp” command in script
I want to change the working group in my script. So I wrote a line newgrp test_grp1 in my script. But my script is automatically exited after running this line. Are there any solution to overcome this ...
4
votes
2answers
1k views
AIX HMC - how to increase the memory on the fly?
How can I increase the memory on the fly with the hardware management console on AIX 5 & 6?
3
votes
2answers
275 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 ...
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
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
431 views
Unset Read Only Variables
Is it possible to unset or change a readonly variable in Korn Shell? I am using AIX 5.
3
votes
1answer
348 views
NFS mount to a subdirectory of already mounted directory
We have a strange scenario (AIX 5.3) -
There is a directory /mnt to which an NFS share from windows server1 is mounted
Then there is another directory /mnt/subdir1 to which NFS share from windows ...
3
votes
1answer
302 views
Is PowerVM a full operating system? (And other clarifications.)
I have a few things that I was hoping someone with more experience could clarify in regards to using PowerVM (specifically to virtualise via LPARs AIX).
So here is what I think I understand regarding ...
3
votes
1answer
556 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 ...
3
votes
1answer
595 views
How do I know that FXP is enabled or not? (AIX FTPD)
# grep -i ftp inetd.conf
ftp stream tcp nowait root /usr/sbin/ftpd
# oslevel -s
6100-06-05-1115
So I have an AIX 6 server. How can I check if FXP is enabled on the FTPD or ...
3
votes
2answers
372 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 ...
3
votes
1answer
2k views
Will a users password expire if I set the “maxexpired” to “-1”? [maxage not 0] - AIX
So under AIX 6, according to "lsuser" the user has the following settings:
maxexpired=-1
maxage=2
So this means that 2 weeks after the last password update of the user the password will expire, but ...
3
votes
1answer
462 views
Why does a user get prompted for password under AIX?
Users get prompted for password, and according to the lsuser -f username output:
expires=0
maxexpired=-1
maxage=13
users shouldn't be prompted for changing password.
Why does he has a change ...
3
votes
2answers
2k views
Qemu & AIX 6.1 - what am i missing?
I have a Fedora 14 i386 / T7100 C2D HP notebook. I need to run e.g.: AIX 6.1 on it for testing purposes.
I installed a VirtualBox on this Fedora machine. I installed a guest os in the VirtualBox. ...
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 ...
3
votes
1answer
70 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 ...
3
votes
1answer
128 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 ...
3
votes
1answer
451 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
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 ...
3
votes
0answers
235 views
VMO Changes After Adding New RAM To AIX?
We have a server at a client site running AIX 5.3, which we just up the RAM to 32GB, from initially 16GB (if I'm not mistaken).
This server is our Application server running J2EE applications on top ...
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 ...
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?
2
votes
2answers
223 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
3answers
3k views
What is “System Memory ” displayed in nmon in AIX?
I have a host with AIX 6.1 (6100-04-02-1007) upgraded from AIX 5.1 with Veritas Storage Foundation 5.1.
Since the upgrade from AIX 5.3 to 6.1, Run vx services means a lots of memory consumed that I ...
2
votes
2answers
209 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?
2
votes
1answer
169 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
1answer
635 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 ...
2
votes
1answer
256 views
On AIX 6100-05-02-1034 how can I create custom umask for a specific directory?
On AIX 6100-05-02-1034 how can I create custom umask for a specific directory?
2
votes
2answers
259 views
What could cause which to not show something in the path?
There is an executable in my path that I believe is a perl script.
>$scriptname
$outputofscript
but
>which $scriptname
which: 0652-141 There is no $scriptname in $path
and the path it ...
2
votes
1answer
197 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 ...
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
837 views
Why my $PATH is not inherited by the invoked bash?
I work on an AIX system where I have no administrator privileges. It has several shells installed, default being tcsh. I am not allowed to change the login shell. Usually I start my session from exec ...
2
votes
1answer
972 views
Modify AIX print queue error notification
It seems the default behavior of the AIX print queue is to report queue errors to the user that submitted the print job. We have several hundred queues used by unattended scripts and cron jobs running ...
2
votes
1answer
179 views
Resource needed to manage cert.db7 files for AIX
On AIX to get LDAP authentication working it has wanted to store the LDAP SSL certificate's trusted root in a cert.db7 file. Mozilla stopped supporting it in NSS (Netscape Security Services) a while ...
2
votes
1answer
247 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 ...
2
votes
3answers
364 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 ...
