sudo command
HI everyone
How can i create a sudo command instead type pass of root when install a program example: now when i install a program i must type #su #pass #rpm -ivh ...(or something else) now i want type #sudo rpm -ivh ...(or more) By anyway can you help me do this, i know that it quite easy, i have done 1 time before but now i am forgot how to make it.:D :Pengy: Peace |
Hey, I recommend you this: run visudo to edit the sudoers file (/etc/sudoers):
Code:
# visudo # Members of the admin group may gain root privileges %admin ALL=(ALL) ALL Why? To save time, now anytime you need a new user with administrative privileges, just add it to the admin group. Cheers. |
All times are GMT -5. The time now is 11:46 PM. |