LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-24-2004, 04:50 AM   #1
Quartzophobia
LQ Newbie
 
Registered: Jan 2004
Posts: 15

Rep: Reputation: 0
Changing user's passwords from the root accont


hi. i forgot my regular user's password, and i want to change the password of this user from the root accout (i do remember this one... hehe).
how can i do this?
thanks.
 
Old 01-24-2004, 04:55 AM   #2
lone_nut
Member
 
Registered: Dec 2003
Location: Denmark
Distribution: Mandrake
Posts: 179

Rep: Reputation: 30
You can change any passwd from the root account as:
passwd [i]user[i]
then you are asked, for the new passwd, because you are root it doesn't ask you for the old one.
 
Old 01-24-2004, 08:57 AM   #3
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
And make sure that you never lose the root password, as that is the end of the road..

As an info, in any version of windoze, you can change any users password by using linux boot disks with special utilities!
 
Old 01-25-2004, 12:38 AM   #4
natalinasmpf
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 309

Rep: Reputation: 30
Quote:
And make sure that you never lose the root password, as that is the end of the road..

It isn't.

Boot Linux with the parameters, "init=/bin/bash". It will boot you into a root account. Passwd from there...
 
Old 01-25-2004, 12:47 AM   #5
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
But that is not possible if the boot loader is also protected by a password. But I agree that we can boot into linux Single mode and change the root password.
 
Old 01-25-2004, 07:27 AM   #6
frandalla
Member
 
Registered: Oct 2003
Location: Tokyo - Japan
Distribution: Slackware
Posts: 348
Blog Entries: 1

Rep: Reputation: 37
if you talk about slackware single won't make it... you need root password to logon...
an idea would be starting up from a live-cd, mounting you file system and deleting root's password from the shadow file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing user's home directory? HOW barton Debian 10 04-04-2005 02:27 AM
Changing user's group? orange400 Linux - General 2 06-18-2004 04:30 AM
changing a regular user's password using root Pete Dogg Linux - General 2 11-28-2003 10:49 PM
Changing a user's default group dogn00dles Linux - Security 4 07-09-2003 03:59 PM
Why do user's passwords change? J_Szucs *BSD 7 07-09-2002 03:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration