LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

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

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


Hello:

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, 08:38 AM   #2
towhalc
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, 09:07 AM   #3
Mikhail_16
Member
 
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, 09:11 AM   #4
towhalc
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, 09:35 AM   #5
RIOMX
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
 
  


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


All times are GMT -5. The time now is 07:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration