PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to prevent reboot real-time target

Hello,

 

I have followed the recommendations on that page : http://zone.ni.com/devzone/cda/tut/p/id/13272 with my new PXI system.

 

I have set and admin password and removed all permissions (including reboot) from the group "everyone" except for the RSRead. I would have thought this would prevent restarting the PXI from MAX without being logged as admin, but it does not.

For the other settings, it seems to work : from MAX (or the web config tool), it says that to edit these settings, you need to log in with an account that has permission to set system configuration.

 

So how do I prevent reboot of teh system by a non admin user?

 

Thanks

 

0 Kudos
Message 1 of 12
(5,781 Views)

Hi,

 

Take a look at this document: KnowledgeBase: Password Protect Reboots and Settings on a LabVIEW Real-Time System. Make sure that you've clicked the button for "Password Protect Resets." Post back here if you're still having problems getting the correct behavior.

 

Tim W.

Applications Engineering

National Instruments

http://www.ni.com/support 

0 Kudos
Message 2 of 12
(5,771 Views)

This knowledge base correspond to an older version of MAX - this option does not exit anymore- I beleive this has to be configured from the web configuration tool, which I did, but it does not prevent reboot.

0 Kudos
Message 3 of 12
(5,768 Views)

You are correct (I'll mark that KnowledgeBase article for updating). A new way to do it is to ftp into your target, copy the ni-rt.ini file to your desktop, open it in a text editor and change the line "Protect Reboot" to true (I believe this is what the old MAX configuration did) then save the ini file and copy it back on to the controller, replacing the original. You will need to restart the controller to get the new ini file to be in memory so that you won't be able to reboot the RT controller from a non-admin account in MAX.

 

Tim W.

Applications Engineering

National Instruments

http://www.ni.com/support 

0 Kudos
Message 4 of 12
(5,765 Views)

There is no such key in the ini file. In which section should it be added? More generally, I feel like it should have orked via the web configuration utility, without having to modify an ini file... In teh mean time, I'll use teh in fiel method, but can you please check  this and if this is a bug, make sure it gets reported ...

0 Kudos
Message 5 of 12
(5,756 Views)

It should be under [SYSTEMSETTINGS] although, that may just be for VxWorks targets (such as cRIO), I checked a Pharlap contoller (PXI) and it didn't have the token. You might try adding "Protect_Reboot=FALSE", although I haven't tested it yet. I will certainly be looking in to this more and will probably file a bug on it once we figure out what's going on.

 

Tim W.

Applications Engineering

National Instruments

http://www.ni.com/support 

0 Kudos
Message 6 of 12
(5,752 Views)

ok, then I'd rather not mess up my system- I'll wait until you confirm this. It is not so urgent for me to prevent reboot from non authorized usres. But it will in the future

0 Kudos
Message 7 of 12
(5,750 Views)

Before I go to test this with actual hardware can you tell me what model of controller you're using? That way I can make sure the environment will be similar.

 

Tim W.

Applications Engineering

National Instruments

http://www.ni.com/support 

0 Kudos
Message 8 of 12
(5,745 Views)

PXI-8102 celeron T3100 1.9 GHZ RT on PXI-1036 chassis.

0 Kudos
Message 9 of 12
(5,736 Views)

I tested this and adding the Protect_Reboot="TRUE" key under [SYSTEMSETTINGS] does the trick. Just make sure you have your admin account configured with a password and not the unconfigured admin profile with a blank password. Another interesting note, adding the Protect_Reboot key enabled the "Protect Restarts" checkbox in MAX. Let me know if that works for you or if you run in to any more issues.

 

Tim W.

Applications Engineering

National Instruments

http://www.ni.com/support 

0 Kudos
Message 10 of 12
(5,727 Views)