more questions from a linux wannabe..  | |
March 22nd, 2004, 05:22 PM
|
#1 (permalink)
| | Perfetc Member
Join Date: Jan 2003 Location: Maryland Suburbia
Posts: 4,334
| more questions from a linux wannabe..
As a few of you might have seen from this post... linux permissions issue
I've been trying to setup a webserver on an old laptop.
As of late I've been trying to setup samba such that I can write to the laptop from network neighborhood on my win xp machine.
I basically left samba to default with SWAT except changing the home directory.
Then I added a share, which was inside the home directory of the user "mike" on the laptop.
I had the "read only" option set to "no" both for the share and the global variable, yet I still couldnt write to the folder.
The only way I was able to be able to remotely write to the directoy was to:
chmod -R 777 /home/mike/shared
.. but this makes it so EVERYONE can write to it.
How can I set it up such that I have to provide a username and password on windows to write to the directoy, rather than just getting the annoying "You do not have permissions to write to this folder... please contact your network admin"
Ultimately I would like to be able to have the same behavior for the /var/www/html/ folder, but one step at a time i guess
Thx for any help you can provide |
| |
March 22nd, 2004, 05:44 PM
|
#2 (permalink)
| | Ultimate Member
Join Date: May 2002 Location: Youngstown (well nea
Posts: 1,102
|
well i can't help you with SWAT, never used it.
but i think if you want to be able to access the linux shares without having to enter a user/pass first you need to add a samba user thats identical to your windows login.
i think anyway... i'm not sure as i just enter it when i need it. dont have to enter it again untill i reboot.
i know the permissions thing is tricky, i always have to just go into kde and change them on the one folder as root. after that it works though.  |
| |
March 22nd, 2004, 06:00 PM
|
#3 (permalink)
| | Ultimate Member
Join Date: Mar 2002 Location: South Brunswick, NJ,
Posts: 1,337
|
I'm guessing you want mike to be able to write to that dir through samba. Did you set a samba password for mike using smbpasswd? |
| |
March 22nd, 2004, 06:16 PM
|
#4 (permalink)
| | Perfetc Member
Join Date: Jan 2003 Location: Maryland Suburbia
Posts: 4,334
|
Well, my windows XP user that I'm using is my full name (including a space), thus I wasnt able to simply add that user to linux and hope for it to passthrough with the same pass...
I was hoping for a way to be able to enter both a user and a pass on the windows pc |
| |
March 22nd, 2004, 06:58 PM
|
#5 (permalink)
| | Senior Member
Join Date: Oct 2002
Posts: 557
|
An alternative would be to use FTP, Windows can view FTP and use it just like a regular network share. Double click on my network places, click Add a Network Place -> next -> choose another network location -> ftp://your.ip.here/ -> uncheck anonymous, enter username -> name the new connection, connect
When it connects it'll ask for a password, and now you'll have a Windows explorer window with your home dir in it, you can copy/move/edit just like a normal folder  |
| |
March 23rd, 2004, 03:38 PM
|
#6 (permalink)
| | Ultimate Member
Join Date: Mar 2002 Location: South Brunswick, NJ,
Posts: 1,337
|
When I connect to my computer from a windows computer on my network it asks for the user name and password. The only time it doesn't is if the user name and password matches on the windows and linux computers. |
| |
March 23rd, 2004, 10:59 PM
|
#7 (permalink)
| | Perfetc Member
Join Date: Jan 2003 Location: Maryland Suburbia
Posts: 4,334
|
hmm, its giving me the prompt.
But the username is locked to
"Computername\Guest"
its greyed out and I cant edit it at all. http://204.249.66.201/grey.JPG
Obviously no password works b/c "Guest" isnt an account
Last edited by VHockey86 : March 23rd, 2004 at 11:07 PM.
|
| | | Thread Tools | Search this Thread | | | | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |