Sponsored Content
Full Discussion: User password reset
Operating Systems Linux Red Hat User password reset Post 302956742 by frank_rizzo on Friday 2nd of October 2015 08:43:17 PM
Old 10-02-2015
Try this instead so the password is not logged to the history.

Code:
passwd --stdin username</tmp/secret

 

10 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

I would like to reset my password

Hi Moderators, I forgot the login password and am accessing the forum page through save form password credentials. Could you please reset my password ? Thanks, :) (5 Replies)
Discussion started by: matrixmadhan
5 Replies

2. Shell Programming and Scripting

Is it possible to write a script to reset user's password?

Is there anyway that I can reset user's password using a script/ssh command? ie. emulate passwd command with a default password of abc123 or even null value? > ssh server1 pwdadm user1 < /dev/null or > ssh server1 passwd user1 < /dev/null neither worked for me.. but you know what I... (1 Reply)
Discussion started by: pdtak
1 Replies

3. Solaris

unable to reset user password

hi, i am unable to reset one of my server user password. whenever i make a "passwd username" i get the following error ======================================== New Password: Re-enter new Password: Permission denied ======================================== please advise.thanks... (6 Replies)
Discussion started by: cromohawk
6 Replies

4. Solaris

LDAP user password reset script

Hey all, I'm looking for a script to auto-generate a password for users that forget their password. Currently, we are using a perl script (with cgi-bin) where users update their password, but would like to add to this and make it so that the users can also request a password reset and a... (1 Reply)
Discussion started by: em23
1 Replies

5. UNIX for Advanced & Expert Users

Password reset

Can anyone tell me if it is possible to have cron change your password every month from an encrypted list of passwords?I have several servers I hardly ever go near but when I do the password has always expired and it takes a long time to get the administrators to reset it for me. I was thinking... (4 Replies)
Discussion started by: steadyonabix
4 Replies

6. Shell Programming and Scripting

how to Remote Reset Password for User ?

Hello, everyone i have a little scenario and would like help , SCENARIO OS : SunOS 5.10 Shell: KSH UserName 1 connects to Server1 .He should run a little command or somthing to server2 that Resets the password of user2. i have tried this : ssh user@server2 '/usr/local/bin/sudo passwd... (0 Replies)
Discussion started by: shatztal
0 Replies

7. Solaris

how to Remote Reset Password for User ?

Hello, everyone i have a little scenario and would like help , SCENARIO OS : SunOS 5.10 Shell: KSH UserName 1 connects to Server1 .He should run a little command or somthing to server2 that Resets the password of user2. i have tried this : ssh user@server2 '/usr/local/bin/sudo passwd... (2 Replies)
Discussion started by: shatztal
2 Replies

8. OS X (Apple)

Reset Password

So my dad bought an iMac from my mom, but she does not know the admin password anymore. I read on the apple forums that I should look here for help on resetting the password. The iMac runs OSX 10.6.3. I would really appreciate any help. Thanks (3 Replies)
Discussion started by: PhsycoDragon
3 Replies

9. UNIX for Beginners Questions & Answers

Giving password reset access to non-root user, in LDAP

Hi, We have two LDAP servers. Whenever we get a ticket to reset the password, we login to LDAP primary server and reset the password. For below example, I logged into primary LDAP server and resetting password to john to Welcome123# We are giving this work to tier-1 team, so that they can reset... (1 Reply)
Discussion started by: ron323232
1 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
FTPASSWD(8)							 Debian GNU/Linux						       FTPASSWD(8)

NAME
ftpasswd - manipulates ProFTPD authentication files SYNOPSIS
ftpasswd --help|-h|--version ftpasswd --hash [ --des|--md5 ] [ --stdin ] [ --use-cracklib[=path] ] ftpasswd --passwd [ -F|--force ] [ --file=filename ] [--gecos=string ] [ --gid=gid ] [ --des | --md5 ] [ --not-system-password ] [ --stdin ] [ --use-cracklib[=path] ] --home=path ftpasswd --group [ -F|--force ] [ --enable-group-passwd ] [ --file=filename ] [ -m|--member ] [ --des|--md5 ] [ --stdin ] [ --use-cracklib[=path] ] --gid=gid ftpasswd --passwd --change-password --name=username DESCRIPTION
ftpasswd is a Perl script which can be used to manipulate the password and group files suitable for use with ProFTPD AuthUserFile and Auth- GroupFile configuration directives. The idea is somewhat similar to Apache's htpasswd program. Required options are --passwd, --group, or --hash. These specify whether ftpasswd is to operate on a passwd(5) format file, on a group(5) format file, or simply to generate a password hash, respectively. If used with --passwd, ftpasswd creates a file in the passwd(5) format, suitable for use with proftpd's AuthUserFile configuration direc- tive. You will be prompted for the password to use of the user, which will be encrypted, and written out as the encrypted string. By default, using --passwd will write output to "./ftpd.passwd", If used with --hash, ftpasswd generates a hash of a password, as would appear in an AuthUserFile. The hash is written to standard out. This hash is suitable for use with proftpd's UserPassword directive. If used with --group, ftpasswd creates a file in the group(5) format, suitable for use with proftpd's AuthGroupFile configuration direc- tive. By default, using --group will write output to "./ftpd.group". OPTIONS
-F, --force If the password or group file be used already exists, delete it and write a new one. --file=filename Write output to specified file (password or group files), rather than default one. --gecos=string Descriptive string for the given user (usually the user's full name). --gid=gid Set primary group ID for this user (optional, will default to given --uid value if absent) when --passwd is specified. --uid=uid numerical group ID. -h, --help, --version Show usage and version of the program. --home=path Set the home directory for the user (required). --des, --md5 Use the DES or MD5 algorithm for encrypting passwords. The latter is the default. --name=username, --name=groupname Name of the user account or group (required). If the name does not exist in the specified output-file, an entry will be created for it. Otherwise, the given fields will be updated. --shell=path Shell for the user (required). Recommended: /bin/false --change-password Update only the password field for a user. This option requires that the --name option be used, but no others. This also double- checks the given password against the user's current password in the existing passwd file, and requests that a new password be given if the entered password is the same as the current password. --not-system-password Double-checks the given password against the system password for the user, and requests that a new password be given if the entered password is the same as the system password. This helps to enforce different passwords for different types of access. --stdin Read the password directly from standard in rather than prompting for it. This is useful for writing scripts that automate use of ftpasswd. --use-cracklib[=path] Causes ftpasswd to use Alec Muffet's cracklib routines in order to determine and prevent the use of bad or weak passwords. The optional path to this option specifies the path to the dictionary files to use -- default path is /usr/lib/cracklib_dict. This requires the Perl Crypt::Cracklib module to be installed on your system. --enable-group-passwd Prompt for a group password. This is disabled by default, as group passwords are not usually a good idea at all. -m username, --member=username user to be a member of the group. This argument may be used This argument may be used multiple times to specify the full list of users to be members of this group. BUGS
No known bugs at this time. If you discover any bugs, please contact the author. AUTHOR
This program has been written by TJ Saunders <tj@castaglia.org> as a contributed software for ProFTPD. SEE ALSO
proftpd(8), passwd(5), group(5), ftpusers(8), ftpstats(8), proftpd.conf(5) CREDITS
This manual page was written by Francesco Paolo Lovergine <frankie@debian.org>. Last update Thu Mar 10 16:45:27 UTC 2011 by Mahyuddin Susanto <udienz@ubuntu.com> for the Debian GNU/Linux system (but may be used by others). 1.1.2 October 19, 2002 FTPASSWD(8)
All times are GMT -4. The time now is 09:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy