LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-29-2004, 06:38 PM   #1
Robush
LQ Newbie
 
Registered: Jan 2004
Distribution: RedHat 8.0
Posts: 3

Rep: Reputation: 0
Samaba


How I can log in as administrator to edit the smb.conf ? I set the smb.conf to 777 full control and I did some and then couldn't save it to the file .... HELP
 
Old 01-29-2004, 06:40 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
type :
su -
and then type the root password

but may i ask how you set the permissions on the file if you claim you don't know how to log in as root?
 
Old 01-29-2004, 07:15 PM   #3
Robush
LQ Newbie
 
Registered: Jan 2004
Distribution: RedHat 8.0
Posts: 3

Original Poster
Rep: Reputation: 0
well, all i did in ternimate window

[Ro@localhost Ro]$ su -
Password:
[root@localhost root]# cd /etc/samba
[root@localhost samba]# chmod 777 smb.conf

then I opened up smb.conf from the directory in /etc/samba/ with gedit

I reedit it and couldn't overwrite the file. I have to login as owner. I have no clue how to log in as owner.

hope that clear you up

Last edited by Robush; 01-29-2004 at 07:20 PM.
 
Old 01-29-2004, 09:45 PM   #4
Robush
LQ Newbie
 
Registered: Jan 2004
Distribution: RedHat 8.0
Posts: 3

Original Poster
Rep: Reputation: 0
LOL, how stuipd I'm. I have to login as Root and root password and i could be able to edit any files .. Never mind all then ....
im very
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samaba Issue with copying dominator666 Linux - Networking 7 10-15-2005 01:34 PM
Samaba Shared Folders streetsmart Linux - Networking 4 07-11-2005 10:27 PM
Samaba problem Mr.Bone Linux - Networking 5 08-29-2004 06:32 PM
Samaba Problems biggiefatts Linux - Networking 6 06-02-2003 06:42 PM
Samaba setup help ogden2k Linux - Networking 9 02-05-2003 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:47 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration