PDA

View Full Version : reenabling root password



kovacszoltan
05-06-2003, 11:46 PM
There are some applications, which require the root password in X. How can I run them? I tried "passwd" as root, but it didn't help... :(
How can I enter the default blank password?

Stephen
05-07-2003, 12:23 AM
Try sudo passwd or sudo < app >.

Rootman
05-13-2003, 10:12 PM
Try this script, prompts and all:


#! /bin/bash
# name beroot
clear
echo
echo
echo FIRST: Change the password for root
echo
sudo passwd root
echo
echo Now actually log in as root and run mc
echo
su root -c mc
# remove the -c mc above to NOT run mc