pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/ir-account



Module Name:    pkgsrc
Committed By:   gdt
Date:           Wed May  4 22:26:56 UTC 2011

Modified Files:
        pkgsrc/sysutils/ir-account: Makefile distinfo

Log Message:
Update to 0.2. (Changes are due to Richard Hansen of BBN.)

New in Version 0.2 (released 2011-04-15):

    * Bug fixes:
      + extract-account:
        - account extraction left temp files if authorized_keys had
          the uchg flag set
        - if the user didn't actually exist, a bogus tarball would be
          created anyway
      + install-account:
        - the home directory was assumed to be /home/${USER}, which
          meant that root's files weren't installed properly
        - If the user already existed, the order of entries in the
          passwd database wasn't preserved.  This caused problems with
          root accounts because getpwuid(0) started returning the
          passwd entry for the 'toor' user (breaking "are you root?"
          tests in various scripts).
      + sudo-add:
        - if sudo-add couldn't find the sudoers file or couldn't read
          it, it didn't remove existing entries when adding or
          removing a user (adding duplicate entries if adding a user
          that was already there, and silently failing when removing a
          user)
        - if sudo-add could find and read the sudoers file:
          * it would remove the wrong existing entry if the username
            of the user being added/removed started with the same
            characters as another user higher in the sudoers file
            (e.g., adding or removing foo would remove user foobar if
            foobar was higher in the sudoers file)
          * 'sudo-add -r' would only remove the first instance of a
            user from sudoers (a particular problem given the above
            bug)
        - sudo-add wasn't preserving order if the user was already in
          sudoers (order can be significant in sudoers)
    * Less verbose output.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/ir-account/Makefile
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/sysutils/ir-account/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index