LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-18-2011, 11:50 AM   #1
anaskoara
LQ Newbie
 
Registered: Jan 2011
Posts: 15

Rep: Reputation: 0
Question restrict access on linux windows network


Hi

my team is working on network thier termial is windows and my server is linux centos

we work on simple network with out domain
  1. my user works on files on the server, can I deman ser name and passwork when they try to change to the shared files on the server
  2. and can i monitor which user chaned a file
  3. I have css developer and he is only allowed to create and modify css files can i do this ?

is this action possible or not
regards
 
Old 02-18-2011, 12:39 PM   #2
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
Use samba which will create a Windows share on your Linux system. Then:
1 - make the users log in with a user name and password to mount the samba volume.
2 - Samba uses Linux permissions. The user will log on with a Windows user and password.
3 - This can be more difficult. Linux does not support file types by extension. The easiest way to achieve this would be to restrict the user to a particular directory.

Here (link) is a document that I found that provides a good explanation of samba permissions.
 
Old 02-18-2011, 01:23 PM   #3
anaskoara
LQ Newbie
 
Registered: Jan 2011
Posts: 15

Original Poster
Rep: Reputation: 0
hi

I am ot very expert with samba but can I restriect access with username& password i give them
not by thier windows user name and passwords because most of my temis working with thier own laptops.

---------- Post added 02-18-11 at 02:24 PM ----------

hi

I am ot very expert with samba but can I restriect access with username& password i give them
not by thier windows user name and passwords because most of my temis working with thier own laptops.
 
Old 02-19-2011, 06:23 AM   #4
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
Assuming your using samba, in the basic (easy to create) configuration samba user names and passwords are distinct from the Linux passwords. You will create a samba share password in much the same way as you create a standard user password, using the smbpasswd command, which takes a user name and prompts you for the password.

Samba, by the way is the tool that will let you bridge Linux and windows networks by bringing Windows networking protocols to Linux (of course Windows won't support Linux protocols). I don't know of any way without it to do what you require. However, a basic samba share is very easy to set up. Samba almost works right from the default install. The only thing you really need to do is add a small stanza to the configuration file to tell it about your workgroup and point it to your windows machine. There are even sample stanzas in the configuration to show you what to change.
 
  


Reply



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
How to restrict samba write access from a network ? bittus Linux - Newbie 3 03-23-2009 12:49 AM
Ubuntu 8.04 in mixed Mac & Windows network Internet access but no access to network. traveller7 Linux - Networking 1 01-10-2009 07:53 PM
Cannot Access Internet from Windows PC over Linux Network Reijnik Linux - Networking 6 01-08-2009 10:05 PM
How to set up network permissions for user accounts. Restrict network access. r00tb33r Linux - Networking 7 02-04-2007 09:10 PM
Restrict Network Access alxdotnet Linux - Software 3 04-10-2004 10:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:22 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration