Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 7th August 2005, 07:42 PM
newbie2fedora Offline
Registered User
 
Join Date: May 2005
Posts: 52
Anyone can change my root or user password?

From what I know, theres a way to change/reset root password & user passwords if u forget them.

Which means anyone having such knowhow & physical access to my PC can tamper with my linux system!

Is there ANY way to prevent all this?

And I really can't afford to lock up my pc....my family uses it and I'm just a 21-yr kid using the same pc

So I know that NO ONE in my family would do any intentional damage to my pc......what I ONLY want is that no one should get access to my linux system by changing password etc.

Apart from encrypting personal files, isn't there ANY other way?

Thanks
Reply With Quote
  #2  
Old 7th August 2005, 07:49 PM
jombeewoof Offline
Registered User
 
Join Date: Jun 2005
Location: massachusettes
Age: 33
Posts: 259
check out password protecting grub
if you can't change grub, you can't enter single user mode and you can't change root password
Reply With Quote
  #3  
Old 7th August 2005, 08:23 PM
huw-l Offline
Registered User
 
Join Date: Apr 2004
Location: Cardiff, UK
Age: 35
Posts: 315
Quote:
Originally Posted by newbie2fedora
Which means anyone having such knowhow & physical access to my PC can tamper with my linux system!
Anyone who has physical access to your machine can do whatever they want to it. Once a knowledgable adversary has access to your machine the game is up whatever operating system you are running.

Having said that unless your family are all l33t haxx0rz I don't think you really have to worry about anything.

If you are the only person with root on the machine then there isn't a lot they can do unless they know how to use single-user mode or a rescue disk.
Reply With Quote
  #4  
Old 7th August 2005, 08:34 PM
pparks1's Avatar
pparks1 Offline
Registered User
 
Join Date: Mar 2004
Location: Westland, Michigan
Age: 38
Posts: 2,317
Yes, physical access to the computer means that somebody will be able to change your root password.
Even setting a grub password can't stop them. They can simply boot off the 1st Fedora CD and run linux rescue.

To secure the box you can do the following:
1. Remove the cd rom entirely.
2. set a BIOS password and set it to NOT boot from CD or floppy.
__________________
RHCE and MCSE systems administrator
Registered Linux User #375155 For More Info or to register yourself

My Linux box is:
Ubuntu 8.04, Antec Sonata II case with 450-watt PS, AMD 64 X2 4600+ (65 watt), 4GB DDR2 800 RAM, 18X Lite-On DVD burner, Asus M2NPV-VM, Nvidia GeForce 7600GT (256MB), 320GB Western Digital SATA 3.0Gbps, Logitech MX-310, Dell 18" ultrasharp LCD, Microsoft Natural Ergonomic Keyboard 4000 and 2.1 Boston Acoustics sound system..
Reply With Quote
  #5  
Old 8th August 2005, 08:39 AM
Omega Blue's Avatar
Omega Blue Offline
Registered User
 
Join Date: Apr 2005
Location: Fragrant Harbour
Posts: 1,344
Hm, nothing helps you if somebody has physical access to your box.

BIOS password can be defeated by removing the battery for a few minutes.
Reply With Quote
  #6  
Old 10th August 2005, 10:42 AM
JordanN Offline
Registered User
 
Join Date: Sep 2004
Location: Fort Wayne, Indiana
Posts: 573
Quote:
Originally Posted by Omega Blue
BIOS password can be defeated by removing the battery for a few minutes.
or shorting the reset jumper.
Reply With Quote
  #7  
Old 10th August 2005, 10:58 AM
daniel_owen_uk Offline
Registered User
 
Join Date: Aug 2005
Posts: 54
Or replacing the bios chip, but we are pushing it there :P
Reply With Quote
  #8  
Old 10th August 2005, 11:05 AM
Omega Blue's Avatar
Omega Blue Offline
Registered User
 
Join Date: Apr 2005
Location: Fragrant Harbour
Posts: 1,344
Or just taking the HDD out and connect it to another system.
Reply With Quote
  #9  
Old 10th August 2005, 12:10 PM
Twey's Avatar
Twey Offline
Registered User
 
Join Date: Mar 2005
Location: England
Posts: 867
Or doing this to it.
__________________
Twey
Reply With Quote
  #10  
Old 10th August 2005, 02:41 PM
gavinw6662 Offline
Registered User
 
Join Date: Feb 2005
Age: 34
Posts: 1,281
Quote:
Originally Posted by jombeewoof
check out password protecting grub
if you can't change grub, you can't enter single user mode and you can't change root password

that's your best bet in this scenario, or go with BSD, single user mode requires root pasword.
Reply With Quote
  #11  
Old 10th August 2005, 07:00 PM
tejas's Avatar
tejas Offline
Registered User
 
Join Date: Feb 2005
Location: Bangalore
Age: 25
Posts: 1,574
The beuty of GRUB is that you can choose WHEN you want GRUB to ask for the password, by putting the password line in different places in GRUB

Surf the web for more details, but if memory serves
1) Put it in the beginning for a required password to boot up at all
2) under the 'default' setting for booting snything other than the default
3) on the first line of each OS if you want anyone to not modify the kernel arguments --> This is the security that you, in particulr, want. you can even ahve different passwords for windows and linux

This implies that
__________________
I Was Counted! Registered Linux User #384707

BASH && Beer && Bass! Now THAT makes sense!!
Reply With Quote
  #12  
Old 10th August 2005, 07:03 PM
Twey's Avatar
Twey Offline
Registered User
 
Join Date: Mar 2005
Location: England
Posts: 867
Unless someone uses a boot disk. And so the cycle begins anew.

Short of encrypting your entire hard drive using cloop, you're not going to be able to do this.
__________________
Twey
Reply With Quote
  #13  
Old 10th August 2005, 07:14 PM
tejas's Avatar
tejas Offline
Registered User
 
Join Date: Feb 2005
Location: Bangalore
Age: 25
Posts: 1,574
Well, if you are that paranoid, there is nothing you can do short of:

1) BIOS password
2) Remove the mother board unless you are using the machine
3) encrypt the entire machine just before you shut down, and unencrypt on boot
4) Take the hard disk out when you are done with the computer
5) only travel in an armored car (did I mention bullet-proof)
6) Do not have internet access of any kind
7) Do not have a
a) Floppy Disk
b) CD Drive
c) USB port
d) Speaker System (Advanced Hacking techniques: cat file > /dev/dsp and then somehow record and decode the garbage outputted. Even worse if it becomes an mp3)
8) Camera watching the computer
9) Round the clock security
10) Biometrics - So that your retina scan/fingerprint will start the computer

Also, for extra safety, you should remove programs like:
1) rpm - No more installed files
2) yum - No easier way either
3) gcc/g++/gcj - we don't want anyone compiling evil cracking programs, do we?
4) ping
5) ifconfig
6) ssh/vsftpd <- perhaps the most evil of all of them. Letting people log in. Worse yet..... telnet!!! the b*stards

Can I stop being sarcastic or do I need to go on?
__________________
I Was Counted! Registered Linux User #384707

BASH && Beer && Bass! Now THAT makes sense!!
Reply With Quote
Reply

Tags
change, password, root, user

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't change root password Akanikoto Using Fedora 2 30th July 2009 03:42 PM
Cannot change root password noyards Using Fedora 5 16th June 2009 03:10 PM
change root password? Cew27 Using Fedora 1 8th June 2008 02:30 PM
Cannot Add a User or Change Root Password leonard.sokol Using Fedora 0 25th June 2005 04:13 PM
change root-password Evert Using Fedora 2 11th April 2005 09:57 PM


Current GMT-time: 16:23 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat