]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/misc-progs/fireinfoctrl.c
httpscert: Increase size of the RSA key to 4096.
[people/teissler/ipfire-2.x.git] / src / misc-progs / fireinfoctrl.c
1 /* IPFire helper program - fireinfoctrl
2 *
3 * This program is distributed under the terms of the GNU General Public
4 * Licence. See the file COPYING for details.
5 *
6 * (c) IPFire Team, 2011
7 *
8 * Simple program that calls "sendprofile" as the root user.
9 *
10 */
11
12 #include <stdlib.h>
13 #include "setuid.h"
14
15 int main(void)
16 {
17 if (!(initsetuid()))
18 exit(1);
19
20 safe_system("/usr/bin/sendprofile");
21
22 return 0;
23 }