Root password reset

Asked by raine oliver on 2012-12-17

will not let me acess need to set up new password in order to authenticate

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: file-roller 3.2.1-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-28.45-generic 3.0.51
Uname: Linux 3.0.0-28-generic i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Mon Dec 17 06:02:11 2012
ExecutablePath: /usr/bin/file-roller
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
SourcePackage: file-roller
UpgradeStatus: Upgraded to oneiric on 2012-12-05 (12 days ago)

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu shadow Edit question
Assignee:
No assignee Edit question
Last query:
2012-12-17
Last reply:
2012-12-18

This question was originally filed as bug #1091247.

raine oliver (raine4101961) said : #1

how can i reset password for"ROOT" so i can have complete control over my compter , roomate added this without my permission
and denies it

Warren Hill (warren-hill) said : #3

By default "root" does not have a password so you cant log on as root. You can set a root password but It is not recommended.

Once you have got to the recovery console using the link above make sure you are part of the sudo group and that you have a password set

--------------------------------------------------------------
id foo
--------------------------------------------------------------

replacing foo with your user name will list the groups you are a member of if this does not contain "sudo" then you need to add your self to the group
--------------------------------------------------------------
usermod -a -G sudo foo
--------------------------------------------------------------
replacing foo with your user name will do it. Then set a password for yourself if you don't have one already.

Finally disable root log on with
--------------------------------------------------------------
passwd -d root
--------------------------------------------------------------

Job Done

Can you help with this problem?

Provide an answer of your own, or ask raine oliver for more information if necessary.

To post a message you must log in.