nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

how to change root password

This is a discussion on how to change root password within the Solaris/OpenSolaris forums, part of the UNIX operating systems category; hi all, I want to how to change the root passowrd. thanks in advance, Regards, Sandro...


Go Back   nixCraft Linux Forum > UNIX operating systems > Solaris/OpenSolaris

Linux answers from nixCraft.


Solaris/OpenSolaris Discuss all about the SUN Solairs/OpenSolaris. You are free to talk about any issues related to Solaris administration, networking, services and other stuff, share information or ask doubts.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-07-2007, 03:37 PM
Junior Member
User
 
Join Date: Jul 2007
OS: RHEL4
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
sandromax is on a distinguished road
Default how to change root password

hi all,

I want to how to change the root passowrd.

thanks in advance,
Regards,
Sandro
Reply With Quote
  #2 (permalink)  
Old 11-07-2007, 04:57 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

use passwd command, you must login as root:
Code:
passwd
Provide old password and input new password twice and you are done!
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 12-07-2007, 11:25 AM
Junior Member
User
 
Join Date: Jul 2007
OS: RHEL4
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
sandromax is on a distinguished road
Default

Hi,

thanks..

if old passwd is known then i can reset with passwd command, but if password is lost and want to set a new password how to do it..




Regards,
Sandro
Reply With Quote
  #4 (permalink)  
Old 17-07-2007, 08:24 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

You need to boot from floppy or CD or in single user mode and mount partitions and run passwd command.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #5 (permalink)  
Old 11-10-2007, 02:43 AM
Junior Member
User
 
Join Date: Mar 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
praveenmall
Default

Yes , you must need to boot your system in single user mode.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Change root password using perl script? Raj1 Solaris/OpenSolaris 8 13-06-2008 11:01 PM
Change root password MySQL 5 chiku Databases servers 1 16-01-2007 08:46 PM
HP UX user lock password, change password, password aging rockdalinux HP-UX 0 20-12-2006 02:36 PM
I forgot my root password, how do I get into my system? toor Linux software 2 06-07-2006 11:59 AM
How to Change Password puppen Linux software 6 06-06-2006 01:56 PM


All times are GMT +5.5. The time now is 03:37 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38