Author name: admin

Prevent root and system from owning all system filesystems and files in Unix

Traditionally, UNIX has come with a default set of system user accounts to  prevent root and system from owning all system filesystems and files. As such it  is never recommended to remove the account but rather set an asterick in the /etc/security/passwd for all except root. This document describes the default  set of user accounts.

Prevent root and system from owning all system filesystems and files in Unix Read More »

Linux Setfacl and getfacl setup and mount file system with acl

Mount filesystem with acl option $ mount -o remount,acl /oracle $ mount /dev/mapper/VG0-LV1 on / type ext3 (rw)none on /proc type proc (rw)none on /sys type sysfs (rw)none on /dev/pts type devpts (rw,gid=5,mode=620)usbfs on /proc/bus/usb type usbfs (rw)/dev/sda1 on /boot type ext3 (rw)none on /dev/shm type tmpfs (rw)/dev/mapper/VG0-LV4 on /dump type ext3 (rw)/dev/mapper/VG0-LV2 on /oracle

Linux Setfacl and getfacl setup and mount file system with acl Read More »

How to trace port in AIX

1. netstat -Aan | grep <Port Name>– This shows if the specified is being used. The hex number in the first column is the address of protocol control block (PCB) bash-3.00# netstat -Aan | grep 32775f100060000942398 tcp4       0      0  *.32775            *.*                LISTEN 2. rmsock tcpcb– This shows the process who is holding the socket. Note

How to trace port in AIX Read More »

Installing SSH on AIX

Download the openssh and prerequisite openssl packages from their respective websites. Transfer the installation files to a temporary directory on the AIX server Unpack and install: #uncompress openssl.0.9.8.1100.tar.Z #tar xf openssl.0.9.8.1100.tar inutoc . #geninstall -Y -d . openssl #uncompress openssh-4.7_5301aix61.tar.Z #tar xf openssh-4.7_5301aix61.tar inutoc . #geninstall -Y -d . openssh Once you have installed ssh,

Installing SSH on AIX Read More »

Display a legal warning before login.

For FTP server: To change the greeting banner for vsftpd, add the following directive to the /etc/vsftpd/vsftpd.conf file: ftpd_banner=<insert_greeting_here> Replace <insert_greeting_here> in the above directive with the text of the greeting message. For mutli-line banners, it is best to use a banner file. To simplify management of multiple banners, place all banners in a new

Display a legal warning before login. Read More »

Scroll to Top