linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* root password
@ 2005-03-30  7:16 Ankit Jain
  2005-03-30 14:07 ` Robin Doer
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Ankit Jain @ 2005-03-30  7:16 UTC (permalink / raw)
  To: admin

hi

i have forgotten my root pasword. i had installed
redhat linux 9.0 kernel version 2.4 with grub loader.
if somebody can tell me how to change the password
without logging.

thanks

ankit


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: root password
@ 2005-03-30  7:48 Wei Zhang GR
  0 siblings, 0 replies; 15+ messages in thread
From: Wei Zhang GR @ 2005-03-30  7:48 UTC (permalink / raw)
  To: Ankit Jain, admin

--- Ankit Jain wrote:
i have forgotten my root pasword.
--- end of quote ---

>i have forgotten my root pasword.

Boot in single-user mode and create a new root password.


How to boot in single-user mode:
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-rescuemode-booting-single.html

^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: root password
@ 2005-03-30 10:31 Rajat  Jain, Noida
  0 siblings, 0 replies; 15+ messages in thread
From: Rajat  Jain, Noida @ 2005-03-30 10:31 UTC (permalink / raw)
  To: Ankit Jain, admin

 
Pass the following command line option to kernel

"linux single"

The kernel will do minimal things, and give you a bash prompt. You'll be
having root priviledges here.

Go ahead and change the password.

> -----Original Message-----
> From: linux-newbie-owner@vger.kernel.org 
> [mailto:linux-newbie-owner@vger.kernel.org] On Behalf Of Ankit Jain
> Sent: Wednesday, March 30, 2005 12:46 PM
> To: admin
> Subject: root password
> 
> hi
> 
> i have forgotten my root pasword. i had installed redhat 
> linux 9.0 kernel version 2.4 with grub loader.
> if somebody can tell me how to change the password without logging.
> 
> thanks
> 
> ankit
> 
> 
> 		
> __________________________________
> Do you Yahoo!? 
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/
> -
> To unsubscribe from this list: send the line "unsubscribe 
> linux-newbie" in the body of a message to 
> majordomo@vger.kernel.org More majordomo info at  
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
> 


Disclaimer: 

This message and any attachment(s) contained here are information that is
confidential,proprietary to HCL Technologies and its customers, privileged
or otherwise protected by law.The information is solely intended for the
individual or the entity it is addressed to. If you are not the intended
recipient of this message, you are not authorized to read, forward,
print,retain, copy or disseminate this message or any part of it. If you
have received this e-mail in error, please notify the sender immediately by
return e-mail and delete it from your computer.



^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: root password
@ 2005-03-30 13:29 Mike Turcotte
  0 siblings, 0 replies; 15+ messages in thread
From: Mike Turcotte @ 2005-03-30 13:29 UTC (permalink / raw)
  To: Ankit Jain, admin

Boot off of a Live CD like Gentoo, mount your root partition, chroot to
it, and clear the password field in you /etc/passwd file

Michael Turcotte
Information Systems
City of North Bay
200 McIntyre St. E
PO Box 360
North Bay, Ontario
P1B 8H8
 
Mike.Turcotte@cityofnorthbay.ca
http://www.cityofnorthbay.ca 

> -----Original Message-----
> From: linux-newbie-owner@vger.kernel.org [mailto:linux-newbie-
> owner@vger.kernel.org] On Behalf Of Ankit Jain
> Sent: Wednesday, March 30, 2005 2:16 AM
> To: admin
> Subject: root password
> 
> hi
> 
> i have forgotten my root pasword. i had installed
> redhat linux 9.0 kernel version 2.4 with grub loader.
> if somebody can tell me how to change the password
> without logging.
> 
> thanks
> 
> ankit
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/
> -
> To unsubscribe from this list: send the line "unsubscribe
linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: root password
@ 2005-04-03  4:39 Ankit Jain
  2005-04-03  5:05 ` Jim C. Brown
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Ankit Jain @ 2005-04-03  4:39 UTC (permalink / raw)
  To: Ray Olszewski, linux-newbie, admin

Thanks a lot for help.

i started the question not to hack any system but i
was curious to know that in linux its easy to change
the root passwd

in this case the authenticity is a problem. still it
can be changed by a boot CD even i think so u have
apasswd for boot loader. so in this case what should
be done? and also is there any other flaws which are
openly known i am not intrested to destruct any system
but want to know which is already known to ppl that if
root passwd can be changed any other way also?

thanks to all for helping me out

regards,

ankit
--- Ray Olszewski <ray@comarre.com> wrote:
> At 10:55 AM 4/1/2005 -0600, Eric Bambach wrote:
> >On Wednesday 30 March 2005 08:36 am, Ray Olszewski
> wrote:
> > > Any other suggestion of how to become root
> without knowing the root
> > > password is a technique for breaking into
> systems, and I (and I hope
> > > everyone else) will not give advice on that
> publicly, in this forum or
> > > anywhere else.
> >
> >I respectfully disagree. How will sysadmins ever
> know how to secure their
> >systems unless they know HOW break-ins occur.
> Certainly most hacking doesnt
> >come from boot CDs but having a more informed
> sysadmin is infinitely better
> >than one that only discovers how to make their
> system more secure *AFTER*
> >being broken into.
> >
> >What you are saying is that security through
> obscurity is good and there have
> >been countless rebuttals on just how horrible
> security though obscurity is in
> >99% of the situations. The only reason for S.T.O.
> is a company that found an
> >exploit and is giving lead-time to the vendor to
> patch their vulnerable
> >software.
> 
> I wasn't quite saying that, and I apologize if my
> abbreviated presentation 
> led you down that path. My reluctance was specific
> to this context, in 
> which someone was asking not how to secure a system,
> but how to become root 
> without knowing the root password. That it was his
> own system he wanted to 
> break into certainly is relevant, but, on a public
> list, it is not the only 
> consideration.
> 
> I do believe that sysadmins need to know how to
> secure thair systems. There 
> are plenty of sites on the Internet, and books and
> articles in print, that 
> offer this sort of help. And one can learn how to
> secure systems without 
> receiving detailed tutorials in how to exploit
> common holes (buffer 
> overflows, overprivileged daemons, weak passwords,
> and so on).
> 
> But I also believe that giving step-by-step
> instructions for how to break 
> into systems, on a list intended for beginners, is
> not the best way to make 
> this information public. That sort of help is a bit
> more than fighting 
> "security through obscurity" by identifying
> vulnerabilities, in my opinion 
> ... it amounts to tutoring crackers, something I
> personally do not care to 
> do. Particularly in the context of the actual
> question, which involved a 
> system that the poster (presumably) had physical
> access to, so could retake 
> control of with a rescue disk.
> 
> If you (and Tobias, and anyone else) feel
> differently, then you should act 
> on your beliefs and provide this sort of information
> on request, I suppose. 
> So I do apologize for the suggestion that my
> personal view here should 
> restrict what you and others do. Please feel free to
> provide any 
> information of this sort that you have, and be sure
> I will not criticize 
> you for doing so.
> 
> 
> -
> To unsubscribe from this list: send the line
> "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at 
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at
> http://www.linux-learn.org/faqs
> 


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Personals - Better first dates. More second dates. 
http://personals.yahoo.com


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2005-04-04 14:24 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-30  7:16 root password Ankit Jain
2005-03-30 14:07 ` Robin Doer
2005-03-30 16:36 ` Manish Regmi
2005-03-31  0:57   ` terry white
2005-03-31  1:32     ` Jim C. Brown
2005-04-02 12:38 ` Glynn Clements
2005-04-03  3:03   ` Re[2]: root password *reset root password with grub* Kev
  -- strict thread matches above, loose matches on Subject: below --
2005-03-30  7:48 root password Wei Zhang GR
2005-03-30 10:31 Rajat  Jain, Noida
2005-03-30 13:29 Mike Turcotte
2005-04-03  4:39 Ankit Jain
2005-04-03  5:05 ` Jim C. Brown
2005-04-03  5:14 ` Grant Coady
2005-04-04  2:48 ` Glynn Clements
2005-04-04 14:24 ` Scott Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).