Date: Fri, 06 Jan 2006 09:36:05 -0500 From: JD Arnold <jdarnold@buddydog.org> To: freebsd-questions@freebsd.org Subject: Prompt for root password Message-ID: <dplv84$pnt$1@sea.gmane.org>
next in thread | raw e-mail | index | archive | help
I'm writing a program that needs to write a file and I'd like to have it ask for the root password and run as root, like many of the system config applications do. Do I have to write something special, or is there some way to tell KDE (or GNOME) to prompt for the root password? Is this what a "setuid" program is? -- Jonathan Arnold (mailto:jdarnold@buddydog.org) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dplv84$pnt$1>