LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 10-17-2005, 02:03 AM   #1
bountyhunter
LQ Newbie
 
Registered: Jul 2005
Posts: 12

Rep: Reputation: 0
user permissions


Hi all,

I have encountered a problem with user management that I can't find a solution to...

When a user requests access to a specific folder:

(I have a group called webteam which has access to all folders and is registered with SAMBA.)

1) I create a new group, add the user to that group and change the group of that folder(chgrp) to the new group.

2) I then add users from the webteam that need access to that folder to the newly created group.

3) I also add the new user to the webteam group so that I don't have to make changes to the SAMBA conf file
and restart SAMBA.

there are many flaws with this system:

a) adding users to the webteam group will give them access to folders that they shouldn't
have access to. but the only other option I know to solve this is to change the samba conf and restart samba
which I don't want to do....

b) its tedious to manually add users from the webteam group into the newly created group....

If anyone could suggest a solution to this problem that would be awesome...

thanks in advance,

J.C
 
Old 10-17-2005, 06:50 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Just curious: what's your problem with restarting samba?


Cheers,
Tink
 
Old 10-17-2005, 08:20 PM   #3
bountyhunter
LQ Newbie
 
Registered: Jul 2005
Posts: 12

Original Poster
Rep: Reputation: 0
restarting samba

The problem I have with restarting Samba is that I think it will drop all the users on the system when its restarted.
 
Old 10-17-2005, 09:04 PM   #4
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
We have about 25 users here and doing a samba restart doesn't seem to affect anything, except for an accounting program (MYOB) that continually updates to a database located on a samba share.

Anyway samba has a 'reload' option which just reloads the smb.conf file without dropping everything. On most systems this is
Code:
service smb reload
or you can do it manually be sending a SIGHUP to the samba process
Code:
kill -s SIGHUP `cat /var/run/smbd.pid`
 
  


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
User Permissions carlosinfl Linux - General 1 10-14-2005 06:32 PM
User permissions dmanchepalli Red Hat 2 02-14-2005 08:23 PM
user permissions blubbfish Linux - Security 2 04-28-2004 06:33 AM
user permissions blubbfish Linux - Newbie 1 04-27-2004 01:22 PM
user permissions djroketboy Linux - Networking 7 10-02-2003 02:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:57 PM.

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