Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-17-2005, 02:03 AM   #1
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,

Old 10-17-2005, 06:50 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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

Old 10-17-2005, 08:20 PM   #3
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
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
service smb reload
or you can do it manually be sending a SIGHUP to the samba process
kill -s SIGHUP `cat /var/run/`


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:00 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