Ubuntu root recovery!


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Ubuntu root recovery!
# 1  
Old 12-09-2010
Ubuntu root recovery!

Hi I have an Ubuntu 10.10 machine. I want to recover root password. I know it have to be done while booting but in boot shell.
I tried to do it but failed.
Please remedy my problem.
# 2  
Old 12-09-2010
Quote:
Originally Posted by nixhead
Hi I have an Ubuntu 10.10 machine. I want to recover root password.
The machine does not keep passwords in a manner you can recover. You can only change it.
Quote:
I know it have to be done while booting but in boot shell.
Boot into single-user mode again, mount -o remount,rw /, then passwd to change root's password.
These 2 Users Gave Thanks to Corona688 For This Post:
# 3  
Old 01-03-2011
Thanx
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Execute Ubuntu 14.04 cronjob as non-root

I have created a cronjob that successfully executes and among other thing runs aria2c to download several files and save them to a folder. However, since it executes as sudo, the downloaded folder is saved with those permissions. Is there a way to execute the cronjob so that the downloaded folder... (4 Replies)
Discussion started by: cmccabe
4 Replies

2. IP Networking

Ubuntu root as proxy, connected to VPN

Hey guys, I am looking the following: I am trying to set up a proxy on my Ubuntu root server, which should be connected to a VPN provider. Only the proxy should be connected to VPN, all other root traffic should not be touched in any way Is this possible technically? Regards (3 Replies)
Discussion started by: Marken137
3 Replies

3. UNIX for Dummies Questions & Answers

How to remove Ubuntu without root pw

I have a dell pc with Ubuntu as the only OS, however, the only admin user no longer works here. Due to my requirements, I have to either remove Ubuntu (12.04) and install XP or do a dual boot by adding XP. Any thoughts on how to either change the pw to allow me to make changes or take Ubuntu... (1 Reply)
Discussion started by: kuriosity_prime
1 Replies

4. Solaris

Migration of system having UFS root FS with zones root to ZFS root FS

Hi All After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies

5. UNIX for Dummies Questions & Answers

ubuntu root

on ubuntu try without saving changes i'm trying to do root stuff with sudo & su I tried to change permissions (on files) but unsuccessfully whoami is ubuntu i'm doing this to experiment with root & sudo error msgs i'm gettin useradd: unable to lock password file help? thanks:) (2 Replies)
Discussion started by: JudoMan
2 Replies

6. SCO

Overwritten /dev/root -recovery of SCO OpenServer 5.0.4

Due to my own stupidity I managed to overwrite my /dev/root device using dd (don't ask). Current state is - Have current backup created using cpio (command used was 'find . -mount -depth -print|cpio -ocB > $TAPE') - Once I realised what was happening powered off the server but this was too... (2 Replies)
Discussion started by: ok2
2 Replies

7. UNIX for Dummies Questions & Answers

Run non-root script as root with non-root environment

All, I want to run a non-root script as the root user with non-root environment variables with crontab. The non-root user would have environment variables for database access such as Oracle or Sybase. The root user does not have the Oracle or Sybase enviroment variables. I thought you could do... (2 Replies)
Discussion started by: bubba112557
2 Replies

8. UNIX for Dummies Questions & Answers

SunOS version 5.7 root password recovery?

I just received a Sun microsystem ultra 5 for a auction, it is running sunOS version 5.7, when it boots it asks for user login and password, I dont have either, is there a way to login in as root user with out the password or is there a way to recover the password so I can get in to my system? (1 Reply)
Discussion started by: mscav219
1 Replies

9. UNIX for Dummies Questions & Answers

Irix Root Paasword Recovery

I lost my root passwd for IRIX 6.4 . I need help retrieving it . Can i Remote Boot of a SUN CDROM Anyone Smart enough ... :) DPAI (4 Replies)
Discussion started by: DPAI
4 Replies
Login or Register to Ask a Question