Solved

Solaris 10  - change user password

Posted on 2011-03-22
3
663 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
Comment Utility
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
Comment Utility
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
Comment Utility
Tks! Both ways worked.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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é.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now