Functions | Variables
fetch_tools::commands::create_account Namespace Reference

Functions

def add_arguments
def main

Variables

string create_user_script
string help_text = "Create an account on a robot"
string name = "create-account"
string setup_user_script

Detailed Description

The create account command creates a new user account on the specified robot.

Copyright 2015 Fetch Robotics Inc.
Author: Alex Henning

Function Documentation

Definition at line 122 of file create_account.py.

Definition at line 36 of file create_account.py.


Variable Documentation

Initial value:
00001 """
00002 echo %(fetch_password)s | sudo -S adduser %(user)s --gecos '%(fullname)s,,,' --disabled-password &&
00003 echo '%(user)s:%(password)s' | sudo chpasswd &&
00004 sudo usermod -G adm,audio,cdrom,sudo,dip,plugdev,lpadmin,sambashare %(user)s
00005 """

Definition at line 20 of file create_account.py.

string fetch_tools::commands::create_account::help_text = "Create an account on a robot"

Definition at line 18 of file create_account.py.

Definition at line 17 of file create_account.py.

Initial value:
00001 """
00002 export FETCH_WORKSPACE=%(remote_workspace)s
00003 export ROS_DISTRO=%(ros_distro)s
00004 echo source /opt/ros/%(ros_distro)s/setup.bash >> ~/.bashrc.d/40-ros-setup.sh
00005 echo source %(remote_workspace)s/devel/setup.bash >> ~/.bashrc.d/40-ros-setup.sh
00006 echo '%(password)s' | sudo -S echo granting root priveleges for installation
00007 bash ~/initialize.sh
00008 """

Definition at line 26 of file create_account.py.



fetch_tools
Author(s): Alex Henning
autogenerated on Thu Jun 6 2019 21:10:20