search for: create_home

Displaying 10 results from an estimated 10 matches for "create_home".

2018 Jul 25
1
smb.conf root preexec ?
...e manually the user's home directory. > > > > My question is: > > > >     There is some way to create automatically this home directory when > >     the user access to it the first time via smbclient or another WinPC? > > you can add a "root preexec=/opt/create_home.sh " parameter [1] in the > share definition and create the home and set the owner/mask in the > shell script. As the name implies, it will execute the script as root > before giving access to the share to the user. I have not tested it > with selinux enabled though. > >...
2003 Nov 15
2
Linux Shell
Hi, I was just wondering is it possible to disable the creation of the Linux default files in user's home and disable shell login? Regards, Norman
2018 Jul 25
1
Sorry by the topic
...ion is: > > > > > > > >     There is some way to create automatically this home directory > > > >when the user access to it the first time via smbclient or another > > > >WinPC? > > > > > > you can add a "root preexec=/opt/create_home.sh " parameter [1] in > > > the share definition and create the home and set the owner/mask in > > > the shell script. As the name implies, it will execute the script > > > as root before giving access to the share to the user. I have not > > > tested it...
2018 Aug 02
3
Can't write to a samba share mounted as an AD user
...table = yes guest ok = yes path = /var/spool/smb [home] comment = Home path = %H browsable = yes oplocks = yes ftp write only = no inherit permissions = yes invalid users = guest writable = yes read list = "%u" write list = "%u" valid users = "%u" root preexec = /sbin/create_home -u '%q' shadow:snapdir = /share/CACHEDEV1_DATA/homes/../_.share/homes/.snapshot shadow:basedir = %H shadow:sort = desc shadow:format = @GMT-%Y.%m.%d-%H:%M:%S
2018 Jul 27
1
smb.conf root preexec ?
...;> >>>> My question is: >>>> >>>>      There is some way to create automatically this home directory >>>> when the user access to it the first time via smbclient or another >>>> WinPC? >>> you can add a "root preexec=/opt/create_home.sh " parameter [1] in >>> the share definition and create the home and set the owner/mask in >>> the shell script. As the name implies, it will execute the script >>> as root before giving access to the share to the user. I have not >>> tested it with selinu...
2017 Feb 09
3
Samba AD domain member and home directory creation
On a Centos 7 minimal fresh install I have follow this howto: http://www.hexblot.com/blog/centos-7-active-directory-and-samba and I have Joining to an Active Directory server without problem. The command "id administrator" work great, the home directory (/home/us er at srl) is successfully created if I run "su - user" or "ssh user at localhost" from a shell
2018 Aug 02
0
Can't write to a samba share mounted as an AD user
...; comment = Home > path = %H > browsable = yes > oplocks = yes > ftp write only = no > inherit permissions = yes > invalid users = guest > writable = yes > read list = "%u" > write list = "%u" > valid users = "%u" > root preexec = /sbin/create_home -u '%q' > shadow:snapdir > = /share/CACHEDEV1_DATA/homes/../_.share/homes/.snapshot > shadow:basedir = %H shadow:sort = desc > shadow:format = @GMT-%Y.%m.%d-%H:%M:%S Was this NAS a 'standalone server' at some point ? It certainly looks like it to me, two things point t...
2012 Apr 18
1
[PATCH RFC] sysprep: remove user accounts
Hi Rich, This patch attends to remove the user accounts in the guest, I send this out to request your comments, if the concept is correct and you can point out some syntax error for me. Thanks a lot, Wanlong Gao Remove user accounts except the root user. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- sysprep/Makefile.am | 2 +
2018 Aug 02
2
Can't write to a samba share mounted as an AD user
Whoops! Replying to all! On Thu, Aug 2, 2018 at 10:55 AM, Rowland Penny via samba < samba at lists.samba.org> wrote: > On Thu, 2 Aug 2018 10:43:26 -0400 > pisymbol via samba <samba at lists.samba.org> wrote: > > > Full disclosure: This is an exported share on a QNAP NAS device. > > Even fuller disclosure ;-) > You haven't given us enough info > I can
2018 Aug 02
3
Can't write to a samba share mounted as an AD user
...browsable = yes >> oplocks = yes >> ftp write only = no >> inherit permissions = yes >> invalid users = guest >> writable = yes >> read list = "%u" >> write list = "%u" >> valid users = "%u" >> root preexec = /sbin/create_home -u '%q' >> shadow:snapdir >> = /share/CACHEDEV1_DATA/homes/../_.share/homes/.snapshot >> shadow:basedir = %H shadow:sort = desc >> shadow:format = @GMT-%Y.%m.%d-%H:%M:%S > > Was this NAS a 'standalone server' at some point ? > > It certainly loo...