Hi all
Im trying to learn the basics of bash and am struggling with some file manipulation. I am trying to run a script that once you have logged in allows you to change your password which is held (along with the corresponding username) in a different file called usernames. When i try to run my code the logon part runs fine, but the change of password is not stored. Any advice would be greatly appreciated.
Thanks
The file I am using looks like this:
---------- Post updated at 02:21 PM ---------- Previous update was at 01:29 PM ----------
Ok, is there anyway of using a sed command to change the contents of a file, as I have found that whilst my sed command changes the value on the command screen but not in the file. Is it possible to alter the value in the file?
SCO OpenServer 5.05
Has anyone ever received this error when attempting to
change/assign a user password?
#ypasswd
=======================================
yppasswd: (host name) is not running yppasswd daemon
Password request denied.
Reason: Remote password change request denied.... (2 Replies)
Hi
Someone logged on the system with a Normal user and changed the password , for this user , how can i know ? who changed the password from which terminal ?
regards
Georges (5 Replies)
Hello
im trying to change the user password with passwd
but when I enter the password it gives me this msg:
passwd: Password too short - must be at least 6 characters.
BUT the thing is that the initial password was 4 letters why now it asking for 6 ?
tnx (2 Replies)
I have 02 servers:
- Linux RHEL AS 3 (server1)
- AIX 5.2 (server2)
Running the command rsh server2 passwd derje from the server1 to change derje user password on server2, give me this error:
3004-709 Error while changing the password for "derje"
Can somebody help me ? (0 Replies)
I have two unix system A and B with same configuration.
I can use remsh from A system login to B system as root, but when I want to change the root password of B system, it ask me the old password, but i forgot it.
However, is it possible to change the B system root password? :(
Thanks a lot (3 Replies)
Friends
I want to know whether i can change the password of a user logged in thru NIS from a client machine after stopping the YP services in NIS server.
Note - The Slave server is up and running.
I tried doing this. But i got the reply "Permission Denied".
I stopped the YP services in... (7 Replies)
Hi all,
I'm having an issue resetting an Linux user password. As root, I type 'passwd <username>, enter the new password, but the user is still Access Denied. Can someone assist me in figuring this one out?
The box is running "Linux trm62 2.4.21-15.ELsmp #1 SMP Thu Apr 22 00:18:24 EDT 2004... (6 Replies)
i created 1 user . Now its passwd time period get expired.
Now how can I set password for that user. Also how can I set a condition such a way that after every 3 months user must change his passwd. (5 Replies)
Is there any way I can change the prompt which asks for the password on a UNIX system? e.g. When I login using Telnet instead of "Password" I should get "Correct Password".
Thanks,
Vineet (3 Replies)
I want to change the root password on an AIX box. What is the best method to do this so i do not get myself locked out. When I do i search the results come up for resetting the password if you are locked out.
Thanks (5 Replies)
Discussion started by: fierfek
5 Replies
LEARN ABOUT MOJAVE
kpasswdd
KPASSWDD(8) BSD System Manager's Manual KPASSWDD(8)NAME
kpasswdd -- Kerberos 5 password changing server
SYNOPSIS
kpasswdd [--addresses=address] [--check-library=library] [--check-function=function] [-k kspec | --keytab=kspec] [-r realm | --realm=realm]
[-p string | --port=string] [--version] [--help]
DESCRIPTION
kpasswdd serves request for password changes. It listens on UDP port 464 (service kpasswd) and processes requests when they arrive. It
changes the database directly and should thus only run on the master KDC.
Supported options:
--addresses=address
For each till the argument is given, add the address to what kpasswdd should listen too.
--check-library=library
If your system has support for dynamic loading of shared libraries, you can use an external function to check password quality. This
option specifies which library to load.
--check-function=function
This is the function to call in the loaded library. The function should look like this:
const char * passwd_check(krb5_context context, krb5_principal principal, krb5_data *password)
context is an initialized context; principal is the one who tries to change passwords, and password is the new password. Note that
the password (in password->data) is not zero terminated.
-k kspec, --keytab=kspec
Keytab to get authentication key from.
-r realm, --realm=realm
Default realm.
-p string, --port=string
Port to listen on (default service kpasswd - 464).
DIAGNOSTICS
If an error occurs, the error message is returned to the user and/or logged to syslog.
BUGS
The default password quality checks are too basic.
SEE ALSO kpasswd(1), kdc(8)HEIMDAL April 19, 1999 HEIMDAL