Solaris 10  - change user password

Posted on 2011-03-22
Last Modified: 2012-05-11

I want to change the password for a specific user due to the following error.

da@ss03ust> su - ocle
su: Password for user 'ocle' has expired - use passwd(1) to update it

How should I proceed?

I don't want to end up in a chicken-and-the-egg problem where you can't log in to change it.

Question by:joaotelles
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 68

Assisted Solution

woolmilkporc earned 125 total points
ID: 35188741
Log in as ocle using telnet, ssh, rsh or the console.
This will succeed and you can change ocle's password, as opposed to "su" where this is not possible.


LVL 11

Accepted Solution

Pieter Jordaan earned 125 total points
ID: 35189027

The easiest way is to login with the root account, then use:

passwd ocle
Then type in the new password.

Author Closing Comment

ID: 35189521
Tks! Both ways worked.

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Fine Tune your automatic Updates for Ubuntu / Debian
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question