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

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

 




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@xxxxxxxxxx>
> ---
>  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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]