diff options
author | Angelo Naselli <anaselli@linux.it> | 2013-12-08 22:38:20 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2013-12-08 22:38:20 +0100 |
commit | 24645c373839a716543e40989012fcb1fcd82a6b (patch) | |
tree | a781e7e3a5710786df66eed216bd747bad96ee60 /modules/usermanager/mgaAddUser | |
parent | fac570b50eefd42c052446e1de3c7b30a229de8b (diff) | |
download | colin-keep-24645c373839a716543e40989012fcb1fcd82a6b.tar colin-keep-24645c373839a716543e40989012fcb1fcd82a6b.tar.gz colin-keep-24645c373839a716543e40989012fcb1fcd82a6b.tar.bz2 colin-keep-24645c373839a716543e40989012fcb1fcd82a6b.tar.xz colin-keep-24645c373839a716543e40989012fcb1fcd82a6b.zip |
First attempt to port drakuser, welcome usermanager with mgaAddUser as
drakadduser but username with dot are allowed
TODO some GID/UID tests have to be ported yet
improve layout
Diffstat (limited to 'modules/usermanager/mgaAddUser')
-rwxr-xr-x | modules/usermanager/mgaAddUser | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/usermanager/mgaAddUser b/modules/usermanager/mgaAddUser new file mode 100755 index 0000000..34cd031 --- /dev/null +++ b/modules/usermanager/mgaAddUser @@ -0,0 +1,21 @@ +#!/usr/bin/perl + +use lib qw(/usr/lib/libDrakX); + +use standalone; #- warning, standalone must be loaded very first, for 'explanations' + +use common; + +use AdminPanel::Shared; +use AdminPanel::Users::GUsers; + +use yui; + +my $wm_icon = "/usr/share/icons/userdrake.png"; + +yui::YUI::app()->setApplicationTitle(N("Mageia Users Management Tool")); +yui::YUI::app()->setApplicationIcon($wm_icon); + +AdminPanel::Users::GUsers::addUserDialog(); + +1;
\ No newline at end of file |