user detection in `install` is busted on some Linux systems

Description

A user reported in IRC that his `id` command outputs the following:

UID=1000(mitch) GID=1000(mitch) groepen=1000(mitch),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),120(lpadmin),121(sambashare)

...which is not handled by the regular expression we're using in `install`. I don't know why we're not using `id -u -n` but we should be. As far as I know it works everywhere we support OpenNMS.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Ron Roskens October 25, 2016 at 3:32 PM

'id -u -n' doesn't work on Solaris 10. It does on Solaris 11.

Benjamin Reed October 25, 2016 at 3:28 PM

Fixed in foundation.

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

PagerDuty

Created October 25, 2016 at 3:22 PM
Updated January 27, 2017 at 3:47 PM
Resolved October 25, 2016 at 3:28 PM