Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Difference between : Locked User Account & Disabled User Accounts in Linux ? Post 302284895 by avklinux on Friday 6th of February 2009 12:42:43 PM
Old 02-06-2009
Otheus,

Thanks For ur reply.

-AVKlinux
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

[LINUX] Creating new user accounts

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

Locked out of Mandrake 9.1 user account

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

need script for locked and unused user accounts in /export/home directory

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

single user mode - user accounts passwords

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

Particular user account shouldn't be locked after entering wrong passwd specfic no. times

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

New To UNIX - Need Script to create report of user & group accounts

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

How to change passwords for User accounts on multiple UNIX/Linux machines remotely?

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

Finding AIX user accounts expired or locked

// 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

User account get locked due to strange behaviours

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

Pam.d and make difference between AD User and local user on Linux

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
AnyEvent::XMPP::Client(3pm)				User Contributed Perl Documentation			       AnyEvent::XMPP::Client(3pm)

NAME
AnyEvent::XMPP::Client - XMPP Client abstraction SYNOPSIS
use AnyEvent::XMPP::Client; use AnyEvent; my $j = AnyEvent->condvar; my $cl = AnyEvent::XMPP::Client->new; $cl->start; $j->wait; DESCRIPTION
This module tries to implement a straight forward and easy to use API to communicate with XMPP entities. AnyEvent::XMPP::Client handles connections and timeouts and all such stuff for you. For more flexibility please have a look at AnyEvent::XMPP::Connection and AnyEvent::XMPP::IM::Connection, they allow you to control what and how something is being sent more precisely. METHODS
new (%args) Following arguments can be passed in %args: debug => 1 This will install callbacks which produce debugging output. This will require XML::Twig to be installed (as it is used for pretty printing the "XML" output). add_account ($jid, $password, $host, $port, $connection_args) This method adds a jabber account for connection with the JID $jid and the password $password. $host and $port can be undef and their default will be the domain of the $jid and the default for the "port" parameter to the constructor of AnyEvent::XMPP::Connection (look there for details about DNS-SRV lookups). $connection_args must either be undef or a hash reference to additional arguments for the constructor of the AnyEvent::XMPP::IM::Connection that will be used to connect the account. Returns 1 on success and undef when the account already exists. start () This method initiates the connections to the XMPP servers. update_connections () This method tries to connect all unconnected accounts. disconnect ($msg) Disconnect all accounts. remove_accounts ($reason) Removes all accounts and disconnects. $reason should be some descriptive reason why this account was removed (just for logging purposes). remove_account ($acc, $reason) Removes and disconnects account $acc (which is a AnyEvent::XMPP::IM::Account object). The reason for the removal can be given via $reason. set_accounts (%$accounts) Sets the set of (to be connected) accounts. $accounts must be a hash reference which contains the JIDs of the accounts as keys and the values for $password, $domain, $port and $connection_args as described in "add_account" above. If the account is not yet connected it will be connected on the next call to "update_connections" and if an account is connected that is not in $accounts it will be disconnected. send_message ($msg, $dest_jid, $src, $type) Sends a message to the destination $dest_jid. $msg can either be a string or a AnyEvent::XMPP::IM::Message object. If $msg is such an object $dest_jid is optional, but will, when passed, override the destination of the message. NOTE: $dest_jid is transformed into a bare JID and the routing is done by the conversation tracking mechanism which keeps track of which resource should get the message. $src is optional. It specifies which account to use to send the message. If it is not passed AnyEvent::XMPP::Client will try to find an account itself. First it will look through all rosters to find $dest_jid and if none found it will pick any of the accounts that are connected. $src can either be a JID or a AnyEvent::XMPP::IM::Account object as returned by "add_account" and "get_account". $type is optional but overrides the type of the message object in $msg if $msg is such an object. $type should be 'chat' for normal chatter. If no $type is specified the type of the message defaults to the value documented in AnyEvent::XMPP::IM::Message (should be 'normal'). get_account ($jid) Returns the AnyEvent::XMPP::IM::Account account object for the JID $jid if there is any such account added. (returns undef otherwise). get_accounts () Returns a list of AnyEvent::XMPP::IM::Accounts. get_connected_accounts () Returns a list of connected AnyEvent::XMPP::IM::Accounts. Same as: grep { $_->is_connected } $client->get_accounts (); find_account_for_dest_jid ($jid) This method tries to find any account that has the contact $jid on his roster. If no account with $jid on his roster was found it takes the first one that is connected. (Return value is a AnyEvent::XMPP::IM::Account object). If no account is connected it returns undef. get_contacts_for_jid ($jid) This method returns all contacts that we are connected to. That means: It joins the contact lists of all account's rosters that we are connected to. get_priority_presence_for_jid ($jid) This method returns the presence for the contact $jid with the highest priority. If the contact $jid is on multiple account's rosters it's undefined which roster the presence belongs to. set_presence ($show, $status, $priority) This sets the presence of all accounts. For a meaning of $show, $status and $priority see the description of the %attrs hash in "send_presence" method of AnyEvent::XMPP::Writer. EVENTS
In the following event descriptions the argument $account is always a AnyEvent::XMPP::IM::Account object. All events from AnyEvent::XMPP::IM::Connection are forwarded to the client, only that the first argument for every event is a $account object. Aside fom those, these events can be registered on with "reg_cb": connected => $account This event is sent when the $account was successfully connected. connect_error => $account, $reason This event is emitted when an error occured in the connection process for the account $account. error => $account, $error This event is emitted when any error occured while communicating over the connection to the $account - after a connection was established. $error is an error object which is derived from AnyEvent::XMPP::Error. It will reveal human readable information about the error by calling the "string ()" method (which returns a descriptive error string about the nature of the error). added_account => $account Called whenever an account is added. removed_account => $account Called whenever an account is removed. AUTHOR
Robin Redeker, "<elmex at ta-sa.org>", JID: "<elmex at jabber.org>" COPYRIGHT &; LICENSE Copyright 2007, 2008 Robin Redeker, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-01-23 AnyEvent::XMPP::Client(3pm)
All times are GMT -4. The time now is 04:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy