| Summary: | [patch] provide a better example for passwordless guest mounting | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Documentation | Reporter: | Enji Cooper <ngie> | ||||
| Component: | Books & Articles | Assignee: | Xin LI <delphij> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Enji Cooper
2011-09-16 22:40:06 UTC
Responsible Changed From-To: freebsd-bugs->delphij Take. Author: delphij Date: Sat Sep 17 22:17:31 2011 New Revision: 225643 URL: http://svn.freebsd.org/changeset/base/225643 Log: Change the example of using smbfs in fstab to a password-less one, which is less likely to block a remote system from boot. Submitted by: Garrett Cooper <yaneurabeya@gmail.com> PR: doc/160775 MFC after: 1 month Approved by: re (kib) Modified: head/contrib/smbfs/mount_smbfs/mount_smbfs.8 Modified: head/contrib/smbfs/mount_smbfs/mount_smbfs.8 ============================================================================== --- head/contrib/smbfs/mount_smbfs/mount_smbfs.8 Sat Sep 17 20:48:49 2011 (r225642) +++ head/contrib/smbfs/mount_smbfs/mount_smbfs.8 Sat Sep 17 22:17:31 2011 (r225643) @@ -157,11 +157,11 @@ mount_smbfs -I samba.mydomain.com //gues mount_smbfs -I 192.168.20.3 -E koi8-r:cp866 //guest@samba/tmp /smb/tmp .Ed .Pp -It is possible to use +It is also possible to use .Xr fstab 5 -for smbfs mounts: +for smbfs mounts (the example below doesn't prompt for a password): .Pp -.Dl "//guest@samba/public /smb/public smbfs rw,noauto 0 0" +.Dl "//guest@samba/public /smb/public smbfs rw,noauto,-N 0 0" .Sh AUTHORS .An Boris Popov Aq bp@butya.kz , .Aq bp@FreeBSD.org _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" State Changed From-To: open->patched Patch applied to -HEAD, MFC reminder. State Changed From-To: patched->closed Committed, thanks! Author: delphij Date: Tue Feb 7 22:31:16 2012 New Revision: 231167 URL: http://svn.freebsd.org/changeset/base/231167 Log: MFC r225643,225644: Change the example of using smbfs in fstab to a password-less one, which is less likely to block a remote system from boot. Submitted by: Garrett Cooper <yaneurabeya@gmail.com> PR: doc/160775 Modified: stable/8/contrib/smbfs/mount_smbfs/mount_smbfs.8 Directory Properties: stable/8/contrib/smbfs/ (props changed) Modified: stable/8/contrib/smbfs/mount_smbfs/mount_smbfs.8 ============================================================================== --- stable/8/contrib/smbfs/mount_smbfs/mount_smbfs.8 Tue Feb 7 22:13:54 2012 (r231166) +++ stable/8/contrib/smbfs/mount_smbfs/mount_smbfs.8 Tue Feb 7 22:31:16 2012 (r231167) @@ -1,6 +1,6 @@ .\" $Id: mount_smbfs.8,v 1.10 2002/04/16 02:47:41 bp Exp $ .\" $FreeBSD$ -.Dd January 21, 2008 +.Dd September 17, 2011 .Dt MOUNT_SMBFS 8 .Os .Sh NAME @@ -157,11 +157,11 @@ mount_smbfs -I samba.mydomain.com //gues mount_smbfs -I 192.168.20.3 -E koi8-r:cp866 //guest@samba/tmp /smb/tmp .Ed .Pp -It is possible to use +It is also possible to use .Xr fstab 5 -for smbfs mounts: +for smbfs mounts (the example below doesn't prompt for a password): .Pp -.Dl "//guest@samba/public /smb/public smbfs rw,noauto 0 0" +.Dl "//guest@samba/public /smb/public smbfs rw,noauto,-N 0 0" .Sh AUTHORS .An Boris Popov Aq bp@butya.kz , .Aq bp@FreeBSD.org _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" |