@Lenain Do you use FOG only to send the WOL?
Posts made by Fernando Gietz
-
RE: Create users who can only use the function WOL
-
RE: Create users who can only use the function WOL
@Lenain said in Create users who can only use the function WOL:
Is it possible to hide “Access Controls” to?
Yes, you can add a new rule.
- Access Control -> Add new rule
Rule Type: MAIN_MENU Parent: main Node Parent: [empty] Value: accesscontrol
Is it possible to hide “snapins” or “printers” in group management? In “Basic Tasks” could we only show “Wake-Up”?
No, the rules are applied to the icons of the top toolbar (MAIN_MENU rules) and to the items of the Principal Menu section (SUB_MENULINK rules)
-
RE: FOG Reports
Jajaja @george1421 your are a silent man.
@ConJon You can see them in Reports -> Inventory Log. The web shows you a little info about them: Hostname, MAC, Memory, Model and Serial number. If you export the data to CSV file, you can see more info. -
RE: Create users who can only use the function WOL
In the new version appears a new option in the user edit page. From here you can assign a role to the user too.
When you assign a role to an user, the rules are applied inmediately. Be sure that the icons of About, Printer and Storage desappear.
The rules are applied:
-
RE: Create users who can only use the function WOL
Ok @Lenain , step by step
Do you see the new “Role” column in the user page?
-
RE: Create users who can only use the function WOL
@Lenain Do you update the version from working branch, no? In the plugin description, does appear “The access control can restrict using different roles and rules. Version 1.5.5”?
-
RE: Create users who can only use the function WOL
That is very strange!!
Let’s go to begin again. We will to reset all
- Unistall the plugin
- Verify that the tables roleRuleAssoc, roleUserAssoc, roles and rules are being erased from the database by the uninstall process.
- Reinstall the plugin
- To test if the plugin works fine, we will not create a new role, we use the roles that the install process create. For example, administrator role.
- After install the plugin, go to users page -> List all Users. Does appear a new column named “Role”?
- Go to AccessControl Page -> List all Roles. Select Administrator role.
- Go to Rules tab -> Check the checkbox to see the rules that can be assign.
- Select MAIN_MENU-about, MAIN_MENU-printer adn MAIN_MENU-storage.
- Go to Members tab -> Check the checkbox to see the users that can be added.
- Select fog user (for example, you can select profs users if you want). Does appear the fog user in the list of members?
- Go to User Page -> list all users. Does appear in the role column the name of the role in fog row?
- Any error log in the apache log?
-
RE: Create users who can only use the function WOL
Hi @Lenain ,
When you try to assign an user, does the php log throw an error?
Your version is 1.5.5, no? Can you update it from working branch?
-
RE: Site plugin not working at FOG 1.5.5
@ragnurenson said in Site plugin not working at FOG 1.5.5:
Only thing, but not really a problem, is that I’m using your other plugin, the accesscontrol one, and when I add the site plugin , and configure it, adding hosts and users to it, the user that was at accescontrol plugin, disappear, but if I add then again to accesscontrol, the two plugins are working.
No rules or roles are modify, but only the users asignament to role.
Is a curious thing! I will take a look, maybe the two plugins are interacting with each others. Are you suing LDAP plugin too?
-
RE: Site plugin not working at FOG 1.5.5
Hi @ragnurenson the changes are been pushed in the working branch of git. Enjoy them!
-
RE: Site plugin not working at FOG 1.5.5
Good news @ragnurenson !! I have found some bugs in FOG 1.5.5 version and I am fixing them. Briefly I will update the changes to git repository.
-
RE: Access Control Plugin assigning users fails
Hi @quinniedid ,
In this post you can find info about how works and how create rules in this plugin.
https://forums.fogproject.org/topic/9624/control-access-plugin/14
With this plugin you can restrict the access to the menus and submenus but not to specific host and groups. To do this maybe you can use the Site plugin but, unfortunately, this plugin doesn’t work with the 1.5.5 version. I am working to fix the bugs.
-
RE: Create users who can only use the function WOL
@Lenain Do you assign the prof user (uId = 4) to the Profs role? or to technician role (rID = 2)
#select * from roles;
This Profs role, has any rule associated?
Has technician role any rule associated?#select * from roleRuleAssoc;
-
RE: Clonar particiones
Hi @linuxba ,
I have the same esnario in my university. I can tell you a workaround to solve this or how we solve this problem in our university.
- Create a complete image of your dual system:
Imagen name: Dual_Image
Image type: One disk not resizable
OS: windows 10
Partitioning: Everything - Upload it to the server. FOG will create you a new folder in /images, in this case:
/images/Dual_Image
This folder has the different partition files, for example:
- d1.has_grub
- d1.mbr
- d1p1.img -> UEFI or boot partition
- d1p2.img -> windows system
- d1p4.ebr
- d1p5.ebr
- d1p5.img -> Ubuntu parition
- d1.partitions
- Now we will create a new image definition:
Imagen name: Ubuntu_Partition5
Image type: One disk not resizable
OS: windows 10
Partitioning: Partition 5 - This step in not necessary but I recommended you. Assign this image to your PC and upload this image. In this way FOG will create you the folder in the server, /images/Ubuntu_Partition5.
- Connect to the server via ssh
- cd /images/Ubuntu_Partition5. If you don’t do the 4 step, you need create the folder and give permission 777.
- erase the file d1p5.img and do a soft link:
ln -s …/Dual_Image/d1p5.img .
You can do, if you want, more soft links to the other files: d1.has_grub, d1.partitions, …
With this method, is a little rustic but practice, you only manage one image, Dual_Image, because with the links the Ubuntu_Partition5 is updated automatically.
In our university we have windows images and dual images, with different disk sizes but, at last, the d1p2.img and d1p5.img files are always the same. Updating the windows images and ubuntu images, I update all images versions (for small disks (160GB), big disks (500GB)).
If you want to recovery only the linux partition in one PC, assign the Ubuntu_Partition5 image to the PC and deploy it.
- Create a complete image of your dual system:
-
RE: Site plugin not working at FOG 1.5.5
Hi @ragnurenson ,
I will try to see what happen with it and what is fails.
-
RE: Site Plugin
Hi @ragnurenson ,
Actually I don’t use the site plugin, then I don’t know that it fails. I will try to see what happens with it, and fix the bug -
RE: Create users who can only use the function WOL
@Lenain Can you see all users in the Users page (Users -> List All Users)?
Please, can you show the users table in the database? -
RE: FOG 1.6 Search text box doesnt work
I open the FOG web UI from other browser (in this case Chrome, normally I use Firefox), and same situation.
I don’t understand very well how works it. I logon successfully and appears the dashboard, if I try to search something (for example a hostname) in the search text box, how knows FOG what I am searching and where shows me the results?
-
FOG 1.6 Search text box doesnt work
Hi,
I have updated my FOG 1.5.5 server to 1.6 from working-1.6 branch. I try to use the search text box that appears in the top of the window but doesn’t show nothing and shows a message: “The results could not be loaded”