There are some common tasks and best practices that could be shared with the group by all the good people on the board. Having a admin approved/user generated section of this sort might be nice. Often there are lots of tidbits that could be grown into a useful document. Just a thought.
... (5 Replies)
Hi All,
I'm working on a ftp shell script in which I'm tranfering files from one sever to another using ftp.
Some program generates files at undefined time & throughout the day.
I have to transfer the files time to time.. i.e. once the file is generated, it should be transfered at the very... (3 Replies)
Generally(at least on AIX5.3, Solaris9, OS X)'logger' command would create syslog messages which carry <login name> . On Solaris9, I have experienced two circumstances in which 'logname' command fails. In this circumstance I saw the 'logger' command generated syslog messages which carry... (0 Replies)
Hi All,
I was checking some of the files and I got the following entries:-
===============
v, 664, serv, serv, version.txt, exe
L, 775, serv, serv, start.sh, eventserv
================
Could someone please tell me what does the type"v" and "L" represent to.
I have not... (2 Replies)
Dear Friends!
i am wirking on the IBM AIX version 5.3. and i wrote a script to delete the files whicha re generated on 10 days before to the present day. but iam not able to delete the files with the below script so please check and correct me.
dt=`TZ=aaa480 date +%d`... (2 Replies)
Hi,
We have an application ASPA . The application related processes are running in /ASPA/bin directory . now whenever a process terminates abruptly , a core file should be generated (correct me if i am wrong) in the
/ASPA/bin directory . But i am not able to see any such files . The... (4 Replies)
I was trying to figure out in Korn shell but this may apply elsewhere how to generate a list of files from a directory created in the last 10 seconds or less. I have used the find command in the past with -mtime which is measured in days to get a list of files older than say 7 days for example. ... (1 Reply)
I would like to find the Files which are generated today in the current directory:
I use the commad ls -lrt * | egrep " `date "+%b"` * `date "+%d"`
to acheive this. Is there any better way to acquire the same.
Multiple answers will be great. Thanks (3 Replies)
Hello Masters,
I need one help.
I want to copy the files which are continuously generating on one server.
But this would be on hourly basis.
e.g.
-rw-rw-r-- 1 akore akore 0 Feb 12 03:20 test1.log
-rw-rw-r-- 1 akore akore 0 Feb 12 03:42 test2.log
-rw-rw-r-- 1 akore akore 0 Feb 12 04:22... (2 Replies)
Discussion started by: akore83
2 Replies
LEARN ABOUT CENTOS
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.
Since cifscreds adds keys to the session keyring, it is highly recommended that one use pam_keyinit to ensure that a session keyring is
established at login time.
SEE ALSO pam_keyinit(8)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-07-17 CIFSCREDS(1)