The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Expired password doesn't prompt for change mark24p SUN Solaris 2 04-28-2008 04:15 PM
notification mail when password expired JiriVenera AIX 2 01-31-2008 06:42 AM
password expired ammu UNIX for Advanced & Expert Users 2 06-02-2007 09:15 AM
expired root password csaunders SUN Solaris 1 10-18-2005 06:48 PM
AIX Non Expired Password siddhhuu AIX 0 03-19-2005 11:12 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-26-2008
sleepy_11 sleepy_11 is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 36
Question Two questions on renew the expired password

Recently, the root pass expired on a Solaris box. And then, i can't log into the system anymore.....Below are two issues i met:
1. I tried to login the system via telnet and ssh. Only the ssh prompt me to set a new password. The system only told me that the pass is expired and turn it off during the telnet session. Is there any setting that can turn on this prompt for the telnet session?

2. not sure whether my system configured with NIS or PAM, we need add the parameter "-r repository" to the command "passwd". Otherwise the system will fail. Similar issue i also met during i try to set the new password at ssh prompt. I suppose that maybe it because that the ssh only call "passwd", without the needed parameter, isn't it? Is there anyway that i can update this setting? the ssh server is openSSH.

Sorry for such a long description, as I try to present it clearly. Please provide your suggestion, thx in adv.
  #2 (permalink)  
Old 03-27-2008
sparcguy sparcguy is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2006
Posts: 315
What I do know is that you can have ssh and telnet both exist on the same system, but the reason we use ssh is because we don't want to use telnet, by default telnet is not disabled automatically after installing ssh so we have to manually vi the file /etc/inet/inetd.conf and "#" it off so the in.telnetd will not work

- btw you need to be root to do any editing for inetd.conf


But If you cannot access to root due to password aging then that's a different issue.

If you really really cannot access to system as root then probably the way to get back in is to do a stop-a to force the system down into ok prompt level, do a boot cdrom -s (os media)


mount your OS disk

vi /a/etc/passwd and shadow files, add in a new entry with id '0'

umount;manually fsck all the partitions; try to boot up again.

I'm hesitant here to suggest using stop-a to force a system down If you are not administrator and unsure what I'm talking about pls consult your administrator.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:59 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0