LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
LinkBack Search this Thread
Old 08-13-2003, 06:02 PM   #1
jgallas
LQ Newbie
 
Registered: Aug 2003
Location: Los Angeles, CA
Posts: 14

Rep: Reputation: 0
Question 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?
 
Old 08-13-2003, 06:07 PM   #2
jqcaducifer
Member
 
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133

Rep: Reputation: 15
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".
 
Old 08-13-2003, 10:25 PM   #3
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
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.
 
Old 08-13-2003, 10:31 PM   #4
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi-user and 3D sharing, 3D only works for the first logged in user foxy123 Suse/Novell 0 02-20-2005 04:31 AM
Windows files copied to my linux partition are locked when logged in as a normal user necbrownie Slackware 8 10-15-2004 08:11 AM
When a user last logged in turbo_acura Linux - General 1 09-21-2004 12:02 PM
downloading multiple files(even while the user is not logged in) arunshivanandan Linux - General 5 10-10-2003 11:48 AM
mozilla works fine when logged in as a user but crashes when logged in as root jimi Linux - General 6 04-02-2003 08:34 PM


All times are GMT -5. The time now is 11:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration