843 reputation
925
bio website beatgammit.com
location Provo, UT
age 26
visits member for 3 years, 4 months
seen Oct 25 at 18:17

I am studying Computer Science at Brigham Young University. I been interested in computers and computer programming since I was a teenager.


Jun
23
comment What is the difference between /etc and /usr/local/etc
Is there a reason why /usr/local/etc isn't used very often? I like the idea of keeping the config files at the same level of the filesystem as the binary.
Jun
23
comment What is the difference between /etc and /usr/local/etc
@EightBitTony- Are there any other platforms that have different conventions? I'm already making different start-up scripts for the different platforms (upstart, systemd, init).
Jun
23
comment What is the difference between /etc and /usr/local/etc
@psusi- Good point, I'll make sure to make that the default. Perhaps I'll detect when my make install is run as root or regular user. If root, I'll default to /usr/local, if user, to the users home directory. I'll also add configuration settings.
Jun
23
comment What is the difference between /etc and /usr/local/etc
Yeah, I figure allowing customization is good, but I was wondering if /usr/local/etc is standard for config files for those sorts of programs.
Jun
23
asked What is the difference between /etc and /usr/local/etc
Jun
22
awarded  Editor
Jun
22
comment Writing basic systemd service files
Thanks! With your help and the blog I found, I was able to get a basic one working. Systemd seems a lot nicer than upstart or the old systemv init daemon.
Jun
22
accepted Writing basic systemd service files
Jun
21
comment Writing basic systemd service files
The man pages will be useful (I wish it was cleaner though), but is there a basic system file tutorial? Like which parts are necessary, which parts are recommended, and which parts are optional. The man pages seem to assume that I'm already an expert in systemd system files, which I am not.
Jun
21
asked Writing basic systemd service files
Jun
20
awarded  Scholar
Jun
20
accepted Custom PAM modules and security considerations
Jun
20
comment Custom PAM modules and security considerations
Ok, thanks!! Now I understand it all. I thought that perhaps my distribution had a custom fall-back procedure build in to their version of PAM or something. Thanks for clearing this up.
Jun
20
awarded  Student
Jun
20
awarded  Supporter
Jun
20
comment Custom PAM modules and security considerations
This really cleared stuff up for me. Do some distributions use the common-* files as a backup for the service-specific config files? When I put my module in common-auth, it was run even when running sudo.
Jun
20
comment Custom PAM modules and security considerations
Well, my application is a daemon that syncs a user's account with the network if the logged-in user is a network user. I think as long as I don't allow communication between the daemon and the PAM module I should be ok.
Jun
19
asked Custom PAM modules and security considerations
Jun
19
awarded  Autobiographer