diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-04-14 18:42:48 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-04-14 18:42:48 +0200 |
commit | c0cffd791bfaffaad631076141fcdfc000adcac1 (patch) | |
tree | 18aa64564a5c0abaf8fb908041de106cca11548b /util/iuser.c | |
parent | e3a9bfc89256e939ab1c1f56f6961b6ee15aa84a (diff) |
New upstream version 3.0.4upstream/3.0.4
Diffstat (limited to 'util/iuser.c')
-rw-r--r-- | util/iuser.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/util/iuser.c b/util/iuser.c index 7cbe661..e6a7b29 100644 --- a/util/iuser.c +++ b/util/iuser.c @@ -57,7 +57,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. /* global variables */ static char * progname = "iuser"; -static char * progver = "3.03"; +static char * progver = "3.04"; static char fdebug = 0; static char fcanonical = 0; static char bdelim = '|'; @@ -69,10 +69,12 @@ extern int verbose; /*see ipmilanplus.c*/ extern void lprintf(int level, const char * format, ...); /*ipmilanplus.c*/ -int GetUserInfo(uchar unum, uchar chan, uchar *enab, uchar *priv, char *uname, char fdebug); +/* from ilan.c */ +char *parse_priv(uchar c); +int DisableUser (int unum, uchar chan); int SetPasswd(int unum, char *uname, char *upswd, uchar chan, uchar priv); int GetBmcEthDevice(uchar lan_parm, uchar *pchan); -char *parse_priv(uchar c); +int GetUserInfo(uchar unum, uchar chan, uchar *enab, uchar *priv, char *uname, char fdebug); static void printf_user_usage(void) { |