Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-30-2003, 09:36 AM   #1
LQ Newbie
Registered: Oct 2003
Location: Columbus, OH
Posts: 19

Rep: Reputation: 0
Need to know how to change root password


I am new here and unfortunately not too experienced with Linux. I've neglected learning using the OS for way too long

Anyway I am an assistant in the Civil Engineering and Environmental Science department at Ohio State University. I'm working on some old Linux boxes that a former assistant left here.

I have the root login and password, but I need to change the password so that we can have a standard one and distribute it to other administrators in the department.

Can someone explain how to change it ? One is running Mandrake linux 9.1 and two other machines are running Redhat 8 I believe.

Thanks in advance,

- Joe
Old 10-30-2003, 09:38 AM   #2
LQ Newbie
Registered: Sep 2003
Posts: 18

Rep: Reputation: 0
login as root with the passwords you have
then bring up a terminal (possibly xterm) and type passwd
Old 10-30-2003, 10:07 AM   #3
Registered: Oct 2003
Distribution: Gentoo rules them all
Posts: 279

Rep: Reputation: 31
What towhalc said.

I would not recommend you doing this. In-general its a bad idea to login as root into linux box. My suggestion is to create a new account for management and add it to sudoers file so that they can execute root commands if they need to. lookup manual for 'sudo' command for more info.
Old 10-30-2003, 10:11 AM   #4
LQ Newbie
Registered: Sep 2003
Posts: 18

Rep: Reputation: 0
but to create a new account he has to be root anyway
Old 10-30-2003, 10:35 AM   #5
LQ Newbie
Registered: Oct 2003
Location: Columbus, OH
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks guys

Yeah, the only thing I am doing with root is changing the password

The former system administrator has left the school so it needs to be changed

I can delete his user and just create others for the rest of us in the department


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 11:28 PM
change root password? ice99 Programming 1 08-10-2005 12:18 PM
how do i change my root password? _leah_ Linux - Security 3 01-16-2005 04:33 PM
when i change root password ,it says: BRAHmS Linux - General 0 05-11-2004 10:15 PM
root change the password Rex_chaos Linux - Security 4 04-11-2003 03:07 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:51 PM.

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