Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have succeeded in getting my samba server working (for some time), that is to say, it functions for root and users in the root group. Until now only root was using the server but now I want to make copies from critical files from some Win users to the server just in case...... This has to be done without interaction from the user. Until now I did this on a simple fileserver with windows and that worked fine. But on the linux server that is intended to replace the win server (old amd 500 with win98), I have lots of space so I want to replace the win machine.
In my case I have four shares called drvd drve drvf drvg. This are actually 4 (vfat) drives.
What I want is to give user 1 only access to drvd user 2 only access to drve etc.
I tried simple file sharing but that doesn't work. If I change the group for one share, then all other shares are also changed. Advanced also doesn't work this way, it changes the group or user for all shares when I make a change in group or users.
Obviously I am missing something. I looked in some books, googled a lot, crashed samba a view times but nothing seems to help.
Have you tried this in your smb.conf file, when specifying a share:
path = /usr/local/company_share
guest ok = no
writeable = yes
create mode = 0666
directory mode = 0777
browseable = yes
public = yes
username = yzelle jeremy stefan jean
read list = yzelle jeremy
write list = stefan jean
valid users = yzelle jeremy stefan jean
I. e. only the samba users listed above in the relevant list will be able to do the relevant things... thus you don't use user groups in Linux to limit access. I. e. in the above share config, only Yzelle and Jeremy will be able to read, and only Stefan and Jean will be able to write... - get the idea? You can set this up for each share any way you want. Did you try this? Note that the username used above are NOT Linux usernames, they are Samba usernames created using smbpasswd.