Go to Post If you want something done about it, than do something about it. - Tetraman [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-11-2014, 10:22
NRLeuenb's Avatar
NRLeuenb NRLeuenb is offline
Registered User
AKA: Natalie
FTC #10794 (The Spaceballs)
Team Role: Mentor
 
Join Date: Nov 2014
Rookie Year: 2012
Location: Brentwood, CA
Posts: 11
NRLeuenb is an unknown quantity at this point
Beta Testers: Permissions on the RoboRio

Beta Test Teams:

Is it possible to view/read anything in the /dev/ folder once you ssh to the robot? Or do you have to be a specific user? We don't want to write, just read. And are we prevented from running processes external to the main robot process?

Last edited by NRLeuenb : 15-11-2014 at 10:32.
  #2   Spotlight this post!  
Unread 15-11-2014, 11:59
NotInControl NotInControl is offline
Controls Engineer
AKA: Kevin
FRC #2168 (Aluminum Falcons)
Team Role: Engineer
 
Join Date: Oct 2011
Rookie Year: 2004
Location: Groton, CT
Posts: 261
NotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond repute
Re: Beta Testers: Permissions on the RoboRio

Quote:
Originally Posted by NRLeuenb View Post
Beta Test Teams:

Is it possible to view/read anything in the /dev/ folder once you ssh to the robot? Or do you have to be a specific user? We don't want to write, just read. And are we prevented from running processes external to the main robot process?
You have full access to the filesystem through ssh. The user created by NI is "admin" which has admin access to the file system

The admin user has full read/write to the dev directory. You can also make your own users as well.

First and NI do not lock down the file system at all.

You can also execute your own processes, and terminate any processes you wish - obviously that comes with the cautionary of things to ensure u dont terminate or block the robot code.

The only folder which I believe admin cant write too is the /proc folder, but I will have to check that later

Again this has been our experience with the Beta hardware, and FIRST has the right to make changes for the actual production hardware, but I doubt FIRST or NI will change this in the production system because its so close to kick off, so its a good bet that the released version will also have full root access to the filesystem.
__________________
Controls Engineer, Team 2168 - The Aluminum Falcons
[2016 Season] - World Championship Controls Award, District Controls Award, 3rd BlueBanner
-World Championship- #45 seed in Quals, World Championship Innovation in Controls Award - Curie
-NE Championship- #26 seed in Quals, winner(195,125,2168)
[2015 Season] - NE Championship Controls Award, 2nd Blue Banner
-NE Championship- #26 seed in Quals, NE Championship Innovation in Controls Award
-MA District Event- #17 seed in Quals, Winner(2168,3718,3146)
[2014 Season] - NE Championship Controls Award & Semi-finalists, District Controls Award, Creativity Award, & Finalists
-NE Championship- #36 seed in Quals, SemiFinalist(228,2168,3525), NE Championship Innovation in Controls Award
-RI District Event- #7 seed in Quals, Finalist(1519,2168,5163), Innovation in Controls Award
-Groton District Event- #9 seed in Quals, QuarterFinalist(2168, 125, 5112), Creativity Award
[2013 Season] - WPI Regional Winner - 1st Blue Banner

Last edited by NotInControl : 15-11-2014 at 12:09.
  #3   Spotlight this post!  
Unread 15-11-2014, 12:56
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 803
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Beta Testers: Permissions on the RoboRio

Quote:
Originally Posted by NotInControl View Post
The only folder which I believe admin cant write too is the /proc folder, but I will have to check that later
You shouldn't be able to write to /proc... That's a proc file system. There might be a couple files there which are writable, but in general, it should be read only.

As far as I have been able to tell, admin is root, which means that you have free reign over the box.

We are running our robot code as a set of ~10 processes communicating over shared memory IPC on the roboRIO. Works flawlessly.
  #4   Spotlight this post!  
Unread 15-11-2014, 13:33
x86_4819's Avatar
x86_4819 x86_4819 is offline
computer-whisperer
AKA: Christian Balcom
FRC #4819 (Flat Mountain Mechanics)
Team Role: Programmer
 
Join Date: Sep 2014
Rookie Year: 2013
Location: Shepherd MI
Posts: 92
x86_4819 is on a distinguished road
Re: Beta Testers: Permissions on the RoboRio

On a side note, what init system does it run?
  #5   Spotlight this post!  
Unread 15-11-2014, 13:55
NRLeuenb's Avatar
NRLeuenb NRLeuenb is offline
Registered User
AKA: Natalie
FTC #10794 (The Spaceballs)
Team Role: Mentor
 
Join Date: Nov 2014
Rookie Year: 2012
Location: Brentwood, CA
Posts: 11
NRLeuenb is an unknown quantity at this point
Re: Beta Testers: Permissions on the RoboRio

Thanks to all who responded, that was very helpful!
  #6   Spotlight this post!  
Unread 16-11-2014, 13:59
NotInControl NotInControl is offline
Controls Engineer
AKA: Kevin
FRC #2168 (Aluminum Falcons)
Team Role: Engineer
 
Join Date: Oct 2011
Rookie Year: 2004
Location: Groton, CT
Posts: 261
NotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond repute
Re: Beta Testers: Permissions on the RoboRio

Quote:
Originally Posted by x86_4819 View Post
On a side note, what init system does it run?
Systemd, I believe that answers your question, correct?

Regards,
Kevin
__________________
Controls Engineer, Team 2168 - The Aluminum Falcons
[2016 Season] - World Championship Controls Award, District Controls Award, 3rd BlueBanner
-World Championship- #45 seed in Quals, World Championship Innovation in Controls Award - Curie
-NE Championship- #26 seed in Quals, winner(195,125,2168)
[2015 Season] - NE Championship Controls Award, 2nd Blue Banner
-NE Championship- #26 seed in Quals, NE Championship Innovation in Controls Award
-MA District Event- #17 seed in Quals, Winner(2168,3718,3146)
[2014 Season] - NE Championship Controls Award & Semi-finalists, District Controls Award, Creativity Award, & Finalists
-NE Championship- #36 seed in Quals, SemiFinalist(228,2168,3525), NE Championship Innovation in Controls Award
-RI District Event- #7 seed in Quals, Finalist(1519,2168,5163), Innovation in Controls Award
-Groton District Event- #9 seed in Quals, QuarterFinalist(2168, 125, 5112), Creativity Award
[2013 Season] - WPI Regional Winner - 1st Blue Banner
  #7   Spotlight this post!  
Unread 16-11-2014, 15:01
x86_4819's Avatar
x86_4819 x86_4819 is offline
computer-whisperer
AKA: Christian Balcom
FRC #4819 (Flat Mountain Mechanics)
Team Role: Programmer
 
Join Date: Sep 2014
Rookie Year: 2013
Location: Shepherd MI
Posts: 92
x86_4819 is on a distinguished road
Re: Beta Testers: Permissions on the RoboRio

Quote:
Originally Posted by NotInControl View Post
Systemd, I believe that answers your question, correct?

Regards,
Kevin
Yes, it does. Thanks!
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:04.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi