[libvirt] [PATCH 08/17] util: add function for looking up the user shell

John Ferlan jferlan at redhat.com
Wed Apr 27 17:47:49 UTC 2016



On 04/14/2016 11:22 AM, Daniel P. Berrange wrote:
> Add a virGetUserShell wrapper around virGetUserEnt, that
> returns the shell field.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/libvirt_private.syms |  1 +
>  src/util/virutil.c       | 51 ++++++++++++++++++++++++++++++++++++++++--------
>  src/util/virutil.h       |  1 +
>  3 files changed, 45 insertions(+), 8 deletions(-)
> 

The only question I have is should there be a virGetUserShellByUID
similar to GetUserDirectory and GetUserDirectoryByUID?  Although it
seems like it would be overkill.

ACK -

John




More information about the libvir-list mailing list