I want to create a user "samba" that has admin privileges over the directory where Win95 apps will be installed, but does not have root privileges. Are their any problems with doing so? Thanks, Carey =====================================================================e <> Carey F. Cox, PhD | PHONE: (409) 880-8770 <> <> Assistant Professor | FAX: (409) 880-8121 <> <> Dept. of Mech. Eng. | EMAIL: carey@tabasco.lamar.edu <> <> Lamar University | WEB: N/A <> ======================================================================
> From: "Carey F. Cox" <carey@tabasco.lamar.edu> > To: Samba Mailing List <samba@samba.org> > Subject: Admin user > I want to create a user "samba" that has admin privileges over the > directory where Win95 apps will be installed, but does not have > root privileges. > > Are their any problems with doing so?don't make the samba user setup with the admin users = parameter. if the apps are Read only then just make it so the samba user has write powers and no one else does. admin users do all accesses as root. so it kinda is dangerous to setup an admin user. just setup a user w/write access and disable everyone else's write access like this [95apps] path = /some/where/95apps writeable = yes write list = samba read list = (users whom you wish to read this share) or something like that. -sv
Hello. I am running samba 2.2.5 on Redhat 7.3. I wanted to give a user1 administrative privileges, so in smb.conf, under [global], admin users user1. When user1 is on a PC and creates a file in MSWord and saves it in his directory, the default permissions aren't preserved for user1. Instead, the owner of that file becomes root. Is there any way I can set samba so that the owner of the file is preserved as user1? (Also, the group that user1 is in isn't preserved in the file permissions either). Thank you in advance. Judy Lin NACS-DCS
Hello. I am running samba 2.2.5 on Redhat 7.3. I wanted to give a user1 administrative privileges, so in smb.conf, under [global], admin users user1. When user1 is on a PC and creates a file in MSWord and saves it in his directory, the default permissions aren't preserved for user1. Instead, the owner of that file becomes root. Is there any way I can set samba so that the owner of the file is preserved as user1? (Also, the group that user1 is in isn't preserved in the file permissions either). Thank you in advance. Judy Lin
G'day Judy, Samba is acting as instructed here. When you set a user as administrator via smb.conf they have root priveleges, and have file access as such. Set up user and group permissions appropriate on the shared directory (under *nix) and remove the admin line in smb.conf file to grant more explecit control. Samba follows the user and group permissions on files and directories as already set on the *nix filesystem. Does that make sense to you? (Let me know if not.) All the best... Mike --- Michael S. E. Kraus Administration Capital Holdings Group (NSW) Pty Ltd mkraus@capitalholdings.com.au phone (02) 9955 8000 fax (02) 9955 8144 Judy Lin <jyclin@hydra.acs.uci.edu> Sent by: samba-admin@lists.samba.org 19/11/2002 12:24 PM To: <samba@lists.samba.org> cc: Subject: [Samba] admin user Hello. I am running samba 2.2.5 on Redhat 7.3. I wanted to give a user1 administrative privileges, so in smb.conf, under [global], admin users user1. When user1 is on a PC and creates a file in MSWord and saves it in his directory, the default permissions aren't preserved for user1. Instead, the owner of that file becomes root. Is there any way I can set samba so that the owner of the file is preserved as user1? (Also, the group that user1 is in isn't preserved in the file permissions either). Thank you in advance. Judy Lin -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Judy, I am using a combination of CLI, Webmin and SWAT for configuring my Smaba installation here at the office. (BTW, I am using the same OS and Samba Release as you) Inside the Webmin module for Swat, under the individual shares, there is a section on permissions. In that section, there is a place to force all new files created in that share to be owned by certain users and groups. I would recommend forcing a group permission, unless this folder is only accessible by the one user. There are also some settings to disallow symlinks (VERY important for security.) and a few other little settings. Once you set those, you can save it and then view your smb.conf file in your favorite editor. I highly recommend saving a copy of your currently working smb.conf file, as Webmin will rewrite the whole thing for you with a number of its own default settings which WILL break something. It only appears to breaks things the first time it accesses the smb.conf file... Anyway, good luck. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -----Original Message----- From: Judy Lin [mailto:jyclin@hydra.acs.uci.edu] Sent: Monday, November 18, 2002 5:19 PM To: samba@lists.samba.org; Robert Adkins Subject: [Samba] admin user Hello. I am running samba 2.2.5 on Redhat 7.3. I wanted to give a user1 administrative privileges, so in smb.conf, under [global], admin users user1. When user1 is on a PC and creates a file in MSWord and saves it in his directory, the default permissions aren't preserved for user1. Instead, the owner of that file becomes root. Is there any way I can set samba so that the owner of the file is preserved as user1? (Also, the group that user1 is in isn't preserved in the file permissions either). Thank you in advance. Judy Lin NACS-DCS -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba