12-08-2008
where I can set login fail ,lock time
where I can set login fail ,lock time
thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, there. I am using Red Hat 9 to run my web server. Recently I found lots tempts from different IP addresses tried to login into my system. I am not sure if they are the same person or not. Since this server is only for web hosting purpose for couple of my friends and myself, so it is very easy... (2 Replies)
Discussion started by: HOUSCOUS
2 Replies
2. Solaris
I have a Sol system. The lock timeout is default 15 minutes. I tried to make it longer but cannot by
lock -t timeout
Anyon can tell me the cmd in solai for this please.
A thank in advance (2 Replies)
Discussion started by: part-time-user
2 Replies
3. Solaris
Dears,
I want to lock the user's account after consecutive unsuccessful login attempts, how can I do this ? (1 Reply)
Discussion started by: mlsun
1 Replies
4. SuSE
Hi ,
Can anyone give ur answer for
How to lock the account after consecutive unsuccessful login in SUSE Enterprise 10.2 Linux (1 Reply)
Discussion started by: karthik04
1 Replies
5. HP-UX
Hi,
I am a hobbyist with a very old machine I have been trying to get up and running. I have an HP 9000/C240 with 1G of RAM and 3-8.5G HD. It is configured with 1G SWAP/DUMP. Currently only one drive is in use via LVM. I have not gotten around to creating more volumes just yet.
It is running... (11 Replies)
Discussion started by: Dirk_
11 Replies
6. UNIX for Advanced & Expert Users
Hello,
Not sure if this is the right place to post it but..
I have a requirement to set Caps lock and/or Num lock on and off via a Cron job.
Now I have working scripts that do the job, but as soon as X starts up the jobs no longer run (well they appear to, but Caps lock and Num lock do not... (0 Replies)
Discussion started by: autotuner
0 Replies
7. Red Hat
Hello all,
If anyone has time, I have a few questions:
How do I do the following in Linux. We are using Red Hat and Oracle Enterprise Linux, which is based on Red Hat too.
1. How to lock the account after a few (like 3) invalid password attempts?
2. How do you lock a screen after 30... (1 Reply)
Discussion started by: nstarz
1 Replies
8. HP-UX
hi, i want to ask about why after im log in from CDE, it appears a pop up stated that i must go to Failsafe Session from the login screen's option menu and log in..... can anyone help??:) (2 Replies)
Discussion started by: ameer88
2 Replies
9. Red Hat
Hi all,
I got error, when i logged with webmin. please show me the way how can i login with webmin (4 Replies)
Discussion started by: mastansaheb
4 Replies
10. Solaris
Hi, I need some help regarding login issue. I have to use 8 server. The username is same at all. But when i was trying to access for particular 4 server. I got access denied error. Please help ....
Note: If i change my password by using root user. then I can able to enter into the same server.... (6 Replies)
Discussion started by: Mani_apr08
6 Replies
LEARN ABOUT FREEBSD
pthread_spin_unlock
PTHREAD_SPIN_LOCK(3) BSD Library Functions Manual PTHREAD_SPIN_LOCK(3)
NAME
pthread_spin_lock, pthread_spin_trylock, pthread_spin_unlock -- lock or unlock a spin lock
LIBRARY
POSIX Threads Library (libpthread, -lpthread)
SYNOPSIS
#include <pthread.h>
int
pthread_spin_lock(pthread_spinlock_t *lock);
int
pthread_spin_trylock(pthread_spinlock_t *lock);
int
pthread_spin_unlock(pthread_spinlock_t *lock);
DESCRIPTION
The pthread_spin_lock() function will acquire lock if it is not currently owned by another thread. If the lock cannot be acquired immedi-
ately, it will spin attempting to acquire the lock (it will not sleep) until it becomes available.
The pthread_spin_trylock() function is the same as pthread_spin_lock() except that if it cannot acquire lock immediately it will return with
an error.
The pthread_spin_unlock() function will release lock, which must have been previously locked by a call to pthread_spin_lock() or
pthread_spin_trylock().
RETURN VALUES
If successful, all these functions will return zero. Otherwise, an error number will be returned to indicate the error.
None of these functions will return EINTR.
ERRORS
The pthread_spin_lock(), pthread_spin_trylock() and pthread_spin_unlock() functions will fail if:
[EINVAL] The value specified by lock is invalid or is not initialized.
The pthread_spin_lock() function may fail if:
[EDEADLK] The calling thread already owns the lock.
The pthread_spin_trylock() function will fail if:
[EBUSY] Another thread currently holds lock.
The pthread_spin_unlock() function may fail if:
[EPERM] The calling thread does not own lock.
SEE ALSO
pthread_spin_destroy(3), pthread_spin_init(3)
HISTORY
The pthread_spin_lock(), pthread_spin_trylock() and pthread_spin_unlock() functions first appeared in N:M Threading Library (libkse, -lkse)
in FreeBSD 5.2, and in 1:1 Threading Library (libthr, -lthr) in FreeBSD 5.3.
BUGS
The implementation of pthread_spin_lock(), pthread_spin_trylock() and pthread_spin_unlock() is expected to conform to IEEE Std 1003.2
(``POSIX.2'').
BSD
January 22, 2004 BSD