Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vfs_readonly(8) [suse man page]

VFS_READONLY(8) 					    System Administration tools 					   VFS_READONLY(8)

NAME
vfs_readonly - make a Samba share read only for a specified time period SYNOPSIS
vfs objects = readonly DESCRIPTION
This VFS module is part of the samba(7) suite. The vfs_readonly VFS module marks a share as read only for all clients connecting within the configured time period. Clients connecting during this time will be denied write access to all files in the share, irrespective of ther actual access privileges. This module is stackable. OPTIONS
readonly:period = BEGIN, END Only mark the share as read only if the client connection was made between the times marked by the BEGIN and END date specifiers. The syntax of these date specifiers is the same as that accepted by the -d option of GNU date(1). EXAMPLES
Mark all shares read only: [global] vfs objects = readonly Mark the [backup] share as read only during business hours: [backup] path = /readonly vfs objects = readonly readonly:period = readonly:period = "today 9:00","today 17:00" VERSION
This man page is correct for version 3.0.25 of the Samba suite. AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. Samba 3.5 06/18/2010 VFS_READONLY(8)

Check Out this Related Man Page

VFS_AUDIT(8)						    System Administration tools 					      VFS_AUDIT(8)

NAME
vfs_audit - record selected Samba VFS operations in the system log SYNOPSIS
vfs objects = audit DESCRIPTION
This VFS module is part of the samba(7) suite. The vfs_audit VFS module records selected client operations to the system log using syslog(3). The following Samba VFS operations are recorded: connect disconnect opendir mkdir rmdir open close rename unlink chmod fchmod chmod_acl fchmod_acl This module is stackable. OPTIONS
audit:facility = FACILITY Log messages to the named syslog(3) facility. audit:priority = PRIORITY Log messages with the named syslog(3) priority. EXAMPLES
Log operations on all shares using the LOCAL1 facility and NOTICE priority: [global] vfs objects = audit audit:facility = LOCAL1 audit:priority = NOTICE VERSION
This man page is correct for version 3.0.25 of the Samba suite. AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. Samba 3.5 06/18/2010 VFS_AUDIT(8)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Samba Over WAN

Hi, I recently setup Samba on my home network. It's working fine there and I can use all the shares normally. What I would like to do now is be able to use those shares on my PC at work, or actually on any computer connected to the Internet. My OS is SuSE 7.3 and I think I'm running Samba 2.0. ... (3 Replies)
Discussion started by: cybler
3 Replies

2. Solaris

Can't dance the Samba!

Hi all, Firstly this is my very first attempt at installing and using Samba and only have a basic grasp of how it works.... Earlier today I installed Samba 3.0.2 under Solaris 9 (Sun Ultra 60) for the purpose of sharing my home directory on the Sun with my PC. Following the instructions at... (3 Replies)
Discussion started by: alarmcall
3 Replies

3. Solaris

Samba 3.0.22 on Solaris9

Hello all, I have successfully installed samba 3.0.22 on my sol 9 e250 machine. I created my share but when i try to get to my share from my windows machine, it prompts me for my username and passwd, i enter it and it just comes back prompting me for my username and passwd agai,. Has anyone been... (8 Replies)
Discussion started by: Gegestic
8 Replies

4. Shell Programming and Scripting

output result (period -1)

hello, I have the following basic script which input the period, but I would like to output is period -1.. how? echo Please input period (yyyymm): read PERIOD OUTPUT=$PERIOD -1 echo " you request period -1 is $OUT" input 200705 output 200704 input 200701 output 200612 The above... (4 Replies)
Discussion started by: happyv
4 Replies

5. Filesystems, Disks and Memory

backup of files for a specific date

In Linux Advance server I want to write one script for backing up files for a specific date like 24/07/2008. (3 Replies)
Discussion started by: akm9999
3 Replies

6. Shell Programming and Scripting

Birthday Calculation

Hi I have a simple question. Is there an easy way to read a date of birth from a file and calculate how old that person is based on today's date? And would I need the make sure the birthdates are enterered in a particular format? Thanks (10 Replies)
Discussion started by: mustaine85
10 Replies

7. UNIX and Linux Applications

Print date at END clause of AWK

Hi to all! I 'm new in unix programing so... may be I decided a wrong tool to solve the problem but anyway... all road goes to rome jajaja. My question is: There is any way to print date at the END clause of an AWK script. I mean, I'm writing a tool with AWK and the results are redirected to a... (4 Replies)
Discussion started by: fmeriles
4 Replies

8. Shell Programming and Scripting

SAMBA Mount

Hi, Please can somebody advise me on the issue where I have a Samba mount created for one of the directories with read only access to all the IP's in the network. Now beside read only access I want to provide Modify access also for two IP's. Please advise. Best Regards, Shazin (5 Replies)
Discussion started by: Shazin
5 Replies

9. UNIX for Dummies Questions & Answers

Set readonly

I'm confused using hdparm -r1 /dev/sda9 although it shows readonly set to 1 (on) - I can touch a file and edit and save it. why? (7 Replies)
Discussion started by: daWonderer
7 Replies

10. HP-UX

memory consumption over a time period

Hi, Can some one please tell me how do I generate a report of the Memory Consumption over a time period: HP-UX B.11.31 U ia64 0440531406 unlimited-user license I normally use glance to monitor memory in run time. Note: I do not have root privileges. Thanks Danish ... (5 Replies)
Discussion started by: danish0909
5 Replies

11. UNIX for Dummies Questions & Answers

File creation time in UNIX

Hi All, Can any one help how to long list today's files in unix.i.e files which are have been created today should be able to "ls -ltr" .I should be able to apply the "ls -ltr" command on today's files(should not include all the files which were there in the directory). Thanks in advance!!! (3 Replies)
Discussion started by: Balasankar
3 Replies

12. Proxy Server

Unable to access Samba share with Ubuntu on Win7

I have an issue with my Samba share - I am unable to write to it, edit a file or rename a folder etc within Windows. I am using Windows 7 and Ubuntu 12.04 and this is my Samba config. I can connect to the /sylius directory no problem (no password required), but I cannot save to it. Is... (3 Replies)
Discussion started by: crmpicco
3 Replies

13. Windows & DOS: Issues & Discussions

Dreaded Win7 0x80070035 with Samba

I have a Win7 machine which is connected to a perfectly ordinary Samba share. Suddenly, it has started refusing to connect to it with error 0x80070035 -- "the network path was not found". Attempting to login with its IP address \\192.168.x.x does not work either. When I attempt to diagnose the... (8 Replies)
Discussion started by: Corona688
8 Replies

14. Ubuntu

Samba share on software raid1

Hello! i am having a ubuntu server with two empty disks and connected software raid1 to it. I am having /mnt/raid folder which i created to mount it. SO should i now make a share folder inside that or what? I ama bit confused when a raid is present. (27 Replies)
Discussion started by: tomislav91
27 Replies