11-03-2005
list of active and locked OS accounts
Thanks ! I'll try that ...
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file that contains a list of names.
I need a loop that creates user accounts to all the names in the list
where username = names in file
password = username
Another question: how can i validate that a particular var is of 6 characters length
I need an if statement that will... (8 Replies)
Discussion started by: Laila Saif
8 Replies
2. Solaris
Hi all,
i have to need one script:
1. it will capture the unused user accounts in /export/home directory.
2. it will capture the locked user accounts in /export/home directory.
Note: locked accounts will show in /etc/passwd like /bin/false --> (instead of ksh it will show false)
the... (1 Reply)
Discussion started by: krishna176
1 Replies
3. UNIX for Advanced & Expert Users
Hi,
I want to list out all files which are lock by some process.
ex- ~/critical
I want to list all files in critical directory which has been locked.
I need this very badly. Any suggestion highly appriciated.
Regards,
Ashok (1 Reply)
Discussion started by: ashokd001
1 Replies
4. UNIX for Dummies Questions & Answers
Thanks
AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies
5. HP-UX
Actually.I have 2 questions to ask.
1. how to list locked account in hp-ux?
2.how to list locked account in linux(redhat)?
I can use the command "passwd -S -username" to list a account who were locked .
who knows how to list all locked accounts with one command.
Thanks!! (5 Replies)
Discussion started by: robbiezr
5 Replies
6. UNIX for Dummies Questions & Answers
What is the command to list all UNIX system login accounts?
What is the command to list all system password parameters for UNIX(minimum length, complexity,age, invalid lockout attempts, expiration date , user inactivity lockout) (1 Reply)
Discussion started by: ma466
1 Replies
7. UNIX for Dummies Questions & Answers
Hi
How do i list all locked account in my linux distributiion
I have tried
passwd -S -a
but it seems to not working .
My distribution details.
# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: OracleVMserver... (3 Replies)
Discussion started by: pinga123
3 Replies
8. Shell Programming and Scripting
// AIX 6.1
In need of finding which AIX user accounts will be expired and are
locked.
I have placed the following parameters under /etc/security/user... (1 Reply)
Discussion started by: Daniel Gate
1 Replies
LEARN ABOUT DEBIAN
grab-account
GRAB-ACCOUNT(8) chiark utilities GRAB-ACCOUNT(8)
NAME
grab-account - add new account synchronised to remote system
SYNOPSIS
grab-account local-user source [remote-user]
DESCRIPTION
grab-account reconfigures sync-accounts to start synchronising a specified local user (which may not yet exist) from a specified remote
system, and then invokes sync-accounts once to synchronise from that source.
/etc/sync-accounts/createuser should contain a addhere line in the appropriate source section (ie, after host source). grab-account adds a
user local-user [remote=remote-user]
directive just before addhere and runs sync-accounts source.
EXIT STATUS
0 All went well.
any other
There were problems.
FILES
/etc/sync-accounts; See also sync-accounts(8).
ENVIRONMENT
See sync-accounts(8).
BUGS
There is no locking of /etc/sync-accounts so do not invoke grab-account from a script, or more than once at a time by hand. Do not edit
/etc/sync-accounts by hand and also simultaneously run grab-account.
The mechanism involving addhere is suboptimal. This should be done with an include feature in sync-accounts, so that grab-account does not
have to edit a configuration file that really belongs to the sysadmin.
AUTHOR
grab-account and this manpage are part of the sync-accounts package which was written by Ian Jackson <ian@chiark.greenend.org.uk>. They
are Copyright 1999-2000,2002 Ian Jackson <ian@davenant.greenend.org.uk>, and Copyright 2000-2001 nCipher Corporation Ltd.
The sync-accounts package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 3, or (at your option) any later version.
This is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, consult the Free Software Foundation's
website at www.fsf.org, or the GNU Project website at www.gnu.org.
SEE ALSO
sync-accounts(8), sync-accounts(5), passwd(5)
Greenend 14th July 2002 GRAB-ACCOUNT(8)