Notice that changing the password from one user account for any other user sets the "ADMCHANGE" in /etc/security/passwd and the user will be prompted to change his password (again) the next time the user logs on.
To prevent this you can reset the flag by using the pwdadm command:
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)
Hi folks,
I'm trying to install a program, and I want to place some of the executables into /usr/bin so that they can be executed from any folder on the computer. I've been giveng the root password, but told never to log in directly as root. Instead, I can wait for a password prompt. However, I... (2 Replies)
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)
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)
I'm fairly inexperienced with LDAP and DSEE so to build my skills I installed directory server in the global zone of my Sol 10/u7 machine and created a zone to use as a client. For some reason when I try to change a users password as root (in the client zone) with passwd -r ldap I am prompted for... (1 Reply)
I have a Solaris 10 machine that I didn't know the root password to so I went into single user mode and removed the password from the shadow file and rebooted and I am able to login with no password now.
But my problem is that when I try to change the root password from no password to something... (0 Replies)
Hi All
Hope it's okay to post on this sub-forum, couldn't find a better place
I've got a 480R running solaris 8 with veritas volume manager managing all filesystems, including an encapsulated root disk (I believe the root disk is encapsulated as one of the root mirror disks has an entry under... (1 Reply)
i want to change user to "root" from another user while running a script. how can i automatically feed the password? for example, i want to write a script say "script.sh"... it will first run the command "p" as mhmn user, and then it will change the user to "root" by using "su - root" command. at... (1 Reply)
i do not have root on a solairs 10 server , however i do have the root role, i was wondering if I can change the root password as a a role with the passwd command? I have not tried yet.
and do i have to use the # chgkey -p afterwards?
i need to patch is why i am asking.
thanks (1 Reply)
Discussion started by: goya
1 Replies
LEARN ABOUT DEBIAN
cvsd-passwd
cvsd-passwd(8) System Manager's Manual cvsd-passwd(8)NAME
cvsd-passwd - generate password entries for repositories
SYNOPSIS
cvsd-passwd REPOS [+|-]NAME...
DESCRIPTION
cvsd-passwd adds, updates or deletes users from repository passwd files for use with cvsd.
OPTIONS
REPOS Specify the directory in which the repository is located. This argument can be the top of the repository, the CVSROOT directory or
even the passwd file in the CVSROOT directory.
[+]USER[:SUSER]
Add or update the user to the CVSROOT/passwd file. If the user does not exist a password for the user is asked and the user is
added for use with cvsd. If the user already exists a password for is asked and the password field is modified.
The :SUSER part can be user to change or set mapping to a system user. If you do not specify anything, a reasonable default is used
based upon your cvsd configuration. If you don't want to map the user to any specified system user you can specify an empty SUSER
and use 'USER:'.
-USER Remove the user from the CVSROOT/passwd file.
EXAMPLES
Add an anoncvs user to access the given repository:
cvsd-passwd /var/lib/cvsd/myrepos +anoncvs
If the user already exists, change the password.
Remove a user from the repository passwd list:
cvsd-passwd /var/lib/cvsd/myrepos -foo
Add a user and specify that cvs should remap this user to the joe system user:
cvsd-passwd /var/lib/cvsd/myrepos joecvs:joe
Note that the user joe should be known in the system passwd file and that cvsd should be run as root or user joe for this to work.
SEE ALSO cvsd(8)AUTHOR
Arthur de Jong <arthur@arthurdejong.org>.
Version 1.0.24 Jun 2012 cvsd-passwd(8)