You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/08/14 16:54:13 UTC
[jira] [Commented] (VCL-698) Linux.pm delete_user may fail to
detect network mounted home directory and to clean sudoers
[ https://issues.apache.org/jira/browse/VCL-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14097040#comment-14097040 ]
ASF subversion and git services commented on VCL-698:
-----------------------------------------------------
Commit 1617962 from [~fapeeler] in branch 'vcl/trunk'
[ https://svn.apache.org/r1617962 ]
VCL-698
delete_user was failing on a non-critical return value
> 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
> Fix For: 2.4
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)