LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   modifying configuration files while logged in as a regular user (https://www.linuxquestions.org/questions/linux-security-4/modifying-configuration-files-while-logged-in-as-a-regular-user-81737/)

jgallas 08-13-2003 06:02 PM

modifying configuration files while logged in as a regular user
 
How do I modify text configuration files while logged in as a regular user? It says I need root permissions but I don't want to login as root everytime. is there any way I can modify the file with another users permissiosn and then just put a password in for that user?

jqcaducifer 08-13-2003 06:07 PM

i always log in as root to config, but if you don't like that, then there's a command "sudo". I've heard it does wonders, just never tried. Read up on it "man sudo".

neo77777 08-13-2003 10:25 PM

Sudo is a handy utility to run processes that require escalated privileges.
In order to set it up you need, besides installing sudo itself, configure it via visudo command, or editing /etc/sudoers (location of the file might be different with a custom setup) file as root.

JayCnrs 08-13-2003 10:31 PM

Or you can open a Xterm and issue the command su -, then you enter roots password and configure away using vi, pico, joe, any of the text editors. If you notice the -, this gives you roots paths.

HTH ;)


All times are GMT -5. The time now is 08:05 PM.