On 04/19/2010 04:33 PM, Chris Lumens wrote:
--- anaconda | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/anaconda b/anaconda index 68e5fbb..569e6b3 100755 --- a/anaconda +++ b/anaconda @@ -465,6 +465,10 @@ if __name__ == "__main__": log = logging.getLogger("anaconda") stdoutLog = logging.getLogger("anaconda.stdout") + if os.geteuid() != 0: + stdoutLog.error("anaconda must be run as root.") + sys.exit(0) + # pull this in to get product name and versioning import product
Ack. _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list