Sponsored Content
Full Discussion: how to change password?
Contact Us Post Here to Contact Site Administrators and Moderators how to change password? Post 302199430 by gobi on Monday 26th of May 2008 10:46:30 PM
Old 05-26-2008
misspelling

I believe the administrator meant gopi will soon be banned
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Change password by pushing encrypted password to systems

I'm tasked to change a user's password on multiple Linux systems (RH v3). I though copying the encrypted password from one Linux /etc/shadow file to another would work but I was wrong. The long term solution is to establish an openLDAP Directory service, but for now I'm stuck with a manual... (1 Reply)
Discussion started by: benq70
1 Replies

2. HP-UX

How I Can Change The Password

I need change the password a two user. what're the commands to complete this requerement (4 Replies)
Discussion started by: bobangarcia
4 Replies

3. UNIX for Advanced & Expert Users

change password ??

Hey all, How to reset the password to a given user id ?? I used passwd commands, but now for that user there are 2 passwords. i.e the old and new passwords. as : passwd mqcfaostt oldpassword : pass1 new password : pass2 Confirm new password : pass2 Now, su - mqcdaostt is working for... (4 Replies)
Discussion started by: varungupta
4 Replies

4. HP-UX

change password in one go

Hi all, I need to change the password of any user in one go. For example in Linux we have two options :- (echo "username:password") | chpasswd or echo $PASS | passwd $USER --stdin This changes the password without prompting. Actually, I need to make a script which adds a user and... (0 Replies)
Discussion started by: vikas027
0 Replies

5. Shell Programming and Scripting

change password in one go

Hi all, I need to change the password of any user in one go. For example in Linux we have two options :- (echo "username:password") | chpasswd or echo $PASS | passwd $USER --stdin This changes the password without prompting. Actually, I need to make a script which adds a user and... (5 Replies)
Discussion started by: vikas027
5 Replies

6. Shell Programming and Scripting

how to change root password using shell script with standard password

Hi Friends. I am new to scripting now i want to change the root password using the script with standard password. which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Discussion started by: kurva
2 Replies

7. Solaris

Solaris 8 - Asks for current root password when trying to change root password.

Hello All, I have several solaris boxes running Solaris 8. When changing root passwords on them, all will simply ask for the new root password to change and of course to re-type the new password. One of the systems however asks for the existing root password before it will display the new password... (8 Replies)
Discussion started by: tferrazz
8 Replies

8. UNIX for Dummies Questions & Answers

Help with Password Change

When I am trying to change the password of my account. I could see the following error: passwd: Changing password for ramu Enter existing login password: passwd: Sorry: less than 14 days since the last change. Permission denied Is anybody out there who can help me in changing my password? (4 Replies)
Discussion started by: bobby1015
4 Replies

9. AIX

Change password to blank password

AIX 6.1 User has a password set. It needs to be a blank password (no password). smit passwd enter user name at change password and confirm password, just press ENTER Afterwards, I could not log on with blank password or with original password. How can I change the password to a... (2 Replies)
Discussion started by: landog
2 Replies

10. Forum Support Area for Unregistered Users & Account Problems

Password sent via reset password email is 'weak' and won't allow me to change my password

I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login. Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies
dansguardian(3pm)					User Contributed Perl Documentation					 dansguardian(3pm)

NAME
Dansguardian - Simple module for administer dansguardian's control files. SYNOPSIS
use Dansguardian; # Make the objet $dg using the contructor new() my $dg = Dansguardian->new(dir => '/etc/dansguardian', group_dir => '/etc/dansguardian/lists'); # Save IP's banned in array my @banned_ips = $dg->get('bannediplist'); print "The IP address $_ is banned!! " foreach @banned_ips; # Add exception web site my $site = 'mogaal.com'; $dg->set(file => 'exceptionsitelist', add => $site, comment => "Is not porn site"); # Remove banned IP my $ip_free = '192.168.0.2'; $dg->remove(file => 'bannediplist', line => $ip_free); # list sites banned my @sites_banned = $dg->get('bannedsitelist'); print "The site $_ is banned!! " foreach @sites_banned; # list dansguardian's config directory and the current group directory print "Dansguardian's config directory is " . $dg->group() . " and " . $dg->dir() . " is the current group directory "; # Change group directory; $dg->group("/etc/dansguardian/chiefs"); print "Dansguardian's config directory is " . $dg->dir() . " and " . $dg->group() . " is the current group directory "; DESCRIPTION
"DansGuardian is an award winning Open Source web content filter which currently runs on Linux, FreeBSD, OpenBSD, NetBSD, Mac OS X, HP-UX, and Solaris. It filters the actual content of pages based on many methods including phrase matching, PICS filtering and URL filtering. It does not purely filter based on a banned list of sites like lesser totally commercial filters." Dansguardian Perl module is small module for administer dansguardian's content control files. It let you add, remove and get information from files control across methods. METHODS
Dansguardian perl module provides some basic methods for administer control files, with it you can add, remove and get information about IP's blocked, sites denies, IP exception and other information. new (constructor) $dg = Dansguardian->new([%attributes]) The constructor will create an object. It accepts a list of key => value pairs: dir => 'dansguardian/config/directory' If you don't set up a config directory for dansguardian the module will set up default value: /etc/dansguardian group_dir => 'path/to/group_dir/directory' Same that dir hash, and the default value is: /etc/dansguardian/lists $dg->group([$group_dir]); If group method don't have attribute: the function return array with dansguardian current group directory. Is possible change the group directory setting up $group_dir variable. $dg->dir([$config_dir]); If dir method don't have attribute: the function return array with dansguardian current config directory. Is possible change the group directory setting up $group_dir variable. $dg->set(%attributes); set method must have hash attributes. So, it accepts a list of key => value pairs: file => 'FILE' The FILE value is the file (locate inside current group dir) where you wish add information. For example: If you want add site to exception. $dg->set(file => 'exceptionsitelist', add => $site, comment => "Is not porn site"); This line will add $site to /etc/dansguardian/lists/exceptioniplist assuming that /etc/dansguardian/lists is current group directory add => 'INFORMATION' The 'add' value is the information to add in dansguardian control file. For example: If you need add one IP for bannediplist control file, then assign 'IP' value for add hash key. comment => 'OPTIONAL COMMENT' This key is optional but very usefull for reading control files. It add comment at final line, after the 'add' value. $dg->remove($file) remove method must have one hash attribute with keys: file => 'FILE' The FILE value is the file (locate inside current group dir) where you wish remove information. line => 'LINE/IP/SITE/whatever' The value of hash key line is the information for remove in dansguardian control file. For example: For remove IP address from bannediplist control file you must add 'IP' like value of line hash key. Example $dg->remove(file => 'bannediplist', line => '192.168.24.76'); $dg->get($file) Get method return an array data with information inside content control file. The incoming parameter is the control file name. Example: @ips_banned = $dg->get('bannediplist') print "The IP address $_ is banned!! " foreach @banned_ips; BUGS
The package don't have been bugs reported. If you find one notice me. AUTHOR
Alejandro Garrido Mota <garridomota@gmail.com>. COPYRIGHT AND LICENSE
Copyright (c) 2007 Alejandro Garrido Mota. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. perl v5.10.0 2009-05-10 dansguardian(3pm)
All times are GMT -4. The time now is 05:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy