Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Password unknown??? solaris 2.8 vs 2.6??? Post 17337 by thehoghunter on Wednesday 13th of March 2002 05:26:02 PM
Old 03-13-2002
After you hit Stop-A you should have a "ok" prompt.
boot the cdrom into single user

ok boot cdrom -s


I don't remember off-hand if it ask for a password but if it does, just hit return and you should be in.

Then you need to mount the boot DISK partition / onto /mnt
(it is probably c0t0d0s0 or c3t0d0s0)

# mount /dev/dsk/c0t0d0s0 /mnt

Then you cd to /mnt/etc, make sure your TERM is correct, vi passwd, and remove the x OR encrypted password from the root account - it will be the second field (colon separated fields)

root:x:0:1:Super-User:/root:/bin/ksh

save the file, cd /, umount /mnt, and fsck /dev/rdsk/c0t0d0s0 (or whatever the disk was). Then Stop-A and do

ok boot -s

This should put you into single user on the disk instead of cdrom.

Set the root password to whatever you want. Then it's Miller time.
thehoghunter
 

10 More Discussions You Might Find Interesting

1. Solaris

how to reset the password in solaris

I forgot the password of root account of sun solaris .how to reset the root password. (1 Reply)
Discussion started by: mallesh
1 Replies

2. Solaris

unknown iplanet db password

I'm trying to renew a ssl certificate on my SunFire 280R that is running iplanet on top of Solaris 8. The password that I was given for the Key Pair File Password doesn't work and the previous admin has no idea what it could possibly be. :o Does anyone have any idea how to crowbar the password... (3 Replies)
Discussion started by: antalexi
3 Replies

3. UNIX for Dummies Questions & Answers

unknown root password

hello, i've found at work an old Sun Ultra 10 box, with SunOS 5.9 operating system. I want to put into use this machine (particularly for training) . offcourse , the root password is unknown , as this is a very old machine which was not in use for long time... :confused: is there a way to... (1 Reply)
Discussion started by: paraaduma
1 Replies

4. UNIX for Dummies Questions & Answers

Solaris - unknown hostname - how can I change hostname?

Hello, I am new to Solaris. I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies

5. Solaris

Solaris root password

Bit of a strange problem I have never come across before.. I can log into the workstation going through the server as it is a trusted host but when I try and connect to the workstation through SSH or RSH directly it will not take the password, I changed the password when I logged in the machine... (5 Replies)
Discussion started by: Mr Pink
5 Replies

6. Solaris

Solaris 9 Password

Hello, I'm new to solaris but am a certified systems administrator. I was recently brought the task of repairing a sunblade150 and was completely willing to take on this task without knowing the history behind this system. Apparently some slick S.O.B. from ebay bought this system, took the... (13 Replies)
Discussion started by: matt81
13 Replies

7. Solaris

PING - Unknown host 127.0.0.1, Unknown host localhost - Solaris 10

Hello, I have a problem - I created a chrooted jail for one user. When I'm logged in as root, everything work fine, but when I'm logged in as a chrooted user - I have many problems: 1. When I execute the command ping, I get weird results: bash-3.00$ usr/sbin/ping localhost ... (4 Replies)
Discussion started by: Przemek
4 Replies

8. UNIX for Advanced & Expert Users

Unknown process SYSCON in Sun Solaris

When i tried ps -fu command in solaris it is shown in a process called SYSCON ..:eek: do any one knows what is this process??? any idea how to stop it??:mad: (0 Replies)
Discussion started by: kiran@solaris
0 Replies

9. 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

10. Solaris

How to force a same password in Solaris in Solaris 8?

hi all I need to add a user "abcd" and set the password same as the user id. But Solaris 8 is not allowing me to do it, is there any way we can force the password to be same as the user id. Any help would be appreciated. Thanks bash-3.00# cat /etc/release ... (9 Replies)
Discussion started by: imran721
9 Replies
Jifty::Plugin::Authentication::Password::Mixin::Model::UUser3Contributed Perl DocuJifty::Plugin::Authentication::Password::Mixin::Model::User(3pm)

NAME
Jifty::Plugin::Authentication::Password::Mixin::Model::User - password plugin user mixin model SYNOPSIS
package MyApp::Model::User; use Jifty::DBI::Schema; use MyApp::Record schema { # custom column definitions }; use Jifty::Plugin::User::Mixin::Model::User; # name, email, email_confirmed use Jifty::Plugin::Authentication::Password::Mixin::Model::User; # ^^ password, auth_token DESCRIPTION
This mixin model is added to the application's account model for use with the password authentication plugin. This mixin should be used in combination with Jifty::Plugin::User::Mixin::Model::User. SCHEMA
This mixin adds the following columns to the model schema: auth_token This is a unique identifier used when confirming a user's email account and recovering a lost password. password This is the user's password. It will be stored in the database after being processed through Digest::MD5, so the password cannot be directly recovered from the database. METHODS
register_triggers Adds the triggers to the model this mixin is added to. password_is PASSWORD Checks if the user's password matches the provided PASSWORD. hashed_password_is HASH TOKEN Check if the given HASH is the result of hashing our (already salted and hashed) password with TOKEN. This can be used in cases where the pre-hashed password is sent during login as an additional security precaution (such as could be done via Javascript). validate_password Makes sure that the password is six characters long or longer, unless we have alternative means to authenticate. after_create This trigger is added to the account model. It automatically sends a notification email to the user for password confirmation. See Jifty::Plugin::Authentication::Password::Notification::ConfirmEmail. has_alternative_auth If your model supports other means of authentication, you should have this method return true, so the "password" field can optionally be null and authentication with password is disabled in that case. after_set_password Regenerate authentication tokens on password change regenerate_auth_token Generate a new auth_token for this user. This will invalidate any existing feed URLs. SEE ALSO
Jifty::Plugin::Authentication::Password, Jifty::Plugin::User::Mixin::Model LICENSE
Jifty is Copyright 2005-2010 Best Practical Solutions, LLC. Jifty is distributed under the same terms as Perl itself. perl v5.14.2 2010-12-10 Jifty::Plugin::Authentication::Password::Mixin::Model::User(3pm)
All times are GMT -4. The time now is 10:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy