10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
Newbie here.
I'm currently tasked with updating rsyslog.conf and auditd.conf on a large set of servers. I know the exact logging configurations that I want to enable. I have updated both files on on a server and hope to use the updated files as a template for the rest of the... (3 Replies)
Discussion started by: Mide
3 Replies
2. UNIX for Dummies Questions & Answers
So what i am trying to accomplish is the following:
a share that is browse-able by every one on the network with a group of people that can write to it with out ownership problems. I am extremely new to samba/linux and any help would be greatly appreciated. It is a stand alone server running samba... (3 Replies)
Discussion started by: dcs
3 Replies
3. UNIX for Dummies Questions & Answers
Hi there,
I want to give access with samba to a folder but with read and copy rights but no write. I don't want somebody to be able to delete the files.
I found the read only parameter but this doesn't allow the users to copy the files. Is there an option for this?
The configuration looks... (2 Replies)
Discussion started by: sickboy
2 Replies
4. Red Hat
Hi,
I was told to add the "nis" in front of "files" for below lines in /etc/nsswitch.conf was not in a good practise. I tried to search in google and man page for nsswitch.conf and can't find the answer. could someone please help me?
passwd: nis files
shadow: nis files
group: nis files... (2 Replies)
Discussion started by: beeloo
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have a question on /etc/syslog.conf file in Solaris 10.
Below is a line taken from /etc/syslog.conf file and I know that the last field (operator) is where the logs gets outputted but how do I find out what the output file name format is going to be and which directory it gets outputted... (1 Reply)
Discussion started by: stevefox
1 Replies
6. Solaris
Hello Guys,
Do we need to configure this file only if we add SAN disk or even if we add local disk, do we need to modify? (4 Replies)
Discussion started by: mokkan
4 Replies
7. Solaris
OK I am running solaris 10.
I made some changes to my ipf.conf file and issued the command:
ipf -Fa -f /etc/ipf/ipf.conf
to flush out the old and bring in the new changes.
When I ran ipfstat -ioh to verify it had brought in the new rule set I saw something I wasn't expecting to see.
I... (3 Replies)
Discussion started by: NewSolarisAdmin
3 Replies
8. Solaris
Hey all!
I'm working on Solaris10 right now and I was fiddling around with a fresh install and was wondering about the service that uses resolv.conf?
I know prior to Sol10 (SMF) it was /etc/init.d/inetsvc stop and start to reload resolv.conf changes
but I can't seem to find the correct SMF... (5 Replies)
Discussion started by: Keepcase
5 Replies
9. UNIX for Dummies Questions & Answers
i am running samba 3 on solaris 9
i have a question where is the smb.conf located
is it in /usr/local/samba/lib or private (6 Replies)
Discussion started by: rmuhammad
6 Replies
10. UNIX for Advanced & Expert Users
Is there a generic smb.conf file that should work on all systems? Right now I am running Red Hat 7.3 and also have 3XP machines and 1 2000 pro. (1 Reply)
Discussion started by: GJC
1 Replies
MOUNT_SMBFS(8) BSD System Manager's Manual MOUNT_SMBFS(8)
NAME
mount_smbfs -- mount a shared resource from an SMB file server
SYNOPSIS
mount_smbfs [-N] [-o options] [-d mode] [-f mode] [-h] [-s] [-v] //[domain;][user[:password]@]server[/share] path
DESCRIPTION
The mount_smbfs command mounts a share from a remote server using SMB/CIFS protocol.
The options are as follows:
-N Do not ask for a password. At run time, mount_smbfs reads the ~/Library/Preferences/nsmb.conf file for additional configuration
parameters and a password. If no password is found, mount_smbfs prompts for it.
-o Options passed to mount(2) are specified with the -o option followed by a comma separated string of options. See the mount(8) man
page for possible options and their meanings. Additional options supported by the mount_smbfs are as follows:
nobrowse
Indicate to the Carbon subsystem that this volume is not to be displayed to the user.
automounted
Set flags on the mountpoint to indicate that the volume has been mounted by the automounter.
nostreams
Don't use NTFS Streams even if they are supported by the server.
soft Make the mount soft. Fail file system calls after a number of seconds.
nonotification
Turn off using notifications for this volume.
-f mode, -d mode
Specify permissions that should be assigned to files and directories. The values must be specified as octal numbers. Default value
for the file mode is taken from mount point, default value for the directory mode adds execute permission where the file mode gives
read permission.
Note that these permissions can differ from the rights granted by SMB server.
-h Prints a help message, much like the SYNOPSIS above.
-s Force a new session to be created to the server.
-v Prints version.
//[domain;][user[:password]@] server[/share]
The mount_smbfs command will use server as the NetBIOS name of remote computer, user as the remote user name and share as the
resource name on a remote server. Domain and/or password may be specified here. If user is omitted the logged in user id will be
used. Omitting share is an error when mount_smbfs is run from the command line, otherwise a browsing dialogue is presented.
path Path to mount point.
FILES
nsmb.conf Keeps static parameters for connections and other information. See man nsmb.conf for details.
EXAMPLES
This example shows the proper url to use to mount the share PUBLIC from the SMB server myserver :
mkdir /smb/public
mount -t smbfs //username:userpass@myserver/PUBLIC /smb/public
This example shows the proper url to use to mount the share PUBLIC from the SMB server myserver as guest:
mkdir /smb/public
mount -t smbfs //guest:@myserver/PUBLIC /smb/public
Note: You should always use the system mount command and never call mount_smbfs directly.
SEE ALSO
mount(2), nsmb.conf(5), mount(8), umount(8)
BUGS
Please report bugs to Apple.
AUTHORS
Boris Popov <bp@butya.kz>, <bp@FreeBSD.org>
FreeBSD March 10, 2000 FreeBSD