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(a)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