You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Andy Kurth (JIRA)" <ji...@apache.org> on 2013/05/31 22:31:20 UTC

[jira] [Created] (VCL-698) Linux.pm delete_user may fail to detect network mounted home directory and to clean sudoers

Andy Kurth created VCL-698:
------------------------------

             Summary: Linux.pm delete_user may fail to detect network mounted home directory and to clean sudoers
                 Key: VCL-698
                 URL: https://issues.apache.org/jira/browse/VCL-698
             Project: VCL
          Issue Type: Improvement
          Components: vcld (backend)
            Reporter: Andy Kurth
            Assignee: Andy Kurth
            Priority: Minor


delete_user tries to detect if the user's home directory is mounted on a network share by calling df and then checking if the output contains 'dev'.  This can cause incorrect results under a few cirmcumstances.  For example, if the user's name contains 'dev'.

There are also cases where lines for the user may fail to be removed from sudoers.  Example, if there's a tab after the username.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira