AIX is short for Advanced Interactive eXecutive. AIX is the UNIX operating system from IBM for RS/6000, pSeries and the latest p5 & p5+ systems. Currently, it is called "System P". AIX/5L the 5L addition to AIX stands for version 5 and Linux affinity. AIX and RS/6000 was released on the 14th of February, 1990 in London. Currently, the latest release of AIX is version 6. AIX 7 beta will be released in Aug 2010, along with the new POWER7 hardware range.
Multi-platform UNIX systems consultant and administrator in mutualized and virtualized environments
I have 4.5+ years experience in AIX system Administration field. This site will be helpful for system administrator in their day to day activities.Your comments on posts are welcome.This blog is all about IBM AIX Unix flavour. This blog will be used by System admins who will be using AIX in their work life. It can also be used for those newbies who want to get certifications in AIX Administration. This blog will be updated frequently to help the system admins and other new learners. DISCLAIMER: Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility.
If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.
chmod is the command to change permissions syntax: chmod ex: chmod u=rwx,g=rx,o=rx ds (here we are giving full permissions to owner,read&execute for group & others
if we want to change permissions for a specific task
ex: here i want to give write to group
chmod g+w ds
2)absolute mode: In Absolute mode we have to provide permisions in numeric signs
r = 4 w = 2 x = 1
syntax : chmod 755 ds here we are giving full permissions to owner &read execute to group & others
if we want remove total permissions for others
chmod 750 /home/mahesh ADVANCED FILE PERMISSIONS We have three advanced file permissions. 1) suid 2) sgid 3) stikybit
suid =4 , sgid =2 , stickybit=1
1) suid: suid will be apply only on commands suid is used to provide root previlages on a particular administrative command for a normal user
ex: ls -l /bin/ping In this example by default suid was applied for ping command thats why anybody can use ping command if we remove ping command nobody can use check : chmod 755 /bin/ping now try to ping from any user account(it wont ping) provide suid then ping once again (providing suid chmod 4755 /bin/ping )
2) SGID : It is an advanced file permission for group inheritance. parent dierctory group is inherited to all files and directories.
SYNTAX : chmod g+s ex : chmod g+s /redhat
3) STICKYBIT : stickybit is an advanced file permission through which owner and root can delete his file and no other users to allow to delete files
SYNTAX : chmod o+t ex : chmod o+t /redhat
Hard link
soft link
1.can create only with in a partition
1.can create accross the partitions.
2.Inode number will be same.
2.Inodes numbers are different.
3.original & link file are in same size.
3.link file size is less than org.file.
4.if original file removed then also we can access link file.
4.link file can't be accessed if original file is removed.
TO CONFIGURE HARDLINK
SYNTAX :ln ex : ln /dev/sda /dev/sdb
TO CONFIGURE SOFTLINK
SYNTAX : ln -s ex : ln -s /usr/king /root/redhat
ACL (Access Control Lists)
To configure different set of file permissions for different users on a single resource (files/folder) Acls are implemented. Acls can be applied on users and groups.
No comments:
Post a Comment