1 /***************************************************************************
2 * Copyright 2003 Braden MacDonald <bradenm_k@shaw.ca> *
3 * Copyright 2003 Ravikiran Rajagopal <ravi@ee.eng.ohio-state.edu> *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License (version 2) as *
7 * published by the Free Software Foundation. *
9 ***************************************************************************/
14 #include <QtCore/QByteRef>
15 #include <kdesu/process.h>
17 class ChfnProcess
: public KDESu::PtyProcess
21 enum Errors
{ ChfnNotFound
=1, PasswordError
=2, MiscError
=3 };
23 int exec(const char *pass
, const char *name
);
25 QByteArray
error() { return m_Error
; }
28 int ConverseChfn(const char *pass
);