Questions tagged [aix]
AIX (Advanced Interactive eXecutive, pronounced "ay eye ex") is a series of proprietary Unix operating systems developed and sold by IBM for several of its computer platforms.
138
questions
0
votes
1
answer
136
views
AIX find file age in seconds no -printf with find
AIX 7.2
Looking to recreate the below on AIX.
find /etc -maxdepth 1 -iname "*conf" -type f -mmin +5 -printf '%p;%T@\n' | awk -F ';' -v time="$( date +%s )" '{ print $1";&...
1
vote
1
answer
2k
views
Find command in IBM AIX
I would verify that files in the location listed may not have both the other-write and any execute permissions set.
This requirement to be applied recursively to files contained within subdirectories.
...
0
votes
0
answers
455
views
Execute sudo su - user on a ssh session
I need to execute sudo su - user on a ssh connection, because sudo su - user -c it's not available in the servers. Is there a way to do it? Thank you for the attention.
0
votes
2
answers
1k
views
Error when trying to execute command with sudo su - user -- command
I am facing a problem when trying to execute a command using another user.
If I do this
sudo su - user
direct
Works perfectly
Now if I do this
sudo su - user -c direct
I face this error
-bash: ...
0
votes
0
answers
277
views
find ip address of black box device
I have a device that I need to find the IP address of. I know that the device is an AIX host, but that is all I know. I don't know if the device is on a public or private IP address range, and I don't ...
1
vote
0
answers
121
views
Is it possible to add a partition table to an existing AIX ISO?
I've followed this tutorial to run an AIX on an x86 system: https://virtuallyfun.com/wordpress/2019/04/22/installing-aix-on-qemu/
One element of the tutorial is to get an AIX system ISO to install the ...
1
vote
1
answer
183
views
Need help in Installing apache in AIX7.1
I want to install apache 2.4.x in our AIX server which is having apache1.x that was installed very long back.
I downloaded the apr & apr utils in sourcelib of apache then downloaded pcre and tried ...
4
votes
6
answers
1k
views
Find top N oldest files without printf in find command on AIX system
I am trying to find a solution similar to the one used below to find the Top N oldest files (modification time) on my AIX system starting from a given directory and digging through all sub-directories ...
1
vote
1
answer
2k
views
Command to get SHA384, 256 and SHA512 hashes in AIX servers
For AIX servers to get the MD5 and SHA1 hashes, I am able to use the command:
csum -h MD5 file1
csum -h SHA1 file1
But how to use the same command to get sha256, 384, 512 hashes ?
Or is there some ...
0
votes
1
answer
600
views
AIX 7.x inetd and tcp wrappers using chsubserver
Greetings all the guru's and those who have knowledge I am yet to gain and share.
Sometime ago I configured TCP Wrappers on my AIX 7.1 & 7.2 LPAR's and it works great once you get the nuances ...
3
votes
0
answers
1k
views
AIX 7.2 install on QEMU on Windows unable to accept arrow keys
I am currently trying to create an AIX 7.2 image using QEMU on Windows following these steps: http://aix4admins.blogspot.com/2020/04/qemu-aix-on-x86-qemu-quick-emulator-is.html
I am now almost at the ...
1
vote
0
answers
49
views
Tanuki wrapper multiple unwanted instances
Using Tanuki 3.5.25 software to manage a java8 service we encounter a problem on AIX that can be observed in the following logs:
STATUS | wrapper | 2019/09/08 15:07:09 | --> Wrapper Started as ...
1
vote
2
answers
1k
views
AIX 6.1 SFTP: Allow chroot'd user to access files in location outside their home
Long-winded first posting, I have tried to be succint while providing details.
I am working on an AIX 6.1 server where SFTP (via WinSCP) is already used by several service accounts to access files in ...
0
votes
1
answer
2k
views
AIX syslog does not start after changing default port for remotely sending logs
On an AIX 7.2 machine I need to send the syslogs on a different machine and as instructed I have added my log server ip address in the /etc/syslog.conf file like this:
kern.debug;mail.debug;daemon....
0
votes
1
answer
2k
views
How using sed on AIX differs from using it on linux
I know that -i option doesn't exist in sed for AIX but recently I've bumped into a different issue when trying to edit the /etc/services file in AIX.
I need to replace a line from this file so for ...