LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-06-2004, 02:58 PM   #1
EddyHahn
LQ Newbie
 
Registered: Nov 2004
Location: North Bend, WA
Distribution: Suse 10.1 amd64
Posts: 8

Rep: Reputation: 0
Angry HowTo allow a user to call PAM APIs


Hi,
I have written a code to call PAM APIs. The code works as long as I'm logged in as root ( I can authenticae a user with username and password). I want my process to run under a different user account and I want it to be able to call PAM_Authenticate. At this point it fails if I use any other account but root.
Any idea how to grant this right to a user or an application?

Thanks,

Eddy
 
Old 12-07-2004, 01:51 AM   #2
EddyHahn
LQ Newbie
 
Registered: Nov 2004
Location: North Bend, WA
Distribution: Suse 10.1 amd64
Posts: 8

Original Poster
Rep: Reputation: 0
Talking

I've got it! The user account must be in the shadow group, which under the process is running.

Cheers,

Eddy
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PAM: user{add,del} asks for password systemparadox Linux - Security 1 11-19-2005 03:59 PM
PAM obtain user id bob66 Programming 0 04-02-2005 06:52 PM
Using PAM with FreeBSD? New Linux user please help!! urBan_dK *BSD 7 07-22-2004 01:09 PM
PAM set a no user login policy varoquau Linux - Security 2 10-28-2003 06:37 AM
PAM User Login Authentication Failure robeb Linux - Security 5 11-16-2002 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration