lakelover Posted November 19, 2005 Report Share Posted November 19, 2005 I'm trying to set up Samba following the step-by-step instruction on this forum. I was doing fine until I got to this step: "Now comes the hard part, and for this we go to the Samba Configuration file. Open up /etc/samba/smb.conf and scroll all the way down to the bottom. Read the comments and select the type of share which you would like. Then modify the examples to fit your specific needs." When a try to open "/etc/samba/smb.conf" as root, I get the "permission denied" line. So, how do I get past this? Jerry Link to comment Share on other sites More sharing options...
michaelcole Posted November 19, 2005 Report Share Posted November 19, 2005 I will give you a few different ways.. First go to the run menu and type in kdesu kwrite then open the file /etc/samba/smb.conf if you are in a console you could try the following su then type in the root password then use your favorite editor the other option is using sudo Link to comment Share on other sites More sharing options...
dexter11 Posted November 19, 2005 Report Share Posted November 19, 2005 First go to the run menu and type in kdesu kwritethen open the file /etc/samba/smb.conf if you are in a console you could try the following su then type in the root password then use your favorite editor When a try to open "/etc/samba/smb.conf" as root, I get the "permission denied" line. So, how do I get past this? Check the permissions of the file: ls -l /etc/samba/smb.conf If there's no permission for root then give it using the chmod command. Link to comment Share on other sites More sharing options...
scarecrow Posted November 19, 2005 Report Share Posted November 19, 2005 Why not run KDE's samba configuration module in administrative mode once? It will create a usable smb.conf which all your related applications will be able to use. Link to comment Share on other sites More sharing options...
lakelover Posted November 19, 2005 Author Report Share Posted November 19, 2005 Thanks. . . I used Kate to access the samba.conf file. I have Samba setup, kinda, but I still haven't got the printer working and can't get our Windows notebook talking to my Linux box. The Samba portal shows on the Win box. There seems to be a problem with the password, though I've set it but I've got something haywired. SMB4K has the appropriate printer listed. In fact it has several printers from my various trials at setting up the printer. I'm at a loss as to where to go from here. Any suggestions? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now