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 2013/10/16 19:55:47 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=13797057#comment-13797057 ] 

ASF subversion and git services commented on VCL-698:
-----------------------------------------------------

Commit 1532832 from [~fapeeler] in branch 'vcl/trunk'
[ https://svn.apache.org/r1532832 ]

VCL-698

skip useradd if user's home directory is on network mounted storage. Prevousily this steps are to delete and then try to re-add the user's account even if it was network mounted.
this might need to be re-addressed in the future if new accounts need to be created on network related storage. The basic assumption is that the network based home dir would already exist.

> 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 was sent by Atlassian JIRA
(v6.1#6144)