Sponsored Content
Operating Systems Solaris Recover/Reset Sun Java System Server Console password Post 302632583 by jameson on Monday 30th of April 2012 11:17:14 AM
Old 04-30-2012
Tools Recover/Reset Sun Java System Server Console password

I am administering a Solaris 10 server that I have root password for but need to get to the system server console. The password has been 'forgotten'.
I've tried changing it in /var/opt/mps/serverroot/admin-serv/config/admpw and local.conf with the current hashed password in /etc/shadow for a user there. This was unsuccessful.
I've also tried /usr/sbin/mpsadmconfig -ser <serverSmilieort> -u <having it read the admpw file for the current username and password > -setadminp <new password>
but I get an error message: Status = -1 Task -setadminpwd failed: null

Can someone suggest what I'm doing wrong or if there is a better/easier more effective way to do this? I need to copy over the LDAP files from this system to a new one being set up.
Thank you!
UPDATE: have found the plain text version of the password in /var/opt/mps/serverroot/admin-serv/config however, this password is not working as well.

Last edited by jameson; 04-30-2012 at 06:01 PM.. Reason: UPdate information
 

3 More Discussions You Might Find Interesting

1. Solaris

Sun Java System Directory Server

Hi, Does anyone know if the Sun Java System Directory Server (now Oracle Directory Server) is freely available for download? Thanks (1 Reply)
Discussion started by: Mack1982
1 Replies

2. Solaris

Need Help, I want to reset password for Sun Fire T2000 Server

============================== ALOM BOOTMON v1.3.1 ALOM Build Release: 001 Reset register: f0000000 EHRS ESRS LLRS SWRS ALOM POST 1.0 Dual Port Memory Test, PASSED. TTY External - Internal Loopback Test TTY External - Internal Loopback Test, PASSED. TTYC - Internal Loopback Test TTYC -... (4 Replies)
Discussion started by: Sameer Naik
4 Replies

3. Solaris

Sparc console password reset

Hi, How to reset the sun fire v245 console password ?. Please tell me step by step. (5 Replies)
Discussion started by: praveen16
5 Replies
PASSWD(1)						    BSD General Commands Manual 						 PASSWD(1)

NAME
passwd -- modify a user's password SYNOPSIS
passwd [user] passwd [-d files | -l] [user] passwd [-d nis | -y] [user] passwd [-d krb5 | -k] [principal] DESCRIPTION
passwd changes the user's password. First, the user is prompted for their current password. If the current password is correctly typed, a new password is requested. The new password must be entered twice to avoid typing errors. The new password should be at least six characters long and not purely alphabetic. Its total length must be less than _PASSWORD_LEN (cur- rently 128 characters). Numbers, upper case letters and meta characters are encouraged. All options may not be available on all systems. -d database This option specifies the password database that should be updated. The following databases are supported: files This specifies that the password change should be applied to the local password file. When changing only the local password, passwd uses pwd_mkdb(8) to update the password databases. nis This specifies that the password change should be applied to the NIS password database. The rpc.yppasswdd(8) daemon should be running on the master NIS server. krb5 This specifies that the user's Kerberos 5 password should be changed. The host must be configured to use Kerberos. See krb5.conf(5). -l This is the equivalent of -d files. -y This is the equivalent of -d nis. -k This is the equivalent of -d krb5. If a password database is not specified, passwd will change the password database as determined by the Pluggable Authentication Module (PAM) library. The type of cipher used to encrypt the password depends on the configuration in passwd.conf(5). It can be different for local and NIS pass- words. FILES
/etc/master.passwd The user database /etc/passwd A Version 7 format password file /etc/passwd.XXXXXX Temporary copy of the password file SEE ALSO
chpass(1), login(1), pwhash(1), passwd(5), passwd.conf(5), pam(8), pwd_mkdb(8), vipw(8) Robert Morris and Ken Thompson, UNIX password security. HISTORY
A passwd command appeared in Version 6 AT&T UNIX. BSD
February 25, 2005 BSD
All times are GMT -4. The time now is 03:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy