Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I lost a root password and i need to give it, I treid to
change it through single usermode even though i am not get
a password, then what is the other procedure to give a root
password?

Answer Posted / rallapalli

Enter into Single user mode and check the /etc/shadow file
is there are not if it is not there do this
#cp /etc/shadow~ /etc/shadow
now give the password
#passwd



Thanks

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I create a file with cmd?

1125


You wish to print the file vacations with 60 lines to a page. Which of the following commands will accomplish this?

891


Explain getopts command of linux?

1153


What is the role of case sensitivity in affecting the way commands are used?

1138


What is echo command in batch file?

1102


How do I find previous commands in linux?

1064


Who am I command in linux?

1041


How does diff command work?

983


Which command will show you free/used memory? Does free memory exist on linux?

1037


Where can I find bash in linux?

1013


What are the commands used in command prompt?

1014


How do I run a .sh file in linux?

1128


What is difference between free and available memory in linux?

1013


What are the 7 types of sentences?

1075


How can you check the amount of lines in a file?

993