Solved

Solaris 10  - change user password

Posted on 2011-03-22
3
696 Views
Last Modified: 2012-05-11
Hi,

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

da@ss03ust> su - ocle
Password:
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.

Tks,
Joao
0
Comment
Question by:joaotelles
3 Comments
 
LVL 68

Assisted Solution

by:woolmilkporc
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.

wmp

0
 
LVL 11

Accepted Solution

by:
Pieter Jordaan earned 125 total points
ID: 35189027
Hi

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

passwd ocle
Then type in the new password.
0
 

Author Closing Comment

by:joaotelles
ID: 35189521
Tks! Both ways worked.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

821 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