05-29-2010
Even the admin in my case does not know how to find out. Which logs would tell him this information?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all. I think I have a big problem. the /etc/passwd file got overwritten and now I can't su as root when I telnet into this machine. I am running yp on a different machine and tried to push the passwd file out to all machines, but it didn't help. I noticed that there is a passwd file in... (12 Replies)
Discussion started by: Moca4444
12 Replies
2. UNIX for Dummies Questions & Answers
I have a server that is on solaris 9 and openwin is locked. The mouse won't respond and I can't seem to kill the openwin pid on the server.. Is there a command line to kill openwin from the server side? (2 Replies)
Discussion started by: jphorton
2 Replies
3. AIX
good morning
just a confirmation, to lock a password for a user, we must to write 0 for password min age and password max age option ?
thank you (0 Replies)
Discussion started by: pascalbout
0 Replies
4. HP-UX
:confused:
I have an K580 HP server.
All I did was change the IP address on the NIC and now I can't telnet into it.
I can ping, but no telnet.
Also, it won't boot if the console monitor is plugged in.
ANY IDEAS??? (1 Reply)
Discussion started by: ncmurf00
1 Replies
5. AIX
we have a user name "Test1" that account is alwyas locked out. The user has been used to many servers to ftp a file from the main server. i already increase the MaxStartups to 99. And still after how many days account will locked. (3 Replies)
Discussion started by: invinzin21
3 Replies
6. Programming
Hi,
I am working with sun solaris sparc 5.9 and I want to use the serial port in my application..when I am trying to use it.it is throwing the message--
So how can I check the serial port is locked or not and how can I unlock the port??
Thanks in advance. (1 Reply)
Discussion started by: smartgupta
1 Replies
7. AIX
hi,
how to unlock the user,,, i want the command to unlock the user orbit..... (2 Replies)
Discussion started by: udtyuvaraj
2 Replies
8. UNIX for Dummies Questions & Answers
Here's the story:
I had an LaCie Internet Space (1TB)... Recently the network (or software)
functions of the device just died... I tried to access it via different routers,
checking UTP, tried everything possible to rule out physical damage to
components.
Then i got the disk out of its... (2 Replies)
Discussion started by: SentinelX
2 Replies
9. UNIX for Advanced & Expert Users
Hi, there is a password lock problem happening everyday at one of the servers(GNU RH-Linux;kernel release version 2.6.18-308.20.1.el5) for a particular user id which is an appln user id. Everyday it needs to be reset by the owner/unix user mgmt team. My suspicion was if any cronjob was running... (3 Replies)
Discussion started by: sam_bd
3 Replies
LEARN ABOUT SUNOS
_lwp_mutex_lock
_lwp_mutex_lock(2) System Calls _lwp_mutex_lock(2)
NAME
_lwp_mutex_lock, _lwp_mutex_unlock, _lwp_mutex_trylock - mutual exclusion
SYNOPSIS
#include <sys/lwp.h>
int _lwp_mutex_lock(lwp_mutex_t *mp);
int _lwp_mutex_trylock(lwp_mutex_t *mp);
int _lwp_mutex_unlock(lwp_mutex_t *mp);
DESCRIPTION
These functions serialize the execution of lightweight processes. They are useful for ensuring that only one lightweight process can exe-
cute a critical section of code at any one time (mutual exclusion). LWP mutexes must be initialized to 0 before use.
The _lwp_mutex_lock() function locks the LWP mutex pointed to by mp. If the mutex is already locked, the calling LWP blocks until the mutex
becomes available. When _lwp_mutex_lock() returns, the mutex is locked and the calling LWP is the "owner".
The _lwp_mutex_trylock() function attempts to lock the mutex. If the mutex is already locked it returns with an error. If the mutex is
unlocked, it is locked and _lwp_mutex_trylock() returns.
The _lwp_mutex_unlock() function unlocks a locked mutex. The mutex must be locked and the calling LWP must be the one that last locked the
mutex (the owner). If any other LWPs are waiting for the mutex to become available, one of them is unblocked.
RETURN VALUES
Upon successful completion, 0 is returned. A non-zero value indicates an error.
ERRORS
If any of the following conditions are detected, _lwp_mutex_lock(), _lwp_mutex_trylock(), and _lwp_mutex_unlock() fail and return the cor-
responding value:
EINVAL The mp argument points to an invalid LWP mutex.
EFAULT The mp argument points to an illegal address.
If any of the following conditions occur, _lwp_mutex_trylock() fails and returns the corresponding value:
EBUSY The mp argument points to a locked mutex.
SEE ALSO
intro(2), _lwp_cond_wait(2)
SunOS 5.10 30 Jul 1992 _lwp_mutex_lock(2)