On 01/17/2012 07:56 AM, shreyas m wrote:
I am developing a c based application which needs authenticating the
user as a root- user. I'm wiling to provide the responsibility of
password verification to fedora os, as in the case of built in
applications such as NFS,HTTP. I would prefer a similar interface for
authentication as provided by NFS while opening it. Is there
any possibility to do it? By giving a link to a system related file or
creating a file  in some location so that when i open my application
authentication of the root user should be done in a similar way as that
of NFS or HTTP.

Your question is very unclear, especially since neither NFS nor HTTP authenticate the root user by default.

If you'd like to prompt for a password for authentication, then you should be using PAM to process it.

https://www.google.com/search?q=linux+pam+tutorial
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to