02-06-2009
The Linux passwd command seems to draw a distinction. It has -l and -u to lock and unlock an account. It does this by adding a !! to the front of the encrypted password to lock, and removing that !! to unlock. There is a -d for disable and it replaces the encrypted password with just a !! and obviously this is not so easily reversible.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've had Linux when I was young, on one of our first computers and learned it pretty quickly... However, I've been working on Windows for about 7 years now and just made the switch back to Linux, Mandrake 9.1. So I have some problem with creating new user accounts. I could create one, but once I... (3 Replies)
Discussion started by: Arendo
3 Replies
2. Linux
Hi all,
I've been using linux/unix now only for a couple of months and was doing ok until about 30 minutes ago...
I needed to reboot into my windows 2000 partition, so, in a terminal I typed:
shutdown -r now
which duly rebooted the PC for me. On getting to the OS selection screen I... (5 Replies)
Discussion started by: alarmcall
5 Replies
3. 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
4. UNIX for Dummies Questions & Answers
hello ppl, someone must be able to help with this --> I have an old NCR tower 32 with an ADDS terminal running a unix version 020102 (Im not sure if thats correct but its unix for sure). I have no user names and no passwords and need to login to read a tape. Is there any way to do that? I hear... (3 Replies)
Discussion started by: orestis
3 Replies
5. Solaris
Hi all
In my system we have implemented user lockout feature after 3 failure attempt if he tries to login directly or if he run the any command through sudo and enter wrong password thrice. Now I have requirement in which particular user account shouldn't be locked when he run the command... (1 Reply)
Discussion started by: sb200
1 Replies
6. Shell Programming and Scripting
Hi, I'm new to the world of UNIX and have been asked to create a complex script (at least complex to me:confused:) for AIX UNIX to create a report of all the users on the server including server, user, UID, groups, GID, etc.
Found a script using lsuser, but the output is still lacking. 2 things I... (2 Replies)
Discussion started by: panthur
2 Replies
7. Shell Programming and Scripting
Hello Experts,
Need some direction on creating shell script for following environment:
We have about 20 people in the team working as Oracle DBA's (sysdba's and appdba's). Total Servers which is a mix of Unix and Linux are 200. We do not have Root user access on any of the servers and... (3 Replies)
Discussion started by: sha2402
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
9. Solaris
I am facing strange problem where after three failed login attempt user password must be locked. Actually what is happening, when I take the putty session of the server & enter user name on the prompt at the login prompt & then press enter to enter the password at this time when I checked the... (10 Replies)
Discussion started by: sb200
10 Replies
10. UNIX for Advanced & Expert Users
Hello,
i configured rhel linux 6 with AD directory to authorize windows users to connect on the system and it works.
i have accounts with high privileges (oracle for example) if an account is created on the AD server i would to block him.
I looked for how to do, for the moment all the... (3 Replies)
Discussion started by: vincenzo
3 Replies
LEARN ABOUT DEBIAN
ledgersmb::dbobject::account
LedgerSMB::DBObject::Account(3pm) User Contributed Perl Documentation LedgerSMB::DBObject::Account(3pm)
NAME
LedgerSMB::DBObject::Account - Base class for chart of accounts entries
SYNOPSYS
This class contains methods for managing chart of accounts entries (headings and accounts).
INERITS
LedgerSMB::DBObject
METHODS
save()
This method saves the chart of accounts entry.
The hash component of the object may contain an id attribute, used to overwrite an account if that one exists.
Hash entries Used:
id: (optional): If set, overwrite existing account. accno: the text used to specify the account number description: Text to describe
the account category: A = asset, L = liability, Q = Equity, I = Income, E = expense gifi_accno: The GIFI account entry control code
heading: (Optional) The integer representing the heading.id desired contra: If true, the account balances on the opposite side. tax:
If true, is a tax account link: a list of strings representing text box identifier.
get()
This method gets a chart of accounts entry. It requires that the $account->{id} value must be properly set.
check_transactions()
Returns true if the account has transactions, false if not. Also sets the $account->{has_transactions} value to the return value.
$account->{id} must be set.
is_recon
Returns true if is set up for reconciliation. False otherwise.
delete()
Attempts to delete the account. This will NOT succeed if the account is referenced in any way by any transactions, credit accounts,
etc.
$account->{id} must be set.
list()
Returns a list of all accounts.
generate_links()
A mostly-private method for generating and checking whether link data is valid.
This is usually done (automatically) in preparation for saving the information to the database.
list_headings
Returns a list of account_heading's. No inputs required.
SEE ALSO
LedgerSMB::DBObject, LedgerSMB
COPYRIGHT
Copyright (c) 2009, the LedgerSMB Core Team. This is licensed under the GNU General Public License, version 2, or at your option any later
version. Please see the accompanying License.txt for more information.
perl v5.14.2 2012-03-25 LedgerSMB::DBObject::Account(3pm)