Eric> I need to get the root password from the user to exec a program Eric> which requires root privileges. Why not just exec su or sudo and let them worry about password problems? -- Skip Montanaro (skip at mojam.com) http://www.mojam.com/ http://www.musi-cal.com/