Re: Users and groups kept after a port deinstallation

2010-05-24 Thread Alexander Churanov
2010/5/23 jhell jh...@dataix.net: That shouldn't actually be to hard. If a utility like the three main upgrade tools that are being used the most right now would export a variable for say UPGRADING=yes then the uninstall script could check against that to decide whether or not the port is

Re: Users and groups kept after a port deinstallation

2010-05-24 Thread Garrett Cooper
On May 24, 2010, at 9:22 AM, Alexander Churanov wrote: 2010/5/23 jhell jh...@dataix.net: That shouldn't actually be to hard. If a utility like the three main upgrade tools that are being used the most right now would export a variable for say UPGRADING=yes then the uninstall script could

Re: Users and groups kept after a port deinstallation

2010-05-23 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23/05/2010 02:50:00, Ade Lovett wrote: On May 22, 2010, at 16:39 , Anonymous wrote: Such unused entries in passwd add clutter. It in turn makes managing users more complex. You have to remember which users are created by you and which ones

Re: Users and groups kept after a port deinstallation

2010-05-23 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23/05/2010 04:47:49, jhell wrote: But if a port can install a user there is no reason that it can not uninstall a user via pw(8) that is available from bsd.commands.mk after checking a recorded md5(1) sum that it could create upon installation

Re: Users and groups kept after a port deinstallation

2010-05-23 Thread RW
On Sat, 22 May 2010 23:21:35 -0400 jhell jh...@dataix.net wrote: You being the originator of the thread called Users and groups kept after a port deinstallation which implies to me that you had a problem with users left behind on a system am I correct ? No, and the OP and I have different

Re: Users and groups kept after a port deinstallation

2010-05-23 Thread RW
On Sun, 23 May 2010 07:57:36 +0400 Anonymous swel...@gmail.com wrote: You don't have to remember, just look at the UID/GID values, ordinary users start at 1001, ports create UIDs 1000. You're presuming non-ordinary users are created only by ports framework. That's not always the case. I

Re: Users and groups kept after a port deinstallation

2010-05-23 Thread jhell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 23 May 2010 02:02, Matthew Seaman wrote: In Message-Id: 4bf8c4f8.9090...@infracaninophile.co.uk On 23/05/2010 04:47:49, jhell wrote: But if a port can install a user there is no reason that it can not uninstall a user via pw(8) that is

Re: Users and groups kept after a port deinstallation

2010-05-23 Thread Chuck Swiger
Hi-- On May 22, 2010, at 10:59 PM, Matthew Seaman wrote: OpenBSD has a convention that all system user accounts start with a '_' character. There are a few accounts in UIDs that have adopted that, but no great stampede to adopt the idea despite most people agreeing with it. That convention

Re: Users and groups kept after a port deinstallation

2010-05-23 Thread Doug Barton
On 05/23/10 09:24, jhell wrote: That shouldn't actually be to hard. If a utility like the three main upgrade tools that are being used the most right now would export a variable for say UPGRADING=yes then the uninstall script could check against that to decide whether or not the port is being

Re: Users and groups kept after a port deinstallation

2010-05-22 Thread jhell
On 05/21/2010 20:08, Garrett Cooper wrote: On Fri, May 21, 2010 at 4:53 PM, RW rwmailli...@googlemail.com wrote: On Fri, 21 May 2010 16:23:18 +0100 Florent Thoumie f...@xbsd.org wrote: On Fri, May 21, 2010 at 11:11 AM, David DEMELIER demelier.da...@gmail.com wrote: Hi, I used pkgsrc for a

Re: Users and groups kept after a port deinstallation

2010-05-22 Thread David DEMELIER
2010/5/22 Garrett Cooper yanef...@gmail.com: On Fri, May 21, 2010 at 4:53 PM, RW rwmailli...@googlemail.com wrote: On Fri, 21 May 2010 16:23:18 +0100 Florent Thoumie f...@xbsd.org wrote: On Fri, May 21, 2010 at 11:11 AM, David DEMELIER demelier.da...@gmail.com wrote: Hi, I used pkgsrc

Re: Users and groups kept after a port deinstallation

2010-05-22 Thread RW
On Sat, 22 May 2010 03:29:38 -0400 jhell jh...@dataix.net wrote: Having unused logins on a system is bad! Why? ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to

Re: Users and groups kept after a port deinstallation

2010-05-22 Thread RW
On Sat, 22 May 2010 07:58:38 -0400 jhell jh...@dataix.net wrote: On 05/22/2010 07:08, RW wrote: On Sat, 22 May 2010 03:29:38 -0400 jhell jh...@dataix.net wrote: Having unused logins on a system is bad! Why? For one example: This opens up a point of possible access to the

Re: Users and groups kept after a port deinstallation

2010-05-22 Thread jhell
On 05/22/2010 08:42, RW wrote: On Sat, 22 May 2010 07:58:38 -0400 jhell jh...@dataix.net wrote: On 05/22/2010 07:08, RW wrote: On Sat, 22 May 2010 03:29:38 -0400 jhell jh...@dataix.net wrote: Having unused logins on a system is bad! Why? For one example: This opens up a point of

Re: Users and groups kept after a port deinstallation

2010-05-22 Thread RW
On Sat, 22 May 2010 11:42:53 -0400 jhell jh...@dataix.net wrote: Having unused logins on a system is bad! Why? For one example: This opens up a point of possible access to the system in which its integrity could be jeopardized. What all the implications are of this is out of

Re: Users and groups kept after a port deinstallation

2010-05-22 Thread Anonymous
RW rwmailli...@googlemail.com writes: On Sat, 22 May 2010 11:42:53 -0400 jhell jh...@dataix.net wrote: This is more of a best practices case than what the implications of leaving users in the master.passwd are. Why is it best practice? Why add extra complexity to solve a problem that

Re: Users and groups kept after a port deinstallation

2010-05-22 Thread RW
On Sun, 23 May 2010 03:39:53 +0400 Anonymous swel...@gmail.com wrote: RW rwmailli...@googlemail.com writes: On Sat, 22 May 2010 11:42:53 -0400 jhell jh...@dataix.net wrote: This is more of a best practices case than what the implications of leaving users in the master.passwd are.

Re: Users and groups kept after a port deinstallation

2010-05-22 Thread Ade Lovett
On May 22, 2010, at 16:39 , Anonymous wrote: Such unused entries in passwd add clutter. It in turn makes managing users more complex. You have to remember which users are created by you and which ones are created by ports. Irrespective of the UID/GID stuff mentioned elsewhere, merely go

Re: Users and groups kept after a port deinstallation

2010-05-22 Thread jhell
the relevance. You being the originator of the thread called Users and groups kept after a port deinstallation which implies to me that you had a problem with users left behind on a system am I correct ? If so then why do you keep insisting on arguing a point that says you really do not care

Re: Users and groups kept after a port deinstallation

2010-05-22 Thread jhell
On 05/22/2010 21:50, Ade Lovett wrote: On May 22, 2010, at 16:39 , Anonymous wrote: Such unused entries in passwd add clutter. It in turn makes managing users more complex. You have to remember which users are created by you and which ones are created by ports. Irrespective of the

Re: Users and groups kept after a port deinstallation

2010-05-22 Thread Anonymous
RW rwmailli...@googlemail.com writes: On Sun, 23 May 2010 03:39:53 +0400 Anonymous swel...@gmail.com wrote: RW rwmailli...@googlemail.com writes: On Sat, 22 May 2010 11:42:53 -0400 jhell jh...@dataix.net wrote: This is more of a best practices case than what the implications of

Users and groups kept after a port deinstallation

2010-05-21 Thread David DEMELIER
Hi, I used pkgsrc for a while on NetBSD. I was used to the pkgsrc notifications about the users and groups leaves, when some ports are removed these leaves are not used anymore. e.g pulseaudio needs some users on the system. Then the pkgsrc framework says to the user that are some users not used

Re: Users and groups kept after a port deinstallation

2010-05-21 Thread Florent Thoumie
On Fri, May 21, 2010 at 11:11 AM, David DEMELIER demelier.da...@gmail.com wrote: Hi, I used pkgsrc for a while on NetBSD. I was used to the pkgsrc notifications about the users and groups leaves, when some ports are removed these leaves are not used anymore. e.g pulseaudio needs some users

Re: Users and groups kept after a port deinstallation

2010-05-21 Thread RW
On Fri, 21 May 2010 16:23:18 +0100 Florent Thoumie f...@xbsd.org wrote: On Fri, May 21, 2010 at 11:11 AM, David DEMELIER demelier.da...@gmail.com wrote: Hi, I used pkgsrc for a while on NetBSD. I was used to the pkgsrc notifications about the users and groups leaves, when some ports are

Re: Users and groups kept after a port deinstallation

2010-05-21 Thread Garrett Cooper
On Fri, May 21, 2010 at 4:53 PM, RW rwmailli...@googlemail.com wrote: On Fri, 21 May 2010 16:23:18 +0100 Florent Thoumie f...@xbsd.org wrote: On Fri, May 21, 2010 at 11:11 AM, David DEMELIER demelier.da...@gmail.com wrote: Hi, I used pkgsrc for a while on NetBSD. I was used to the