Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-31-2005, 02:27 AM   #1
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 02:40 AM.
Old 05-31-2005, 04:32 AM   #2
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, 08:32 AM   #3
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.


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

All times are GMT -5. The time now is 01:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration