Zdenek Styblik
6e6a04f971
Make user User Privilege Limit is within range
...
Despite the fact we could leave this up to IPMI stack, we won't do that.
Therefore, is_ipmi_user_priv_limit() is added and user provided value checked.
2014-12-20 13:57:06 +01:00
Zdenek Styblik
befb21497f
Create ask_password() and re-use code
...
Commit add function ask_password() which leads to code re-usability and shedding
couple lines of otherwise redundant code.
2014-12-20 13:43:38 +01:00
Zdenek Styblik
1d1ce49bf4
Fix 'user help' output
...
Commit fixes padding of 'user help' output. Also, list of expected values of
privilege leves have been added.
2014-12-19 09:57:49 +01:00
Zdenek Styblik
50bd7d01a8
Don't use tmp variable since it's not necessary in ipmi_user_test()
2014-12-19 08:49:20 +01:00
Zdenek Styblik
4d3decc4c0
Split ipmi_user_main() into smaller functions
...
Commit splits ipmi_user_main() into smaller functions. Hopefully, this will be
better than giant main() function.
2014-12-18 18:40:51 +01:00
Zdenek Styblik
f8ce85ee6c
Clenaup formatting in ipmi_user_main()
2014-12-09 18:59:37 +01:00
Zdenek Styblik
2aa5d8c902
Code cleanup in ipmi_user_main()
...
This is just a tip of an iceberg, really.
2014-12-09 18:59:36 +01:00
Zdenek Styblik
3c34aa0e1d
Cleanup formatting in ipmi_user_main()
2014-12-09 18:59:36 +01:00
Zdenek Styblik
a58a627fae
Remove trailing white-spaces in ipmi_user.c
2014-12-09 18:59:36 +01:00
Petter Reinholdtsen
c18ec02f33
Move all files one level up in the file hierarcy, to avoid the useless ipmitool directory.
2014-02-05 17:30:32 +01:00