Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-10-2005, 10:41 AM   #1
Registered: Aug 2005
Posts: 51

Rep: Reputation: 15
change root password?

how can i change root password just with one command?

examle command who will be something like this : passwd root new_root_pass,
and to accept root password from first time. not to ask me to enter it again.

is this possible?
Old 08-10-2005, 12:18 PM   #2
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
echo "root:newpassword" | chpasswd -m


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
how do i change my root password? _leah_ Linux - Security 3 01-16-2005 04:33 PM
Password change for root? akihandyman Mandriva 1 08-25-2004 11:29 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

All times are GMT -5. The time now is 01:24 AM.

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