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.

learn more… | top users | synonyms

1
vote
1answer
94 views

File size conflict

I am new to UNIX and have a doubt about file size in UNIX (AIX). ls -ltr shows me fileA size as 59096. As per my knowledge this is in bytes ,so it is nearly = 0.06 MB However, a script which should ...
2
votes
1answer
805 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
1k 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
186 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
143 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 ...
4
votes
2answers
2k 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
791 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, ...
6
votes
3answers
2k 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 ...
1
vote
3answers
2k 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
2answers
265 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 ...
3
votes
2answers
1k 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 ...
1
vote
3answers
495 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 ...
3
votes
3answers
2k 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 ...
2
votes
2answers
289 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?
4
votes
1answer
875 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
1answer
1k 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
386 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 ...
5
votes
1answer
442 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 ...
1
vote
1answer
582 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 ...
0
votes
3answers
2k 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?
1
vote
2answers
415 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
505 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
219 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
4k 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
2answers
543 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
1answer
2k 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 ...
1
vote
0answers
648 views

How to kill a ghost process? AIX 6.1

oslevel: 6100-05-01-1016 according to topas: root 1769602 1 93 20 112 0 128 32498:07 87.1 0 0 ldmp_pro according to ps: -bash-4.1# ps -ef | egrep -i "1769602|ldmp" ...
0
votes
2answers
470 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
0answers
483 views

AIX multihomed multicast

On my AIX machine if I run netstat -ia I get: Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll en0 1500 link#2 1e.18.1.1e.78.2 385229 0 1091655 0 0 ...
6
votes
2answers
783 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 ...
1
vote
3answers
636 views

What should a Linux Server Admin know about Solaris and AIX

I'm being considered for a new Linux Server Engineer position, but I'm told by an insider that there is a little Solaris and AIX in-house. I spend most of my time in the Debian Family, have some ...
3
votes
1answer
1k 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
1answer
1k views

Unset Read Only Variables

Is it possible to unset or change a readonly variable in Korn Shell? I am using AIX 5.
5
votes
2answers
694 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?
0
votes
1answer
63 views

what does “serial=${serial##*.}” do? [duplicate]

Possible Duplicate: How do ${0##/} and ${0%/} work? 0:root@SERVER:/ # 0:root@SERVER:/ # serial=$(lscfg -vl hdisk1 | awk '/Serial Number/') 0:root@SERVER:/ # echo $serial ...
4
votes
3answers
462 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 ...
2
votes
2answers
4k views

How to get free memory on AIX?

How can I see the free memory on an AIX? There is no free -m under it. AIX oslevel: 6100-03-03-0943
0
votes
3answers
673 views

How to fix bad mirroring on AIX?

So mirroring is bad: 0:root@SERVER:/root # lslv -m hd2 hd2:/usr LP PP1 PV1 PP2 PV2 PP3 PV3 0001 0209 hdisk30 0322 hdisk32 0002 0210 hdisk30 ...
1
vote
2answers
1k views

put tab before every output line on AIX/ksh

0:root@SERVER:/root # echo "something" | sed -e 's/^/\t/g' tsomething 0:root@SERVER:/root # AIX/ksh .. why doesn't it works? I just want to put a "tab" before every line!
2
votes
1answer
2k 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 ...
1
vote
1answer
2k views

What to do after a kernel panic on AIX?

There was a "kernel panic" - at least sort of. errpt | head IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION A6DF45AA 1205044411 I O RMCdaemon The daemon is started. 67145A39 1205044111 ...
1
vote
1answer
893 views

Crash and exit code 721035

Where can I find what this exit code means? I have process (A) that calls program (B) using clib system(). Sometimes program (B) returns with exit code 721035 and AIX kills process A. This is random ...
3
votes
2answers
6k 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 ...
2
votes
0answers
437 views

Enabling multicast communication between 2 AIX JVM processes

I'm having trouble with multicast distribution on a single AIX machine between two JVM processes. Think ehcache or jgroups. In order to enable on Mac OS X: route add -net 224.0.0.0 -interface lo0 ...
3
votes
1answer
875 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 ...
1
vote
1answer
4k views

How to decrease the size of a logical volume/fs aix?

oslevel -s 6100-03-03-0943 IF I have a Logical Volume that I need to shrink, then how can I do it? [there could be several FileSystems on it...]. What is the process?
0
votes
3answers
20k 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 ...
2
votes
3answers
1k views

How to shut down or reboot a machine? [on different OSes]

What parameters do the "shutdown" command [or other command?] NEED, TO BE SURE that the machine reboots or shuts down for SURE? e.x.: version for Linux: # cat /etc/SuSE-release SUSE Linux ...
11
votes
3answers
5k 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 . ...
8
votes
1answer
443 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 | ...