LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-31-2005, 01:27 AM   #1
johnli2
LQ Newbie
 
Registered: May 2005
Location: Sydney
Distribution: Ubuntu 8.04
Posts: 4

Rep: Reputation: 0
rh8 to xp non-root user setup via samba


Hi All,
I new to Linux [8 week now].
I use RH8 and WinXP and have finally fumbled my way [with some help] to communicate between the PC's above, as root user over NIC cards.
I would now like to modify samba to allow normal user access rather than root.
At present I type:
server network restart
server smb start
smbclient -L localhost
smbmount //winxppc/linuxshare /mnt/linuxshare

I want to set up a batch file on startup also rather than type the above 4 lines each time as I do now. Can anyone help me achieve these steps please.
Sorry about the typo before

Last edited by johnli2; 05-31-2005 at 01:40 AM.
 
Old 05-31-2005, 03:32 AM   #2
saneax
Member
 
Registered: Aug 2004
Distribution: Gentoo, Suse, Fedora, Debian
Posts: 86

Rep: Reputation: 15
For the start up at boot do this..
chkconfig smb on
chkconfig network on, so you dont need to restart it again and again...

now on the smbmount to function with other users ? elaborate on that ?
 
Old 05-31-2005, 07:32 AM   #3
johnli2
LQ Newbie
 
Registered: May 2005
Location: Sydney
Distribution: Ubuntu 8.04
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you Saneax for a response.

I have read the manual entries you mentioned and think I understand the following:
chkconfig smb on
chkconfig network on

What about the command? :
smbclient -L localhost

With regard to: smbmount //winxppc/linuxshare /mnt/linuxshare

As I understand it, I have a folder on my WinXP PC called 'linuxshare', being the shared directory for RH8 and the files within the folder are seen on my RH8 in the /mnt/linuxshare directory.
As a root user on RH8 I can access any file in the /mnt/linuxshare directory, but user 'u1', a non-root user, cannot. I do not want the root user to have to change the ownership of any file each time (if that is possible), just want 'u1' user to have ownership rights to be able to edit/use the file directly.

I am not sure if I have explained clearly enough, but let me know and I add more detail if required.
 
  


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
samba root user with Open LDAP paul_mat Linux - Networking 6 01-16-2007 08:08 PM
Slackware 10.0 Samba: root can write, user cannot bhicks Slackware 15 11-18-2004 11:46 PM
Windows XP Setup for user verification with Samba file server crazyswede Linux - Networking 2 07-28-2004 04:51 PM
how to setup folder permissions for guest user with samba? wza Linux - Networking 0 07-08-2004 09:26 AM
how to setup samba user acct. dkc_ace Linux - Software 0 01-07-2003 05:17 PM


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

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