From 8c20cdddf6b3a3b9c8c838bc90e1c9a32a0bb183 Mon Sep 17 00:00:00 2001 From: RishikesavanRamesh Date: Wed, 21 Aug 2024 09:10:38 +0000 Subject: [PATCH] Update readme.md --- README.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5ff87d5..ac87d38 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ might also wanna add linting and batches for verifing features... - EP23 why not mounting everything inside of /tmp/workspace so that one can easily save the contaienr for tools and softwares and the source code remains clean outside of container. - +- EP24 should update to vulcanexus humble base image @@ -57,4 +57,49 @@ might also wanna add linting and batches for verifing features... - when templating hardware interface package the cmake cannot find some files that are of hardware interface package and related, should preinstall any necessary packages for the template to work when giving the template option :: updated:: after rosdep install deps , it is reduced to only ament_add_gmock cmake command not found :: updated ::: adding this line solves the error ```find_package(ament_cmake_gmock REQUIRED)``` -- also add .gitkeep in templated empty folder or keep the .gitkeep within the templates :: mostly it is done internally \ No newline at end of file +- also add .gitkeep in templated empty folder or keep the .gitkeep within the templates :: mostly it is done internally + + +- check if adding the user developer to dialout group is needed +- also add docker security tesing reports convincingly + +############ + +developer@0a7a70eb1536:workspace$ ros2 daemon status +The daemon is running +developer@0a7a70eb1536:workspace$ sudo apt install ros-humble-demo-cpp-nodes -y +sudo: /etc/sudoers is owned by uid 1000, should be 0 +sudo: no valid sudoers sources found, quitting +sudo: error initializing audit plugin sudoers_audit +developer@0a7a70eb1536:workspace$ sudo apt update +sudo: /etc/sudoers is owned by uid 1000, should be 0 +sudo: no valid sudoers sources found, quitting +sudo: error initializing audit plugin sudoers_audit +developer@0a7a70eb1536:workspace$ apt update +Reading package lists... Done +E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) +E: Unable to lock directory /var/lib/apt/lists/ observed when silver bullet hit hard + + + +------------------------------------ + + +developer@6953e98b98e0:/workspace$ sudo +sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set +developer@6953e98b98e0:/workspace$ sudo +usage: sudo -h | -K | -k | -V +usage: sudo -v [-ABknS] [-g group] [-h host] [-p prompt] [-u user] +usage: sudo -l [-ABknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command] +usage: sudo [-ABbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] [VAR=value] [-i|-s] + [] +usage: sudo -e [-ABknS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] file ... +developer@6953e98b98e0:/workspace$ # have run the following as root inside the container , +developer@6953e98b98e0:/workspace$ # chown root:root /usr/bin/sudo +developer@6953e98b98e0:/workspace$ # chmod 4755 /usr/bin/sudo +developer@6953e98b98e0:/workspace$ + + +also changed for /etc/sudoers file + +############ \ No newline at end of file