Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Setting root password in Linux Mint 10

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 03-01-2011
Member
 
Join Date: Dec 2010
Posts: 15
Setting root password in Linux Mint 10
  

I just upgraded my Mint 9 operating system and installed Mint 10, and the first thing I did when I was able to log in was to change the password for the root account via term. However, when I run any user interface based app that requires elevated privileges I am forced to use the password that I typed in during the installation. I want to change the root password but I am unaware of the steps to change it and therefore need a solution which will help me in changing the root password. Can anyone help me out?

Reply With Quote
  #2  
Old 03-01-2011
Member
 
Join Date: May 2008
Posts: 962
Re: Setting root password in Linux Mint 10

With the help of root level access you can gain the whole authorization of the system. As root password does not ask for old password. You can easily change the root level password in Linux mint platform by following the steps given below:
  1. You need to start the system and open the terminal window by going to the Application/accessories.
  2. In the terminal window you may need to type the command given below:
    Code:
    # passwd
    Where ?passwd? is the new password and you need to confirm it. After the confirmation the root level password will be changed.
Reply With Quote
  #3  
Old 03-01-2011
Member
 
Join Date: Nov 2009
Posts: 754
Re: Setting root password in Linux Mint 10

You can also change the root level password by following the steps given below:
  1. You need to boot the computer system with Linux Mint 10 Installation CD.
  2. After the system starts to boot you may need to enter into the Linux mint 10 Rescue mode by typing boot: Linux Mint 10 rescue in the boot screen.
  3. When the sh prompt is reached you may enter the following given command to change the root level password
    Code:
    chroot /mnt/sysimage 
    passwd
  4. Where ?passwd? is the new password and the password will be rested to the new one.
Reply With Quote
  #4  
Old 03-01-2011
Member
 
Join Date: Dec 2010
Posts: 15
Re: Setting root password in Linux Mint 10

I was unaware of the steps through which I can change the root password. Thanks for providing me the solution from the above given solution it was possible for me to change the root password easily without any problem. I wanted to know if there is some mechanism to recover the lost password. If yes then I need solution through I can reset the root password easily.
Reply With Quote
  #5  
Old 03-01-2011
mv mv is offline
Member
 
Join Date: May 2008
Posts: 681
Re: Setting root password in Linux Mint 10

If you want to reset the root level password then you may follow the steps given below:
  1. You may need to restart the system and wait until ?Grub loading? message appears which depends on your Linux distribution.
  2. When the grub?s main menu appears then you may need to select the kernel and then edit it by typing the ?e? key from the keyboard.
  3. When the grub edit prompt will appear you can type the below given command to edit it.
    Code:
    grub edit> kernel /vmlinuz-2.6.18-1.2239.fc5smp ro root=LABEL=/ single
  4. press enter to save the settings and then boot the system by pressing the b key from the keyboard.
  5. The system will continue to boot and it will go straight to the root # prompt without first asking for a username and password.
  6. Type the below command to change the password
    Code:
    #passwd <give your new password>
  7. Also you may need to change the run-level using init command. The command is given below:
  8. # init 5. The password will be resetted.
Reply With Quote
  #6  
Old 23-09-2012
Member
 
Join Date: Sep 2012
Posts: 1
Re: Setting root password in Linux Mint 10

It's true, it's very simple to add a root password after installing Mint, but you just use the "passwd" command by itself.

You must use "sudo passwd", or you will be denied access.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Setting root password in Linux Mint 10"
Thread Thread Starter Forum Replies Last Post
How to Configure Mint 10 and policykit to use separate Root Password chyarte Operating Systems 4 14-01-2011 07:40 PM
Cannot create root account in Linux Mint 10 affection Operating Systems 4 14-01-2011 04:44 AM
Entering root password in script on Mint 10 Tanishka Operating Systems 3 04-01-2011 05:48 AM
How to recover root password linux Carlos16 Operating Systems 5 17-01-2010 12:36 AM
How to change the root password in linux MATSU Software Development 1 03-12-2008 01:59 PM


All times are GMT +5.5. The time now is 11:04 PM.