LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-24-2003, 07:21 AM   #1
ratiubogdan
LQ Newbie
 
Registered: Dec 2003
Posts: 1

Rep: Reputation: 0
change password


i'm running redhat 8 and here's my problem:

i forgot my computer on and someone change my password (i'm a student and live with other coleagues)
so, he changed my root password (as a joke ) but he can't remember the new one.
i understand that there is a way to change your password without knowing the old one (u are supposed to write something in the logger ). i have the 'grub' logger
thx
 
Old 12-24-2003, 08:03 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
2 things:

the first is: why were you logged in as root? As you have found, that is the most insecure thing you could have possibly done. You should always create a user account and then use 'su' to run root apps and to install.

the second is: using the search function, I found these they should be of help.

Welcome to LQ and Merry Christmas.
 
Old 12-24-2003, 09:27 AM   #3
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
true, but as far as i know, 'su' requires the root password! and sudo requires you to have permission to use sudo.
 
Old 12-24-2003, 10:02 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
I am questioning the fact that Ratiubogdan is logging in as root and staying logged in. That is inherently unsafe - as is demonstrated by the thread.

Far better to have logged in as a normal user and then used 'su' - if the account password was changed, he could have logged in as root and reset his password. Instead of which, his system is currently unusable.
 
Old 12-24-2003, 10:29 PM   #5
cxel91a
Member
 
Registered: May 2001
Posts: 61

Rep: Reputation: 15
boot into single mode.
 
Old 01-09-2004, 04:50 PM   #6
katmai90210
Member
 
Registered: Nov 2003
Location: Romania
Distribution: Redhat Linux , Fedora & SuSe
Posts: 46

Rep: Reputation: 15
single mode ... you get an uid0 shell
 
Old 01-09-2004, 04:51 PM   #7
katmai90210
Member
 
Registered: Nov 2003
Location: Romania
Distribution: Redhat Linux , Fedora & SuSe
Posts: 46

Rep: Reputation: 15
if haven't been too specific .. at the command prompt type 'linux single'
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
How can I change e-mail password(or linux account password) with php in website?? yusuf Programming 1 05-28-2004 09:39 AM
forgot my password ? i can change the password JrLz Linux - Security 9 04-06-2004 07:36 PM
Just change Samba password, not Unix password? sorrodos Linux - Networking 1 08-14-2003 07:52 PM
How do i change my password im1crazyassmofo Linux - General 2 03-19-2003 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:04 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
Open Source Consulting | Domain Registration