/usr/include/inn/newsuser.h is in inn2-dev 2.5.3-3ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | /* $Id: newsuser.h 7703 2008-01-12 09:22:18Z iulius $
*
* Declarations of functions to ensure running as "news" user/group.
*
* By Ivan Shmakov, 2007.
* This code is in the public domain.
*
*/
#ifndef RUNASUSER_H
#define RUNASUSER_H 1
#include "config.h"
#include "clibrary.h"
int get_news_uid_gid(uid_t *uid, gid_t *gid, bool may_die);
/* The following functions die() on failure. */
void ensure_news_user(bool may_setuid);
void ensure_news_grp(bool may_setgid);
void ensure_news_user_grp(bool may_setuid, bool may_setgid);
#endif
|