1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 09:42:41 +01:00
phorge-phorge/src
epriestley b3394c53d8 Detect goofy sudo -n output under OSX
Summary: See rP2fedb6f941d8. We might need a more general version of this since we do some `sudo` stuff elsewhere, but at least on my machine `sudo -n` exits with code 0 when the target user exists but needs a password.

Test Plan:
  - Tried to run daemons as root, with no automatic sudo to root. Got a bad result before (phd believed it had executed the daemons) and a good result afterward (phd recognized that sudo failed).
  - Tried to run daemons from root, as a non-root user. Got a good result in both cases.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: fabe, epriestley

Differential Revision: https://secure.phabricator.com/D11041
2014-12-23 14:45:07 -08:00
..
__tests__ Accept Conduit tokens as an authentication mechanism 2014-12-15 11:14:41 -08:00
aphront Make ConduitCall always local/in-process 2014-12-10 15:27:07 -08:00
applications Detect goofy sudo -n output under OSX 2014-12-23 14:45:07 -08:00
docs Allow Almanac services to be locked 2014-12-18 14:31:36 -08:00
extensions Add src/extensions/ to Phabricator 2013-08-14 15:38:06 -07:00
infrastructure Differential - tighten up access of Differential data from other applications 2014-12-19 14:54:15 -08:00
view Remove payments sprite 2014-12-20 09:44:53 -08:00
__phutil_library_init__.php Delete license headers from files 2012-11-05 11:16:51 -08:00
__phutil_library_map__.php Properly create Elasticsearch index 2014-12-22 13:10:52 -08:00