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
SMBGET(1) User Commands SMBGET(1)
NAME
smbget - wget-like utility for download files over SMB
SYNOPSIS
smbget [-a, --guest] [-r, --resume] [-R, --recursive] [-u, --username=STRING] [-p, --password=STRING] [-w, --workgroup=STRING]
[-n, --nonprompt] [-d, --debuglevel=INT] [-D, --dots] [-P, --keep-permissions] [-o, --outputfile] [-f, --rcfile] [-q, --quiet]
[-v, --verbose] [-b, --blocksize] [-O, --stdout] [-?, --help] [--usage] {smb://host/share/path/to/file} [smb://url2/] [...]
DESCRIPTION
This tool is part of the samba(7) suite.
smbget is a simple utility with wget-like semantics, that can download files from SMB servers. You can specify the files you would like to
download on the command-line.
The files should be in the smb-URL standard, e.g. use smb://host/share/file for the UNC path \\HOST\SHARE\file.
OPTIONS
-a, --guest
Work as user guest
-r, --resume
Automatically resume aborted files
-R, --recursive
Recursively download files
-u, --username=STRING
Username to use
-p, --password=STRING
Password to use
-w, --workgroup=STRING
Workgroup to use (optional)
-n, --nonprompt
Don't ask anything (non-interactive)
-d, --debuglevel=INT
Debuglevel to use
-D, --dots
Show dots as progress indication
-P, --keep-permissions
Set same permissions on local file as are set on remote file.
-o, --outputfile
Write the file that is being downloaded to the specified file. Can not be used together with -R.
-O, --stdout
Write the file that is being downloaded to standard output.
-f, --rcfile
Use specified rcfile. This will be loaded in the order it was specified - e.g. if you specify any options before this one, they might
get overriden by the contents of the rcfile.
-q, --quiet
Be quiet
-v, --verbose
Be verbose
-b, --blocksize
Number of bytes to download in a block. Defaults to 64000.
-?, --help
Show help message
--usage
Display brief usage message
SMB URLS
SMB URL's should be specified in the following format:
smb://[[[domain;]user[:password@]]server[/share[/path[/file]]]]
smb:// means all the workgroups
smb://name/ means, if name is a workgroup, all the servers in this workgroup, or if name is a server, all the shares on this server.
EXAMPLES
# Recursively download 'src' directory
smbget -R smb://rhonwyn/jelmer/src
# Download FreeBSD ISO and enable resuming
smbget -r smb://rhonwyn/isos/FreeBSD5.1.iso
# Recursively download all ISOs
smbget -Rr smb://rhonwyn/isos
# Backup my data on rhonwyn
smbget -Rr smb://rhonwyn/
BUGS
Permission denied is returned in some cases where the cause of the error is unknown (such as an illegally formatted smb:// url or trying to
get a directory without -R turned on).
VERSION
This man page is correct for version 3 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.
The smbget manpage was written by Jelmer Vernooij.
Samba 3.5 06/18/2010 SMBGET(1)