You could try 'whoami'. Michael
-- Michael Viron Registered Linux User #81978 Senior Systems & Administration Consultant Web Spinners, University of West Florida At 10:18 AM 10/23/2001 -0500, you wrote: >I'm trying to write a bash script to install some files but it must be run >as root. Is there a way that I can get my script to check to see if it has >root priviledges and if not exit out? > >Want to buy your Pack or Services from MandrakeSoft? >Go to http://www.mandrakestore.com >
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
