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.
First, sorry for my bad English. I'm a beginner in Linux, and already search in the forum but couldnt find the exact answer. I just setup new server using Centos 5.3. I plan to configure it as a file sharing server (samba) as below:
I got 5 department (that mean 5 workgroup too) in my organization, so I want to create a sharing folder for each department (workgroup) in that server. I want each folder to have their own size limit (quota), and can only be written by their corresponding department (user), while other department (user) can just read it, not write. Client PC that will connect to this server is all running Win XP Pro. No domain or AD etc.. I already created a seperate "sharing" partition to enable disk quotas later. Now my problem is I'm getting a little bit confius on how to setup samba.
1) Is Linux "user" is the same with Samba "user"? Do I need to create Linux "user" for 5 department, or just I need to create it in Samba? Or do I need to create in both?
2) When user do \\server_name, they can see 5 sharing folder listed. They can read all folder, but can only write/delete on their corresponding department/workgroup folder. How do I setup this on Samba? Or it just a normal file/folder permission setting in Linux?
3)When Win XP client PC try to access Linux server, how do Samba authenticate them? By workgroup name, or by Windows account name?
4)Let say I want to create a special protected folder, where anyone can access/write it, provided they gave the correct password. How do i set Samba to ask for password each time user want to read/write this folder? Is it possible?
I hope all the expert out there can help me. For sure I will ask for help again later. Thanks a million for all who help.
I hope some one else can answer your questions because I am new myself, but I have access to our company's server , we get on the windows server via remote desktop and the windows 2000 server is a client for our samba server, and I can see that
1-You have to make/create users on the Samba server and create their home directories.
2- the rights to files and folders are set in linux (on samba server) and no matter how much rights you give the user in Windows they will not be able to access more that they have in Linux.
3- I guess by each user on samba?
4- usually you have full rights to your own home folder but you can read everything else (you cannot write/execute other files in other folders).
we also map users to their own home directory which is located on the linux server but shows up as Z: drive in windows.
sorry could not help you much, but those are good questions.
I've had samba nightmares, so maybe I can try to help some.
When the XP client accesses the share, it does it just with the user name and password. The workgroup name just tells it where the share is.
The best way I have found to get samba going is to start off with no security whatsoever, make everything public, writeable, and browseable, and once you have all of the shares going, work on your permissions from there.
For the folders you want accessed by different users, you simply adjust the type of authentication.