Give the root Permission to other user for manage File/Directory
Friends ,
I have three user : oracle , dba , oper and also let I have a file (or a script file) named "test" Using root user I can do everything (Delete,Copy,Execute etc.)But now I want a situation so that All other user can get the same Authorization Like root user . Using which command I will give the same Authorization to other user Like the "root" user ? I am using RedHat Enterprise 4 Edition . |
well you can either add users to the wheel user group, or make a better move for security yb uising /etc/sudoers to allow non-root users to perform certain root level commands.
|
The point is, nobody should not be given root privileges. Especially not to every user. And none other user can be made exactly as root is. But you can give root permissions for some task (command), for example, for a user. A very common and should-be-known method for this is using sudo: with sudo you can configure which users can use root privileges and for which commands -- with their own passwords or without a password (don't do that). You'll need to add those users into the group sudoers first, usually, and then configure /etc/sudoers to give the appropriate permissoins on commands. Or do the trick for a given group and then add those users to that group.
A shorter method is to use su to become root, but it needs the root password -- and that password should not be known to anybody else than root. Simply Code:
su |
All times are GMT -5. The time now is 11:09 AM. |