I am having a problem with fsck. I am new to UNIX but was placed in a position where I must learn it. Anyway, one of the instructions that I have been given is to use 'fsck -f -y' when I am having trouble with the filesystem. The problem is that I am getting an error message that says the -f... (1 Reply)
Hi there, I am designing a software rollout script and need to check if a particular file exists on a remote system
something along the lines of
if ; then blah blah
The above doesnt work but you get the general idea....is there a way I can do this on a single line ??
any help would... (2 Replies)
Dear all
I am new for HP-UX.
I have HP rp2470 running HP-UX 10.x
When i run fsck in a root, the output is as below:
#:root> fsck
fsck: /dev/vg00/rlvol1: mounted file system
continue (y/n)? y
** /dev/vg00/rlvol1
** Last Mounted on /stand
** Phase 1 - Check Blocks and Sizes
** Phase... (3 Replies)
Hi Guys
I m posing this new thread as I didnt get satisfactory result after running search here.
My requirement is very simple (using shell script)
I need to findout what all file systems are mounted -> Then I need check the health of that file system - by disk usage & by doing a simple... (8 Replies)
Hi, suppose I have file system path say /foo/bar/baz then how would I find out whether it is local file system or NFS? If it is NFS then I want to find out the host where file system is located.
Thanks,
Paresh (5 Replies)
Advance Thanks.
(1) I would like to know any unix/Linux command to check EOF char in a file.
(2) Or Any way I can check a file has been reached completely at machine B from machine A. Note that machine A ftp/scp the file to machine B at unknown time. (5 Replies)
I've seen this question posed a few times with shell scripting, but have not found anything with csh. I am trying to download multiple txt files from a source using wget. These are archived tornado warning files; however, the files only exist if there were tornado warnings issued that day. I'm... (3 Replies)
Hi
I have a shell script to copy a pattern of files from Linux to Windows Filesystem.
When i execute the below command
cp -av TOUT_05-02-13* Windows/Folder
`TOUT_05-02-13-19:02:37.tar.gz' -> `Windows/Folder/SYSOUT_05-02-13-19:02:37.tar.gz'
cp: cannot create regular file... (5 Replies)
Discussion started by: rakeshkumar
5 Replies
LEARN ABOUT DEBIAN
cifscreds
CIFSCREDS(1)CIFSCREDS(1)NAME
cifscreds - manage NTLM credentials in kernel keyring
SYNOPSIS
cifscreds add|clear|clearall|update [-u username] [-d] host|domain
DESCRIPTION
The cifscreds program is a tool for managing credentials (username and password) for the purpose of establishing sessions in multiuser
mounts.
When a cifs filesystem is mounted with the "multiuser" option, and does not use krb5 authentication, it needs to be able to get the
credentials for each user from somewhere. The cifscreds program is the tool used to provide these credentials to the kernel.
The first non-option argument to cifscreds is a command (see the COMMANDS section below). The second non-option argument is a hostname or
address, or an NT domain name.
COMMANDS
add Add credentials to the kernel to be used for connecting to the given server, or servers in the given domain.
clear
Clear credentials for a particular host or domain from the kernel.
clearall
Clear all cifs credentials from the kernel.
update
Update stored credentials in the kernel with a new username and password.
OPTIONS -d, --domain
The provided host/domain argument is a NT domainname.
Ordinarily the second argument provided to cifscreds is treated as a hostname or IP address. This option causes the cifscreds program
to treat that argument as an NT domainname instead.
If there are not host specific credentials for the mounted server, then the kernel will next look for a set of domain credentials
equivalent to the domain= option provided at mount time.
-u, --username
Ordinarily, the username is derived from the unix username of the user adding the credentials. This option allows the user to
substitute a different username.
NOTES
The cifscreds utility requires a kernel built with support for the login key type. That key type was added in v3.3 in mainline Linux
kernels.
AUTHORS
The cifscreds program was originally developed by Igor Druzhinin <jaxbrigs@gmail.com>. This manpage and a redesign of the code was done by
Jeff Layton <jlayton@samba.org>.
2012-01-24 CIFSCREDS(1)