Sponsored Content
Full Discussion: Users using a file
Operating Systems Linux Red Hat Users using a file Post 302345679 by jredx on Thursday 20th of August 2009 01:14:03 AM
Old 08-20-2009
Users using a file

Hi

There are a lot of users using one file.
How to find out who are all using the file at any time?

Thanks
Jeevan.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

loop through logged on users or file?

Hi I'm trying to loop through all logged on users and get their real names So I came up with this script but it doesn't work Who > userList #save logged on users to temp file while read username #loop through file do awk '{ print $1 }' | grep /etc/passwd |... (12 Replies)
Discussion started by: sixpack434
12 Replies

2. Cybersecurity

file permission/acl: 2 users with write access on 1 file...

Hello, i need some help/advice on how to solve a particular problem. these are the users: |name | group | ---------- --------------- |boss | department1 | |assistant | department1 | |employee | department1 | |spy | department2 | this is the... (0 Replies)
Discussion started by: elzalem
0 Replies

3. UNIX for Advanced & Expert Users

same file being opened by two users at a time

I want to avoid a situation where because two users simultaneously open a file and modify and save, leaving the original file in mess. Is there a way in UNIX to warn a user if that particular file is already being used by another user. Thanks in advance (3 Replies)
Discussion started by: paresh n doshi
3 Replies

4. UNIX for Dummies Questions & Answers

Apending a list of users to a file

Hi guys, As part of my UNIx homework, I have created a file named dir_listing, which is based within directories. This file already contains the root directory root_dir. I am now required to append a list of users to dir_listing. i can obtain the list by simply typing users, but how would I... (1 Reply)
Discussion started by: Jimmy_c
1 Replies

5. Solaris

To restrict the users not to change the passwords for NIS users

Hi All, How to restrict the NIS users not to change their passwords in for NIS users?? and my NIS user is unable to login to at client location what could be the problem for this ? Any body can help me. Thanks in advance. (1 Reply)
Discussion started by: Sharath Kumar
1 Replies

6. Shell Programming and Scripting

Mail to a file of users

How can I send the same form email to multiple users, but with variances like their username, password, and login host or environment? At work we use vdi's which are extremely slow - especially opening Outlook to open a form letter saved on Sharepoint. I was wondering if I could put the users'... (2 Replies)
Discussion started by: MaindotC
2 Replies

7. Shell Programming and Scripting

checking users input to file

ok im sorta stuck on this, The user enters a car model and it has to check it in a text file in the current directory. If the car model is not in the file, user has to enter another model This is what i have so far read -p "Enter a car model: " car1 grep -w $car1=$(cat carMakes.txt)... (3 Replies)
Discussion started by: gangsta
3 Replies

8. Red Hat

Showing all users in 'users' and 'top' commands

Hi All, I work in a multi user environment where my school uses Red Hat Linux server. When I issue commands such as "top" or "users", I get to see what others are doing and what kinds of applications they are running (even ps -aux will give such information). "users" will let me know who else is... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies

9. Shell Programming and Scripting

Create multiple users with individual passwords to users

hi, i am new to shell scripts i write a shell script to create multiple users but i need to give passwords to that users while creating users, command to write this script (1 Reply)
Discussion started by: DONFOX
1 Replies

10. Shell Programming and Scripting

To exclude users in password file

Hi, I want to exclude the users below 500 in the password file with the below script. #!/bin/bash # get date in dd-mm-yyyy format NOW=$(date +"%d-%m-%Y") exec > "/root/SYSINFO/User_details_`uname -n`_$NOW.txt" cut -d: -f1 /etc/passwd > /tmp/pass.txt && for i in `cat /tmp/pass.txt`;... (2 Replies)
Discussion started by: gsiva
2 Replies
HAL-IS-CALLER-LOCKED-OUT(1)				      General Commands Manual				       HAL-IS-CALLER-LOCKED-OUT(1)

NAME
hal-is-caller-locked-out - determine if a caller is locked out SYNOPSIS
hal-is-caller-locked-out [options] DESCRIPTION
hal-is-caller-locked-out determines if a specific caller is locked out of a specific D-Bus interface on a specific device. For more infor- mation about both the big picture and specific HAL properties, refer to the HAL spec which can be found in /usr/local/share/doc/hal/spec/hal-spec.html depending on the distribution. OPTIONS
The following options are supported: --udi The UDI (Unique Device Identifier) of the device object. --interface The name of the interface to check for. --caller The unique D-Bus name on the system bus of the caller. --help Print out usage. --version Print the version. RETURN VALUE
If the given process is locked out or an error occurs, this program exits with exit code 1. Otherwise it exits with exit code 0. Note that only the super user (root) or other privileged users can use this tool. BUGS
Please send bug reports to either the distribution or the HAL mailing list, see http://lists.freedesktop.org/mailman/listinfo/hal on how to subscribe. SEE ALSO
hald(8), lshal(1), hal-get-property(1), hal-set-property(1), hal-find-by-property(1), hal-find-by-capability(1) AUTHOR
Written by David Zeuthen <david@fubar.dk> with a lot of help from many others. HAL-IS-CALLER-LOCKED-OUT(1)
All times are GMT -4. The time now is 04:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy