Opened 12 years ago

Last modified 7 years ago

#37002 assigned defect

leafnode: plist files should use <UserName> rather than sudo

Reported by: dave@… Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: leafnode

Description

The plist files generated for leafnode contain fragments like

                <key>Program</key>                      <string>/usr/bin/sudo</string>
                <key>ProgramArguments</key>
                <array>
                        <string>/usr/bin/sudo</string>
                        <string>-u</string>
                        <string>_news</string>
                        <string>/opt/local/sbin/leafnode</string>
                </array>

but presumably the following would be more appropriate

                <key>Username</key> <string>_news</string>
                <key>ProgramArguments</key>
                <array>
                        <string>/opt/local/sbin/leafnode</string>
                </array>

Change History (2)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: openmaintainer@… krischik@… removed
Owner: changed from macports-tickets@… to krischik@…
Summary: plist files should use <UserName> rather than sudoleafnode: plist files should use <UserName> rather than sudo

comment:2 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Owner: krischik@… deleted
Status: newassigned
Note: See TracTickets for help on using tickets.