Recently updated/posted Linux and UNIX FAQ (mostly useful to Linux/UNIX new administrators or users) : Howto mount an ISO image in AIX UNIX Linux Changing DNS Search Order Howto run a shell script without changing file access permission Email multiple file attachment from Solairs / AIX / HP-UX UNIX command line AIX UNIX Monitor CPU […]


From my mail bag:

I would like to run few commands such as stop or start web server as a root user. How do I allow a normal user to run these commands as root?


The superuser is a privileged user with unrestricted access to all files and commands. The superuser has the special UID (user ID) 0. You need to become super user (root) only when tasks need root permissions. Here is how to become a super user:


With the help of utility called chattr, you can changes the file attributes on a Linux second extended file system. The operator + causes the selected attributes to be added to the existing attributes of the files; – causes them to be removed; and = causes them to be the only attributes that the files have.