07-24-2011
The unix command is "fuser". This command is of little use in this situation because the status of the file can change so quickly.
The usual method is to not permit direct editing of the file. Then have a temporary "token" file to reserve access to the common file.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
HI! My Linux box is sharing files with two Windows platforms (winXP and Win98). The Windows computers can see the Samba shares, but how do I access the Windows shares from my Linux computer? (2 Replies)
Discussion started by: jot-87
2 Replies
2. Windows & DOS: Issues & Discussions
until recently I've been using the following command successfully:
mount -t smbfs -o username=my_user_name,password=password /home/temp/ //oldserver/openexchange
To connect to a Win2000 shared folder called openexchange on a machine called //oldserver.
But as from today, I've been getting... (2 Replies)
Discussion started by: cw1972
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I want to copy a file from unix machine to a shared windows directory.
i tried using the ftp command but i was able to transfer the file only to my local directory.
Is there any way we can transfer/copy the files from unix to windows shared directory..........
Please help.
Thanks (5 Replies)
Discussion started by: sireesha15
5 Replies
4. Filesystems, Disks and Memory
Hi
Im working in an environment where 2 production and 2 testing unix servers are used.. All these servers share the same home directory..
how is it done
where would the home directory be located (0 Replies)
Discussion started by: raghav288
0 Replies
5. Solaris
how can I make a shared directory between two UNIX servers??? (6 Replies)
Discussion started by: mm00123
6 Replies
6. UNIX for Dummies Questions & Answers
I use User private groups, and have setup a new group 'team' and member users, and a shared directory owned by that group with permissions as follows:
drwxrwsr-x 2 holocene team 4096 2010-05-29 14:45 holoceneshardir
My objective is collaboration among group 'team' members.
... (5 Replies)
Discussion started by: holocene
5 Replies
7. Solaris
I shared from linux server a dir with nfs3,solaris mount
ok,and can tar files,but if i do ls or cp..
on mnt i have mount the nfs share
root@solaris: mnt $ touch 2
root@solaris: mnt $ ls -lh
ls: can't read ACL on .: Permission denied
root@solaris: mnt $ ls
1.tar
2
root@solaris: mnt $ cp... (4 Replies)
Discussion started by: Linusolaradm1
4 Replies
8. UNIX for Dummies Questions & Answers
Hey everyone, I have a question about comparing two files. I have two lists of files. The first list, todo.csv, lists a series of compounds my supervisor wants me to perform calculations on. The second list, done.csv, lists a series of compounds that I have already performed calculations on.... (2 Replies)
Discussion started by: Stuart Ness
2 Replies
9. Solaris
I'm having a strange issue that I'm unsure what to do with. I have a new Solaris home server that I want hard mount /home to all our servers. I've made each user's home directory a filesystem so that I can manage every user with a quota. In each one of my server vfstab files I have it set as:
... (4 Replies)
Discussion started by: mijohnst
4 Replies
10. Shell Programming and Scripting
Given a directory containing say a few thousand files,
please output a list of all the names of the files in the directory that are exactly the same, i.e. have the same contents.
func(a_directory_name) output -> {“matches”: , ... ]}
e.g. func(“/home/my/files”) where the directory... (7 Replies)
Discussion started by: anuragpgtgerman
7 Replies
LEARN ABOUT CENTOS
efikeygen
EFIKEYGEN(1) General Commands Manual EFIKEYGEN(1)
NAME
efikeygen - command line tool for generating keys to use for PE image signing
SYNOPSIS
efikeygen <[--ca | -C] [--self-sign | -S] | [--signer=nickname]>
[--token=token | -t token]
[--nickname=nickname | -n nickname]
[--common-name=common name | -c common name]
[--url=url | -u url]
[--serial=serial | -s serial]
DESCRIPTION
efikeygen is a command line tool for generating keys and certificates to be used with pesign. These are standard X.509 certificates, and
can potentially be generated with any certificate creation tool. efikeygen simply sets generates keys with sensible options set for a key
to be used for PE image signing.
OPTIONS
--ca The certificate being generated is for a CA.
--self-sign
The generated certificate is to be self signed.
--signer=nickname
Nickname of certificate to be used to sign the generated certificate.
--token=token
Use the specified NSS token's certificate database.
--nickname=nickname
The nickname to use for the generated certificate.
--common-name=common-name
The X.509 Common Name for the generated certificate. This should be in rfc2253 syntax, i.e. "CN=John Doe,OU=editing,O=New York
Times,L=New York,ST=NY,C=US"
--url=url
Informational url regarding objects signed with this key.
--serial=serial number
Serial number for use with this key. A certificate is identified by its signer and its serial number, so it's best not to ever re-
use this value with the same signer.
SEE ALSO
pesign(1)
AUTHORS
Peter Jones
Mon Jan 07 2013 EFIKEYGEN(1)