I plan to translate gecco’s post in English
@gecco could you add rpm part soon? it would be awesome.
Good Job Bro!
Keep “Moduling” LoL
for add a new and fantastic feature on my module i try to make this
$command = “db accounts show domadmins”;
$admin = shell_exec($command);
echo “|” . $admin . “|”;
but don’t work
if i put a php file in /tmp and then lauch it work
[root@server tmp]# cat prova.php<?php $command = "db accounts show domadmins"; $admin = shell_exec($command); echo "|" . $admin . "|"; ?>
[root@server tmp]# php prova.php
db is a privileged command: to execute it from the server-manager, run “sudo”!
there is another command, or trick, to found all user into the group domadmins?
The Unix way:
getent group domadmins
The Nethgui way:
thanks, i change my code. now is:
$command = “getent group domadmins | cut -d “:” -f4”;
/* thanks to @davidep */
Absolutely great! Your little module becomes a project itself… I love it!
it’s in english and in italian, i make two different file:
[root@server Language]# pwd
[root@server Language]# find ./ -iname SambaStatus
i think it is sufficient… or not?
Well, English was enough …because other languages are translated on Transifex.
To prepare your code for localization, a GitHub repository would help me on uploading the source strings to Transifex. Could you share your code on GitHub?
For more details:
i don’t know nothing about nethgui way, where i can found some documentation?
Have a look at
do you call it documentations?
Feel free to try and follw those directions and extend the documentation with the information you come across. I am sure @davidep will help you with any step you have trouble with…