LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-09-2004, 11:54 AM   #1
jbraum
Member
 
Registered: Oct 2003
Location: Mansfield Ohio
Distribution: Ubuntu
Posts: 119

Rep: Reputation: 15
smb.conf file write permission


I want to be able to edit my smb.conf file but when I go to edit it and save the file I am not able to because I not logged in a root/I don't have write permissions. I just need to temporarily access this file and don't need a root login just access.
 
Old 01-09-2004, 01:01 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,530

Rep: Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674
You need to be root to edit anything in the /etc.
Open up a console window use the su command.
 
Old 01-09-2004, 01:16 PM   #3
jbraum
Member
 
Registered: Oct 2003
Location: Mansfield Ohio
Distribution: Ubuntu
Posts: 119

Original Poster
Rep: Reputation: 15
Ok got that, but I relatively new to linux and am not sure what I should do after.

Thanks
 
Old 01-09-2004, 05:11 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,530

Rep: Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674
You can use any of the text editors like vi,pico,emacs. Search the web for help with these editors.

To edit a file in emacs
emacs <filename>
<type in changes to your hearts desire>
Save changes press
Ctrl-x Ctrl-s
Exit emacs press
Ctrl-x Ctrl-c

Last edited by michaelk; 01-09-2004 at 05:14 PM.
 
  


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
smb.conf assistance on read/write server jer2eydevil88 Linux - Newbie 9 09-28-2005 07:26 PM
Help w/ smb.conf file spelltoronto Linux - Newbie 8 08-27-2005 08:35 AM
smb.conf file. vexer Linux - Networking 2 10-17-2004 03:42 AM
Can I still use my old smb.conf file? jspaceman Linux - Networking 2 10-01-2003 11:55 PM
smb.conf file MattLaw Linux - Networking 2 10-01-2003 10:26 AM


All times are GMT -5. The time now is 11:18 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