Last login: Thu Nov 12 15:45:32 on ttys015 -bash: /Users/donges/.profile: No such file or directory /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/opt/X11/bin:/Users/donges/scripts:/usr already in set PATH: /usr/bin =?= /usr/bin already in set PATH: /usr/local/bin =?= /usr/local/bin /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/opt/X11/bin:/Users/donges/scripts:/usr:/Users/donges/scripts /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/opt/X11/bin:/Users/donges/scripts:/usr:/Users/donges/scripts:/Users/donges/connections The default interactive shell is now zsh. To update your account to use zsh, please run `chsh -s /bin/zsh`. For more details, please visit https://support.apple.com/kb/HT208050. donges@iMacDonges:~$ scp .ssh/authorized_keys admin@192.168.178.69 donges@iMacDonges:~$ scp .ssh/authorized_keys admin@192.168.178.69:/home/admin ssh: connect to host 192.168.178.69 port 22: Connection refused lost connection donges@iMacDonges:~$ scp .ssh/authorized_keys admin@192.168.178.69/home/admin cp: admin@192.168.178.69/home/admin: Not a directory donges@iMacDonges:~$ scp .ssh/authorized_keys admin@192.168.178.69:/home/admin ssh: connect to host 192.168.178.69 port 22: Connection refused lost connection donges@iMacDonges:~$ ssh TNAS donges@192.168.178.69's password: Wellcom to TNAS -bash: ulimit: open files: cannot modify limit: Operation not permitted donges@TNAS-0189B3:~$ ll total 32K drwxrwxrwx 4 donges root 4.0K Nov 13 19:17 . drwxr-xr-x 3 donges root 4.0K Nov 13 18:48 .. -rwxr--r-- 1 donges allusers 11K Nov 13 19:17 .DS_Store -rwxr--r-- 1 donges allusers 4.0K Nov 13 18:59 ._.DS_Store drwxr-xr-x 4 donges allusers 4.0K Nov 13 19:19 .ssh drwxr-xr-x 7 donges allusers 4.0K Oct 12 11:32 scripts donges@TNAS-0189B3:~$ cp scripts/templates/.bashrc . donges@TNAS-0189B3:~$ ll total 36K drwxrwxrwx 4 donges root 4.0K Nov 13 19:22 . drwxr-xr-x 3 donges root 4.0K Nov 13 18:48 .. -rwxr--r-- 1 donges allusers 11K Nov 13 19:17 .DS_Store -rwxr--r-- 1 donges allusers 4.0K Nov 13 18:59 ._.DS_Store -rwxr--r-- 1 donges allusers 3.9K Nov 13 19:22 .bashrc drwxr-xr-x 4 donges allusers 4.0K Nov 13 19:19 .ssh drwxr-xr-x 7 donges allusers 4.0K Oct 12 11:32 scripts donges@TNAS-0189B3:~$ . .bashrc /usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:/usr/local/sbin:/home/donges/scripts:/usr already in set PATH: /usr/bin =?= /usr/bin already in set PATH: /usr/local/bin =?= /usr/local/bin /usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:/usr/local/sbin:/home/donges/scripts:/usr:/home/donges/scripts /usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:/usr/local/sbin:/home/donges/scripts:/usr:/home/donges/scripts:/home/donges/connections donges@TNAS-0189B3:~$ cd .ssh/ donges@TNAS-0189B3:~/.ssh$ update.here.authorized_keys donges@TNAS-0189B3:~/.ssh$ exit logout Connection to 192.168.178.69 closed. donges@iMacDonges:~$ ssh TNAS donges@192.168.178.69's password: Wellcom to TNAS -bash: ulimit: open files: cannot modify limit: Operation not permitted donges@TNAS-0189B3:~$ ll total 40K drwxrwxrwx 4 donges root 4.0K Nov 13 19:22 . drwxr-xr-x 3 donges root 4.0K Nov 13 18:48 .. -rwxr--r-- 1 donges allusers 11K Nov 13 19:17 .DS_Store -rwxr--r-- 1 donges allusers 4.0K Nov 13 18:59 ._.DS_Store -rw------- 1 donges allusers 91 Nov 13 19:22 .bash_history -rwxr--r-- 1 donges allusers 3.9K Nov 13 19:22 .bashrc drwxr-xr-x 4 donges allusers 4.0K Nov 13 19:19 .ssh drwxr-xr-x 7 donges allusers 4.0K Oct 12 11:32 scripts donges@TNAS-0189B3:~$ ln -s .bashrc .profile donges@TNAS-0189B3:~$ exit logout Connection to 192.168.178.69 closed. donges@iMacDonges:~$ ssh TNAS donges@192.168.178.69's password: Permission denied, please try again. donges@192.168.178.69's password: Wellcom to TNAS -bash: ulimit: open files: cannot modify limit: Operation not permitted /usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:/usr/local/sbin:/home/donges/scripts:/usr already in set PATH: /usr/bin =?= /usr/bin already in set PATH: /usr/local/bin =?= /usr/local/bin /usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:/usr/local/sbin:/home/donges/scripts:/usr:/home/donges/scripts /usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:/usr/local/sbin:/home/donges/scripts:/usr:/home/donges/scripts:/home/donges/connections donges@TNAS-0189B3:~$ ll total 40K drwxrwxrwx 4 donges 4.0K Nov 13 19:23 ./ drwxr-xr-x 3 donges 4.0K Nov 13 18:48 ../ -rwxr--r-- 1 donges 11K Nov 13 19:17 .DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 18:59 ._.DS_Store* -rw------- 1 donges 122 Nov 13 19:23 .bash_history -rwxr--r-- 1 donges 3.9K Nov 13 19:22 .bashrc* lrwxrwxrwx 1 donges 7 Nov 13 19:23 .profile -> .bashrc* drwxr-xr-x 4 donges 4.0K Nov 13 19:19 .ssh/ drwxr-xr-x 7 donges 4.0K Oct 12 11:32 scripts/ donges@TNAS-0189B3:~$ cd .ssh/ donges@TNAS-0189B3:~/.ssh$ ll total 120K drwxr-xr-x 4 donges 4.0K Nov 13 19:19 ./ drwxrwxrwx 4 donges 4.0K Nov 13 19:23 ../ -rwxr--r-- 1 donges 6.1K Nov 13 19:19 .DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 19:19 ._.DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._authorized_keys* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._config* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._github_rsa* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._github_rsa.pub* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._id_rsa* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._id_rsa.marcel.donges.iMac.pub* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._id_rsa.pub* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._known_hosts.bak* -rw------- 1 donges 1.2K Nov 13 19:22 authorized_keys -rwxr--r-- 1 donges 3.1K Oct 29 12:03 config* -rwxr--r-- 1 donges 1.8K Sep 5 2012 github_rsa* -rwxr--r-- 1 donges 396 Sep 5 2012 github_rsa.pub* -rwxr--r-- 1 donges 1.7K Jun 13 2013 id_rsa* -rwxr--r-- 1 donges 407 Jun 13 2013 id_rsa.marcel.donges.iMac.pub* -rwxr--r-- 1 donges 407 Jun 13 2013 id_rsa.pub* -rwxr--r-- 1 donges 5.6K Nov 13 18:36 known_hosts* -rwxr--r-- 1 donges 21K Oct 31 09:32 known_hosts.bak* drwxr-xr-x 2 donges 4.0K Jun 13 2013 private_key/ drwxr-xr-x 2 donges 4.0K Apr 18 2017 public_keys/ donges@TNAS-0189B3:~/.ssh$ chmod 644 * donges@TNAS-0189B3:~/.ssh$ ll total 120K drwxr-xr-x 4 donges 4.0K Nov 13 19:19 ./ drwxrwxrwx 4 donges 4.0K Nov 13 19:23 ../ -rwxr--r-- 1 donges 6.1K Nov 13 19:19 .DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 19:19 ._.DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._authorized_keys* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._config* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._github_rsa* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._github_rsa.pub* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._id_rsa* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._id_rsa.marcel.donges.iMac.pub* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._id_rsa.pub* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._known_hosts.bak* -rw-r--r-- 1 donges 1.2K Nov 13 19:22 authorized_keys -rw-r--r-- 1 donges 3.1K Oct 29 12:03 config -rw-r--r-- 1 donges 1.8K Sep 5 2012 github_rsa -rw-r--r-- 1 donges 396 Sep 5 2012 github_rsa.pub -rw-r--r-- 1 donges 1.7K Jun 13 2013 id_rsa -rw-r--r-- 1 donges 407 Jun 13 2013 id_rsa.marcel.donges.iMac.pub -rw-r--r-- 1 donges 407 Jun 13 2013 id_rsa.pub -rw-r--r-- 1 donges 5.6K Nov 13 18:36 known_hosts -rw-r--r-- 1 donges 21K Oct 31 09:32 known_hosts.bak drw-r--r-- 2 donges 4.0K Jun 13 2013 private_key/ drw-r--r-- 2 donges 4.0K Apr 18 2017 public_keys/ donges@TNAS-0189B3:~/.ssh$ exit logout Connection to 192.168.178.69 closed. donges@iMacDonges:~$ ssh TNAS donges@192.168.178.69's password: Wellcom to TNAS -bash: ulimit: open files: cannot modify limit: Operation not permitted /usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:/usr/local/sbin:/home/donges/scripts:/usr already in set PATH: /usr/bin =?= /usr/bin already in set PATH: /usr/local/bin =?= /usr/local/bin /usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:/usr/local/sbin:/home/donges/scripts:/usr:/home/donges/scripts /usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:/usr/local/sbin:/home/donges/scripts:/usr:/home/donges/scripts:/home/donges/connections donges@TNAS-0189B3:~$ ll total 40K drwxrwxrwx 4 donges 4.0K Nov 13 19:23 ./ drwxr-xr-x 3 donges 4.0K Nov 13 18:48 ../ -rwxr--r-- 1 donges 11K Nov 13 19:17 .DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 18:59 ._.DS_Store* -rw------- 1 donges 157 Nov 13 19:24 .bash_history -rwxr--r-- 1 donges 3.9K Nov 13 19:22 .bashrc* lrwxrwxrwx 1 donges 7 Nov 13 19:23 .profile -> .bashrc* drwxr-xr-x 4 donges 4.0K Nov 13 19:19 .ssh/ drwxr-xr-x 7 donges 4.0K Oct 12 11:32 scripts/ donges@TNAS-0189B3:~$ cd .ssh/ donges@TNAS-0189B3:~/.ssh$ ll total 120K drwxr-xr-x 4 donges 4.0K Nov 13 19:19 ./ drwxrwxrwx 4 donges 4.0K Nov 13 19:23 ../ -rwxr--r-- 1 donges 6.1K Nov 13 19:19 .DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 19:19 ._.DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._authorized_keys* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._config* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._github_rsa* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._github_rsa.pub* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._id_rsa* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._id_rsa.marcel.donges.iMac.pub* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._id_rsa.pub* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._known_hosts.bak* -rw-r--r-- 1 donges 1.2K Nov 13 19:22 authorized_keys -rw-r--r-- 1 donges 3.1K Oct 29 12:03 config -rw-r--r-- 1 donges 1.8K Sep 5 2012 github_rsa -rw-r--r-- 1 donges 396 Sep 5 2012 github_rsa.pub -rw-r--r-- 1 donges 1.7K Jun 13 2013 id_rsa -rw-r--r-- 1 donges 407 Jun 13 2013 id_rsa.marcel.donges.iMac.pub -rw-r--r-- 1 donges 407 Jun 13 2013 id_rsa.pub -rw-r--r-- 1 donges 5.6K Nov 13 18:36 known_hosts -rw-r--r-- 1 donges 21K Oct 31 09:32 known_hosts.bak drw-r--r-- 2 donges 4.0K Jun 13 2013 private_key/ drw-r--r-- 2 donges 4.0K Apr 18 2017 public_keys/ donges@TNAS-0189B3:~/.ssh$ cd public_keys/ -bash: cd: public_keys/: Permission denied donges@TNAS-0189B3:~/.ssh$ chmod 500 public_keys/ donges@TNAS-0189B3:~/.ssh$ cd public_keys/ donges@TNAS-0189B3:~/.ssh/public_keys$ l donges.mcdonges.fritz.box.public_key* marcel.donges.MacBookPro.pub* nasmdo.fritz.box.id_rsa.pub* donges@TNAS-0189B3:~/.ssh/public_keys$ cd .. donges@TNAS-0189B3:~/.ssh$ ll total 120K drwxr-xr-x 4 donges 4.0K Nov 13 19:19 ./ drwxrwxrwx 4 donges 4.0K Nov 13 19:23 ../ -rwxr--r-- 1 donges 6.1K Nov 13 19:19 .DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 19:19 ._.DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._authorized_keys* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._config* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._github_rsa* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._github_rsa.pub* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._id_rsa* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._id_rsa.marcel.donges.iMac.pub* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._id_rsa.pub* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._known_hosts.bak* -rw-r--r-- 1 donges 1.2K Nov 13 19:22 authorized_keys -rw-r--r-- 1 donges 3.1K Oct 29 12:03 config -rw-r--r-- 1 donges 1.8K Sep 5 2012 github_rsa -rw-r--r-- 1 donges 396 Sep 5 2012 github_rsa.pub -rw-r--r-- 1 donges 1.7K Jun 13 2013 id_rsa -rw-r--r-- 1 donges 407 Jun 13 2013 id_rsa.marcel.donges.iMac.pub -rw-r--r-- 1 donges 407 Jun 13 2013 id_rsa.pub -rw-r--r-- 1 donges 5.6K Nov 13 18:36 known_hosts -rw-r--r-- 1 donges 21K Oct 31 09:32 known_hosts.bak drw-r--r-- 2 donges 4.0K Jun 13 2013 private_key/ dr-x------ 2 donges 4.0K Apr 18 2017 public_keys/ donges@TNAS-0189B3:~/.ssh$ less authorized_keys -bash: less: command not found donges@TNAS-0189B3:~/.ssh$ cat authorized_keys ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCrHl9EL5XjU8wCyhOGBKyksPFBPHt4XcPI9bSNM6zLGCimBG2p722QQ/GABdi1IXLGqZlYtyhvGpVTYxXbVRlGn31b/t9MO3BJCjoRGVdvXZ7EPvCbTLrDXvN7eF83rT8Fjhm030sBouqtDAfaGmFCT6dz09s4eXkX0NkjH5WFFk7M5Uh7UnVyatmENc3Euk5xBNHijSETD8/94HI+kHJFdMZKEdVXgy23F7eBDV2fsW+8F27GbD2PlK0idHOYTB4yhJbCErJdPJ+9o0NHznjVOAZ1KX9FY/lQyxEsKc5JoSHCZ4nffDUP6b36mCtFOaDIyiPCscuG9NifZPODlymp donges@mcdonges.fritz.box ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+33Sw9RUpPvivyLnWqpc2OYR+fDARL8k+ym1gsgif54ncB3X8Ju7+6w5lB42Zym04gnQg2pjDJPzSyBswLYfywib7cQ5iTh/BEgzpXHZuky8x/V9GOts1D8JyaUPmnqFilUZXfDAFl7qZg83tY44n48JKpBCJ45bvlTZsXH1SJ8qbM8So1WHx/Kwa8gJe10JPnykAdDDZvdjH98QC7PMhpR5guVPHlrnr5eBrRnuy153MvODF++ZhiM2LvjRCrTiLMiGoyQeTcW6IR+5EAscQ9uyhAMabJN4Vl0G/N506F+feG2e24miS8OaOUg3/Lnnf5lC06VrIeSXuVkhy57sZ donges@marcels-macbook-pro.fritz.box ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAoYkVgz5lkwI8uUbNTRLNxQkKe9yFBPJhktZczOC7pcIgJbTWvXpivVqIV+6PkOaSf6VV1RHhbjHjvlcFKhR/UPDYbzamfOZtFYJLq8JthIklapG4owU9YEu25VeAop4rFd8nVXrPGjGoxUyrDZj3wWQyftzWxBPUtylb2lnkdgRA8HwLIM8YgO+IAjH8+57Cv1pQ72PmVriZU7I7rfiAhfDaZAW71YoOLtV8ngSx8WNXCNW9KHxF/iv48Ctery2zdcSpLZObW5ShwhthBYp98VhLy5j+SmaFZ9h2lVNJlLWez5GofDthG5rJo/U3XSBGgTKxGizLxY+eMzOQ3yAr8Q== admin@NASMDO donges@TNAS-0189B3:~/.ssh$ cp id_rsa.marcel.donges.iMac.pub public_keys/ cp: can't create 'public_keys/id_rsa.marcel.donges.iMac.pub': Permission denied donges@TNAS-0189B3:~/.ssh$ chmod 700 public_keys/ donges@TNAS-0189B3:~/.ssh$ cp id_rsa.marcel.donges.iMac.pub public_keys/ donges@TNAS-0189B3:~/.ssh$ update.here.authorized_keys donges@TNAS-0189B3:~/.ssh$ ll total 120K drwxr-xr-x 4 donges 4.0K Nov 13 19:19 ./ drwxrwxrwx 4 donges 4.0K Nov 13 19:23 ../ -rwxr--r-- 1 donges 6.1K Nov 13 19:19 .DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 19:19 ._.DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._authorized_keys* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._config* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._github_rsa* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._github_rsa.pub* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._id_rsa* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._id_rsa.marcel.donges.iMac.pub* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._id_rsa.pub* -rwxr--r-- 1 donges 4.0K Nov 13 19:18 ._known_hosts.bak* -rw------- 1 donges 1.6K Nov 13 19:27 authorized_keys -rw-r--r-- 1 donges 3.1K Oct 29 12:03 config -rw-r--r-- 1 donges 1.8K Sep 5 2012 github_rsa -rw-r--r-- 1 donges 396 Sep 5 2012 github_rsa.pub -rw-r--r-- 1 donges 1.7K Jun 13 2013 id_rsa -rw-r--r-- 1 donges 407 Jun 13 2013 id_rsa.marcel.donges.iMac.pub -rw-r--r-- 1 donges 407 Jun 13 2013 id_rsa.pub -rw-r--r-- 1 donges 5.6K Nov 13 18:36 known_hosts -rw-r--r-- 1 donges 21K Oct 31 09:32 known_hosts.bak drw-r--r-- 2 donges 4.0K Jun 13 2013 private_key/ drwx------ 2 donges 4.0K Nov 13 19:27 public_keys/ donges@TNAS-0189B3:~/.ssh$ cat authorized_keys ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCrHl9EL5XjU8wCyhOGBKyksPFBPHt4XcPI9bSNM6zLGCimBG2p722QQ/GABdi1IXLGqZlYtyhvGpVTYxXbVRlGn31b/t9MO3BJCjoRGVdvXZ7EPvCbTLrDXvN7eF83rT8Fjhm030sBouqtDAfaGmFCT6dz09s4eXkX0NkjH5WFFk7M5Uh7UnVyatmENc3Euk5xBNHijSETD8/94HI+kHJFdMZKEdVXgy23F7eBDV2fsW+8F27GbD2PlK0idHOYTB4yhJbCErJdPJ+9o0NHznjVOAZ1KX9FY/lQyxEsKc5JoSHCZ4nffDUP6b36mCtFOaDIyiPCscuG9NifZPODlymp donges@mcdonges.fritz.box ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCrHl9EL5XjU8wCyhOGBKyksPFBPHt4XcPI9bSNM6zLGCimBG2p722QQ/GABdi1IXLGqZlYtyhvGpVTYxXbVRlGn31b/t9MO3BJCjoRGVdvXZ7EPvCbTLrDXvN7eF83rT8Fjhm030sBouqtDAfaGmFCT6dz09s4eXkX0NkjH5WFFk7M5Uh7UnVyatmENc3Euk5xBNHijSETD8/94HI+kHJFdMZKEdVXgy23F7eBDV2fsW+8F27GbD2PlK0idHOYTB4yhJbCErJdPJ+9o0NHznjVOAZ1KX9FY/lQyxEsKc5JoSHCZ4nffDUP6b36mCtFOaDIyiPCscuG9NifZPODlymp donges@mcdonges.fritz.box ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+33Sw9RUpPvivyLnWqpc2OYR+fDARL8k+ym1gsgif54ncB3X8Ju7+6w5lB42Zym04gnQg2pjDJPzSyBswLYfywib7cQ5iTh/BEgzpXHZuky8x/V9GOts1D8JyaUPmnqFilUZXfDAFl7qZg83tY44n48JKpBCJ45bvlTZsXH1SJ8qbM8So1WHx/Kwa8gJe10JPnykAdDDZvdjH98QC7PMhpR5guVPHlrnr5eBrRnuy153MvODF++ZhiM2LvjRCrTiLMiGoyQeTcW6IR+5EAscQ9uyhAMabJN4Vl0G/N506F+feG2e24miS8OaOUg3/Lnnf5lC06VrIeSXuVkhy57sZ donges@marcels-macbook-pro.fritz.box ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAoYkVgz5lkwI8uUbNTRLNxQkKe9yFBPJhktZczOC7pcIgJbTWvXpivVqIV+6PkOaSf6VV1RHhbjHjvlcFKhR/UPDYbzamfOZtFYJLq8JthIklapG4owU9YEu25VeAop4rFd8nVXrPGjGoxUyrDZj3wWQyftzWxBPUtylb2lnkdgRA8HwLIM8YgO+IAjH8+57Cv1pQ72PmVriZU7I7rfiAhfDaZAW71YoOLtV8ngSx8WNXCNW9KHxF/iv48Ctery2zdcSpLZObW5ShwhthBYp98VhLy5j+SmaFZ9h2lVNJlLWez5GofDthG5rJo/U3XSBGgTKxGizLxY+eMzOQ3yAr8Q== admin@NASMDO donges@TNAS-0189B3:~/.ssh$ cd public_keys/ donges@TNAS-0189B3:~/.ssh/public_keys$ ll total 36K drwx------ 2 donges 4.0K Nov 13 19:27 ./ drwxr-xr-x 4 donges 4.0K Nov 13 19:19 ../ -rwxr--r-- 1 donges 4.0K Nov 13 19:19 ._donges.mcdonges.fritz.box.public_key* -rwxr--r-- 1 donges 4.0K Nov 13 19:19 ._marcel.donges.MacBookPro.pub* -rwxr--r-- 1 donges 4.0K Nov 13 19:19 ._nasmdo.fritz.box.id_rsa.pub* -rwxr--r-- 1 donges 407 Jun 13 2013 donges.mcdonges.fritz.box.public_key* -rw-r--r-- 1 donges 407 Nov 13 19:27 id_rsa.marcel.donges.iMac.pub -rwxr--r-- 1 donges 418 Aug 27 2012 marcel.donges.MacBookPro.pub* -rwxr--r-- 1 donges 394 Dec 14 2014 nasmdo.fritz.box.id_rsa.pub* donges@TNAS-0189B3:~/.ssh/public_keys$ rm marcel.donges.MacBookPro.pub donges@TNAS-0189B3:~/.ssh/public_keys$ rm id_rsa.marcel.donges.iMac.pub donges@TNAS-0189B3:~/.ssh/public_keys$ cd .. donges@TNAS-0189B3:~/.ssh$ update.here.authorized_keys donges@TNAS-0189B3:~/.ssh$ exit logout Connection to 192.168.178.69 closed. donges@iMacDonges:~$ ssh TNAS donges@192.168.178.69's password: Wellcom to TNAS -bash: ulimit: open files: cannot modify limit: Operation not permitted /usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:/usr/local/sbin:/home/donges/scripts:/usr already in set PATH: /usr/bin =?= /usr/bin already in set PATH: /usr/local/bin =?= /usr/local/bin /usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:/usr/local/sbin:/home/donges/scripts:/usr:/home/donges/scripts /usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:/usr/local/sbin:/home/donges/scripts:/usr:/home/donges/scripts:/home/donges/connections donges@TNAS-0189B3:~$ ll total 40K drwxrwxrwx 4 donges 4.0K Nov 13 19:23 ./ drwxr-xr-x 3 donges 4.0K Nov 13 18:48 ../ -rwxr--r-- 1 donges 11K Nov 13 19:17 .DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 18:59 ._.DS_Store* -rw------- 1 donges 575 Nov 13 19:27 .bash_history -rwxr--r-- 1 donges 3.9K Nov 13 19:22 .bashrc* lrwxrwxrwx 1 donges 7 Nov 13 19:23 .profile -> .bashrc* drwxr-xr-x 4 donges 4.0K Nov 13 19:19 .ssh/ drwxr-xr-x 7 donges 4.0K Oct 12 11:32 scripts/ donges@TNAS-0189B3:~$ docker Usage: docker COMMAND A self-sufficient runtime for containers Options: --config string Location of client config files (default "/home/donges/.docker") -D, --debug Enable debug mode --help Print usage -H, --host list Daemon socket(s) to connect to -l, --log-level string Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info") --tls Use TLS; implied by --tlsverify --tlscacert string Trust certs signed only by this CA (default "/home/donges/.docker/ca.pem") --tlscert string Path to TLS certificate file (default "/home/donges/.docker/cert.pem") --tlskey string Path to TLS key file (default "/home/donges/.docker/key.pem") --tlsverify Use TLS and verify the remote -v, --version Print version information and quit Management Commands: config Manage Docker configs container Manage containers image Manage images network Manage networks node Manage Swarm nodes plugin Manage plugins secret Manage Docker secrets service Manage services stack Manage Docker stacks swarm Manage Swarm system Manage Docker volume Manage volumes Commands: attach Attach local standard input, output, and error streams to a running container build Build an image from a Dockerfile commit Create a new image from a container's changes cp Copy files/folders between a container and the local filesystem create Create a new container diff Inspect changes to files or directories on a container's filesystem events Get real time events from the server exec Run a command in a running container export Export a container's filesystem as a tar archive history Show the history of an image images List images import Import the contents from a tarball to create a filesystem image info Display system-wide information inspect Return low-level information on Docker objects kill Kill one or more running containers load Load an image from a tar archive or STDIN login Log in to a Docker registry logout Log out from a Docker registry logs Fetch the logs of a container pause Pause all processes within one or more containers port List port mappings or a specific mapping for the container ps List containers pull Pull an image or a repository from a registry push Push an image or a repository to a registry rename Rename a container restart Restart one or more containers rm Remove one or more containers rmi Remove one or more images run Run a command in a new container save Save one or more images to a tar archive (streamed to STDOUT by default) search Search the Docker Hub for images start Start one or more stopped containers stats Display a live stream of container(s) resource usage statistics stop Stop one or more running containers tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE top Display the running processes of a container unpause Unpause all processes within one or more containers update Update configuration of one or more containers version Show the Docker version information wait Block until one or more containers stop, then print their exit codes Run 'docker COMMAND --help' for more information on a command. donges@TNAS-0189B3:~$ docker ps Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.30/containers/json: dial unix /var/run/docker.sock: connect: permission denied donges@TNAS-0189B3:~$ mc -bash: mc: command not found donges@TNAS-0189B3:~$ eamd /home/donges/scripts/eamd: line 1: XSym: command not found /home/donges/scripts/eamd: line 2: 0075: command not found /home/donges/scripts/eamd: line 3: 0bed674fc5c653cb2f9e5d3f58e95e6b: command not found /home/donges/scripts/eamd: line 4: /var/dev/EAMD.ucp/Components/tla/EAMD/UcpComponentSupport/1.0.0/src/sh/eamd: No such file or directory donges@TNAS-0189B3:~$ cd donges@TNAS-0189B3:~$ cd scripts/ donges@TNAS-0189B3:~/scripts$ ll total 816K drwxr-xr-x 7 donges 4.0K Oct 12 11:32 ./ drwxrwxrwx 4 donges 4.0K Nov 13 19:23 ../ -rwxr--r-- 1 donges 6.1K Jun 6 17:22 .DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._.DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._al2ln* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._buttontest.html* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._console.log* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._crontab.backup* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._debug* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._debug.log* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._debug.toggle* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._err.log* -rwxr--r-- 1 donges 4.3K Nov 13 19:17 ._findBrokenAliases.scpt* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._init.bash* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._init.host* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._init.user* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._jar.withOwnManifest* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._list.add* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._loop.dirs* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._loop.file.lines* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._loop.files* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._loop.list* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._mvn.undeploy* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._new.script* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._oosh* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._os.update* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._os.version* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._osgi.bundle.copy* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._osx.collect.aliases.here* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._osx.find.aliases* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._path.add* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._path.add.examples* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._path.list* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._paths* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._search.dirs* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._set.add* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._ssh.init* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._structr.initApps* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._sunflower* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._svn.add.new* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._svn.detach* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._svnupdate.sh* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._template* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._templates* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._tree* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._update.authorized_keys* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._update.here.authorized_keys* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._update.scripts* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._upload.public_keys* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._vdirsyncer* drwxr-xr-x 7 donges 4.0K Oct 30 11:47 .git/ -rwxr--r-- 1 donges 299 Jun 6 17:26 al2ln* drwxr-xr-x 2 donges 4.0K Jun 6 17:57 backup/ -rwxr--r-- 1 donges 70 May 17 18:29 buttontest.html* -rwxr--r-- 1 donges 150 Aug 3 2017 console.log* -rwxr--r-- 1 donges 651 May 17 2017 crontab.backup* -rwxr--r-- 1 donges 280 Apr 21 2017 debug* -rwxr--r-- 1 donges 195 Apr 21 2017 debug.log* -rwxr--r-- 1 donges 237 Apr 21 2017 debug.toggle* -rwxr--r-- 1 donges 1.1K Jul 23 15:03 eamd* -rwxr--r-- 1 donges 56 Jun 16 2017 err.log* -rwxr--r-- 1 donges 2.7K Jun 6 14:24 findBrokenAliases.scpt* -rwxr--r-- 1 donges 2.5K Jun 6 18:36 init.bash* -rwxr--r-- 1 donges 1.5K Aug 2 2017 init.host* -rwxr--r-- 1 donges 1.5K Aug 18 2017 init.user* -rwxr--r-- 1 donges 2.5K Oct 12 11:32 install.ONCE.sh* -rwxr--r-- 1 donges 394 Apr 21 2017 jar.withOwnManifest* -rwxr--r-- 1 donges 297 Apr 21 2017 list.add* -rwxr--r-- 1 donges 455 May 17 2017 loop.dirs* -rwxr--r-- 1 donges 579 Jun 6 17:10 loop.file.lines* -rwxr--r-- 1 donges 462 May 17 2017 loop.files* -rwxr--r-- 1 donges 563 Jun 6 18:48 loop.list* -rwxr--r-- 1 donges 202 Apr 21 2017 mvn.undeploy* -rwxr--r-- 1 donges 1.8K Jun 16 2017 new.script* -rwxr--r-- 1 donges 23K Jun 6 20:50 oosh* -rwxr--r-- 1 donges 55 Apr 21 2017 os.update* -rwxr--r-- 1 donges 105 May 17 11:26 os.version* -rwxr--r-- 1 donges 346 Apr 21 2017 osgi.bundle.copy* -rwxr--r-- 1 donges 1.1K Jun 6 17:27 osx.al2ln* -rwxr--r-- 1 donges 847 Jun 6 17:53 osx.collect.aliases.here* -rwxr--r-- 1 donges 182 Jun 6 17:33 osx.find.aliases* -rwxr--r-- 1 donges 112 Apr 21 2017 path.add* -rwxr--r-- 1 donges 648 Apr 28 2017 path.add.examples* -rwxr--r-- 1 donges 613 Jun 6 18:03 path.list* -rwxr--r-- 1 donges 54 Apr 21 2017 paths* -rwxr--r-- 1 donges 263 Apr 21 2017 search.dirs* -rwxr--r-- 1 donges 585 Apr 21 2017 set.add* -rwxr--r-- 1 donges 380 Oct 12 11:45 ssh.init* -rwxr--r-- 1 donges 4.3K Aug 3 2017 structr.initApps* drwxr-xr-x 2 donges 4.0K May 17 18:29 sunflower/ -rwxr--r-- 1 donges 58 Apr 21 2017 svn.add.new* -rwxr--r-- 1 donges 172 May 17 18:29 svn.detach* -rwxr--r-- 1 donges 300 Apr 21 2017 svnupdate.sh* -rwxr--r-- 1 donges 263 Apr 21 2017 template* drwxr-xr-x 3 donges 4.0K Oct 30 11:59 templates/ drwxr-xr-x 2 donges 4.0K May 17 18:29 tree/ -rwxr--r-- 1 donges 152 Apr 21 2017 update.authorized_keys* -rwxr--r-- 1 donges 105 Jan 29 2018 update.here.authorized_keys* -rwxr--r-- 1 donges 304 May 17 18:29 update.scripts* -rwxr--r-- 1 donges 174 Apr 21 2017 upload.public_keys* -rwxr--r-- 1 donges 384K Apr 21 2017 vdirsyncer* donges@TNAS-0189B3:~/scripts$ oosh no warn.log.... mitigated using internal functions...status: ok > list: > list: CLASSES:THIS usage: /home/donges/scripts/oosh command parameter options are -x get debug log -X enable stepDebugger c continues ... most other exit ... try ll,r,h,cd,cmd commands are - Short details what it does check: checks the installation and settings reset: ensures all properties are set do default. !!! USE: . oosh reset init: creates the /EAMD.ucp link oosh init - shows init options oosh init user - installes the 'user scripts' for convenience oosh init profile - includes init user....also the othe init options are additiv oosh init ssh - sets up the SSH config to sync with the EAMD.ucp Repository oosh init components - Clones the EAMD.ucp Repository to the local directroy oosh init all - all of the abave create: oosh create component some.component.Name 0.1.0 - commits and pusches to git oosh create local component some.component.Name 0.1.0 - no git actions oosh create local component some.component.Name oosh create version some.component.Name 0.2.0 oosh create version . 0.2.0 oosh create weBean . oosh create test some.namespace.component 0.1.0 oosh create mochaTest some.namespace.component 0.1.0 component: oosh component export oosh component exportVersion oosh component import Some.zip - in /EAMD.ucp/eport oosh test packageExport packagename update: list: repo: acts on branches of git oosh repo - shows repo options test: oosh test someFunction some parameters oosh test namespace2path some.namespace oosh test path2namespcae /some/path oosh test findVersions . oosh test createFromNPM org.playground.Bootstrap 4.0.0 bootstrap oosh test updateVersionTree com.twitter.Bootstrap 3.3.7 5.0.0 oosh test checkCommand ssh openssh oosh test checkCommand ssh openssh oosh test list PATH rm /usr/local/sbin oosh test loop "1;2;3;4;5" ";" add 6 only for developer use: v: get a version timestamp op: update the script itself from once on localhost...use v to check the timestamp if it worked oosh op x down: like op but for root only oosh op x here: like op but for the current user donges@TNAS-0189B3:~/scripts$ oosh cmd no warn.log.... mitigated using internal functions...status: ok > list: > list: CLASSES:THIS > WARNING could not find: cmd > WARNING Method cmd not found in class THIS methods are: call check checkBash checkPM eval checkPMs list loop help once op out print test > list: donges@TNAS-0189B3:~/scripts$ oosh test checkCommand tree no warn.log.... mitigated using internal functions...status: ok > list: > list: CLASSES:THIS checkCommandtree donges@TNAS-0189B3:~/scripts$ oosh test checkCommand tree no warn.log.... mitigated using internal functions...status: ok > list: > list: CLASSES:THIS checkCommandtree donges@TNAS-0189B3:~/scripts$ oosh test checkCommand a tree no warn.log.... mitigated using internal functions...status: ok > list: > list: CLASSES:THIS checkCommandatree donges@TNAS-0189B3:~/scripts$ ll total 816K drwxr-xr-x 7 donges 4.0K Oct 12 11:32 ./ drwxrwxrwx 4 donges 4.0K Nov 13 19:23 ../ -rwxr--r-- 1 donges 6.1K Jun 6 17:22 .DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._.DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._al2ln* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._buttontest.html* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._console.log* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._crontab.backup* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._debug* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._debug.log* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._debug.toggle* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._err.log* -rwxr--r-- 1 donges 4.3K Nov 13 19:17 ._findBrokenAliases.scpt* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._init.bash* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._init.host* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._init.user* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._jar.withOwnManifest* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._list.add* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._loop.dirs* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._loop.file.lines* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._loop.files* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._loop.list* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._mvn.undeploy* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._new.script* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._oosh* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._os.update* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._os.version* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._osgi.bundle.copy* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._osx.collect.aliases.here* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._osx.find.aliases* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._path.add* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._path.add.examples* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._path.list* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._paths* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._search.dirs* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._set.add* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._ssh.init* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._structr.initApps* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._sunflower* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._svn.add.new* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._svn.detach* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._svnupdate.sh* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._template* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._templates* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._tree* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._update.authorized_keys* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._update.here.authorized_keys* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._update.scripts* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._upload.public_keys* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._vdirsyncer* drwxr-xr-x 7 donges 4.0K Oct 30 11:47 .git/ -rwxr--r-- 1 donges 299 Jun 6 17:26 al2ln* drwxr-xr-x 2 donges 4.0K Jun 6 17:57 backup/ -rwxr--r-- 1 donges 70 May 17 18:29 buttontest.html* -rwxr--r-- 1 donges 150 Aug 3 2017 console.log* -rwxr--r-- 1 donges 651 May 17 2017 crontab.backup* -rwxr--r-- 1 donges 280 Apr 21 2017 debug* -rwxr--r-- 1 donges 195 Apr 21 2017 debug.log* -rwxr--r-- 1 donges 237 Apr 21 2017 debug.toggle* -rwxr--r-- 1 donges 1.1K Jul 23 15:03 eamd* -rwxr--r-- 1 donges 56 Jun 16 2017 err.log* -rwxr--r-- 1 donges 2.7K Jun 6 14:24 findBrokenAliases.scpt* -rwxr--r-- 1 donges 2.5K Jun 6 18:36 init.bash* -rwxr--r-- 1 donges 1.5K Aug 2 2017 init.host* -rwxr--r-- 1 donges 1.5K Aug 18 2017 init.user* -rwxr--r-- 1 donges 2.5K Oct 12 11:32 install.ONCE.sh* -rwxr--r-- 1 donges 394 Apr 21 2017 jar.withOwnManifest* -rwxr--r-- 1 donges 297 Apr 21 2017 list.add* -rwxr--r-- 1 donges 455 May 17 2017 loop.dirs* -rwxr--r-- 1 donges 579 Jun 6 17:10 loop.file.lines* -rwxr--r-- 1 donges 462 May 17 2017 loop.files* -rwxr--r-- 1 donges 563 Jun 6 18:48 loop.list* -rwxr--r-- 1 donges 202 Apr 21 2017 mvn.undeploy* -rwxr--r-- 1 donges 1.8K Jun 16 2017 new.script* -rwxr--r-- 1 donges 23K Jun 6 20:50 oosh* -rwxr--r-- 1 donges 55 Apr 21 2017 os.update* -rwxr--r-- 1 donges 105 May 17 11:26 os.version* -rwxr--r-- 1 donges 346 Apr 21 2017 osgi.bundle.copy* -rwxr--r-- 1 donges 1.1K Jun 6 17:27 osx.al2ln* -rwxr--r-- 1 donges 847 Jun 6 17:53 osx.collect.aliases.here* -rwxr--r-- 1 donges 182 Jun 6 17:33 osx.find.aliases* -rwxr--r-- 1 donges 112 Apr 21 2017 path.add* -rwxr--r-- 1 donges 648 Apr 28 2017 path.add.examples* -rwxr--r-- 1 donges 613 Jun 6 18:03 path.list* -rwxr--r-- 1 donges 54 Apr 21 2017 paths* -rwxr--r-- 1 donges 263 Apr 21 2017 search.dirs* -rwxr--r-- 1 donges 585 Apr 21 2017 set.add* -rwxr--r-- 1 donges 380 Oct 12 11:45 ssh.init* -rwxr--r-- 1 donges 4.3K Aug 3 2017 structr.initApps* drwxr-xr-x 2 donges 4.0K May 17 18:29 sunflower/ -rwxr--r-- 1 donges 58 Apr 21 2017 svn.add.new* -rwxr--r-- 1 donges 172 May 17 18:29 svn.detach* -rwxr--r-- 1 donges 300 Apr 21 2017 svnupdate.sh* -rwxr--r-- 1 donges 263 Apr 21 2017 template* drwxr-xr-x 3 donges 4.0K Oct 30 11:59 templates/ drwxr-xr-x 2 donges 4.0K May 17 18:29 tree/ -rwxr--r-- 1 donges 152 Apr 21 2017 update.authorized_keys* -rwxr--r-- 1 donges 105 Jan 29 2018 update.here.authorized_keys* -rwxr--r-- 1 donges 304 May 17 18:29 update.scripts* -rwxr--r-- 1 donges 174 Apr 21 2017 upload.public_keys* -rwxr--r-- 1 donges 384K Apr 21 2017 vdirsyncer* donges@TNAS-0189B3:~/scripts$ os.version Linux TNAS-0189B3 4.4.18-g8bcbd8a-dirty #1250 SMP Wed Nov 27 14:30:56 CST 2019 aarch64 GNU/Linux /home/donges/scripts/os.version: line 4: lsb_release: command not found TNAS-0189B3 192.168.178.69 Linux version 4.4.18-g8bcbd8a-dirty (root@developer) (gcc version 4.9.4 (OpenWrt/Linaro GCC 4.9-2015.06 r48422) ) #1250 SMP Wed Nov 27 14:30:56 CST 2019 donges@TNAS-0189B3:~/scripts$ cd tree/ donges@TNAS-0189B3:~/scripts/tree$ ll total 32K drwxr-xr-x 2 donges 4.0K May 17 18:29 ./ drwxr-xr-x 7 donges 4.0K Oct 12 11:32 ../ -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._treetest.html* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._treetest.new.html* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._treetestfile.html* -rwxr--r-- 1 donges 70 May 17 18:29 treetest.html* -rwxr--r-- 1 donges 64 May 17 18:29 treetest.new.html* -rwxr--r-- 1 donges 64 May 17 18:29 treetestfile.html* donges@TNAS-0189B3:~/scripts/tree$ cd donges@TNAS-0189B3:~$ apt -bash: apt: command not found donges@TNAS-0189B3:~$ eamd tect checkPM /home/donges/scripts/eamd: line 1: XSym: command not found /home/donges/scripts/eamd: line 2: 0075: command not found /home/donges/scripts/eamd: line 3: 0bed674fc5c653cb2f9e5d3f58e95e6b: command not found /home/donges/scripts/eamd: line 4: /var/dev/EAMD.ucp/Components/tla/EAMD/UcpComponentSupport/1.0.0/src/sh/eamd: No such file or directory donges@TNAS-0189B3:~$ eamd test checkPM /home/donges/scripts/eamd: line 1: XSym: command not found /home/donges/scripts/eamd: line 2: 0075: command not found /home/donges/scripts/eamd: line 3: 0bed674fc5c653cb2f9e5d3f58e95e6b: command not found /home/donges/scripts/eamd: line 4: /var/dev/EAMD.ucp/Components/tla/EAMD/UcpComponentSupport/1.0.0/src/sh/eamd: No such file or directory donges@TNAS-0189B3:~$ oosh test checkPM no warn.log.... mitigated using internal functions...status: ok > list: > list: CLASSES:THIS checkPM donges@TNAS-0189B3:~$ cd scripts/ donges@TNAS-0189B3:~/scripts$ vim donges@TNAS-0189B3:~/scripts$ ll total 816K drwxr-xr-x 7 donges 4.0K Oct 12 11:32 ./ drwxrwxrwx 4 donges 4.0K Nov 13 19:23 ../ -rwxr--r-- 1 donges 6.1K Jun 6 17:22 .DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._.DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._al2ln* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._buttontest.html* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._console.log* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._crontab.backup* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._debug* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._debug.log* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._debug.toggle* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._err.log* -rwxr--r-- 1 donges 4.3K Nov 13 19:17 ._findBrokenAliases.scpt* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._init.bash* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._init.host* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._init.user* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._jar.withOwnManifest* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._list.add* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._loop.dirs* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._loop.file.lines* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._loop.files* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._loop.list* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._mvn.undeploy* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._new.script* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._oosh* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._os.update* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._os.version* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._osgi.bundle.copy* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._osx.collect.aliases.here* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._osx.find.aliases* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._path.add* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._path.add.examples* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._path.list* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._paths* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._search.dirs* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._set.add* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._ssh.init* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._structr.initApps* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._sunflower* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._svn.add.new* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._svn.detach* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._svnupdate.sh* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._template* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._templates* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._tree* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._update.authorized_keys* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._update.here.authorized_keys* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._update.scripts* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._upload.public_keys* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._vdirsyncer* drwxr-xr-x 7 donges 4.0K Oct 30 11:47 .git/ -rwxr--r-- 1 donges 299 Jun 6 17:26 al2ln* drwxr-xr-x 2 donges 4.0K Jun 6 17:57 backup/ -rwxr--r-- 1 donges 70 May 17 18:29 buttontest.html* -rwxr--r-- 1 donges 150 Aug 3 2017 console.log* -rwxr--r-- 1 donges 651 May 17 2017 crontab.backup* -rwxr--r-- 1 donges 280 Apr 21 2017 debug* -rwxr--r-- 1 donges 195 Apr 21 2017 debug.log* -rwxr--r-- 1 donges 237 Apr 21 2017 debug.toggle* -rwxr--r-- 1 donges 1.1K Jul 23 15:03 eamd* -rwxr--r-- 1 donges 56 Jun 16 2017 err.log* -rwxr--r-- 1 donges 2.7K Jun 6 14:24 findBrokenAliases.scpt* -rwxr--r-- 1 donges 2.5K Jun 6 18:36 init.bash* -rwxr--r-- 1 donges 1.5K Aug 2 2017 init.host* -rwxr--r-- 1 donges 1.5K Aug 18 2017 init.user* -rwxr--r-- 1 donges 2.5K Oct 12 11:32 install.ONCE.sh* -rwxr--r-- 1 donges 394 Apr 21 2017 jar.withOwnManifest* -rwxr--r-- 1 donges 297 Apr 21 2017 list.add* -rwxr--r-- 1 donges 455 May 17 2017 loop.dirs* -rwxr--r-- 1 donges 579 Jun 6 17:10 loop.file.lines* -rwxr--r-- 1 donges 462 May 17 2017 loop.files* -rwxr--r-- 1 donges 563 Jun 6 18:48 loop.list* -rwxr--r-- 1 donges 202 Apr 21 2017 mvn.undeploy* -rwxr--r-- 1 donges 1.8K Jun 16 2017 new.script* -rwxr--r-- 1 donges 23K Jun 6 20:50 oosh* -rwxr--r-- 1 donges 55 Apr 21 2017 os.update* -rwxr--r-- 1 donges 105 May 17 11:26 os.version* -rwxr--r-- 1 donges 346 Apr 21 2017 osgi.bundle.copy* -rwxr--r-- 1 donges 1.1K Jun 6 17:27 osx.al2ln* -rwxr--r-- 1 donges 847 Jun 6 17:53 osx.collect.aliases.here* -rwxr--r-- 1 donges 182 Jun 6 17:33 osx.find.aliases* -rwxr--r-- 1 donges 112 Apr 21 2017 path.add* -rwxr--r-- 1 donges 648 Apr 28 2017 path.add.examples* -rwxr--r-- 1 donges 613 Jun 6 18:03 path.list* -rwxr--r-- 1 donges 54 Apr 21 2017 paths* -rwxr--r-- 1 donges 263 Apr 21 2017 search.dirs* -rwxr--r-- 1 donges 585 Apr 21 2017 set.add* -rwxr--r-- 1 donges 380 Oct 12 11:45 ssh.init* -rwxr--r-- 1 donges 4.3K Aug 3 2017 structr.initApps* drwxr-xr-x 2 donges 4.0K May 17 18:29 sunflower/ -rwxr--r-- 1 donges 58 Apr 21 2017 svn.add.new* -rwxr--r-- 1 donges 172 May 17 18:29 svn.detach* -rwxr--r-- 1 donges 300 Apr 21 2017 svnupdate.sh* -rwxr--r-- 1 donges 263 Apr 21 2017 template* drwxr-xr-x 3 donges 4.0K Oct 30 11:59 templates/ drwxr-xr-x 2 donges 4.0K May 17 18:29 tree/ -rwxr--r-- 1 donges 152 Apr 21 2017 update.authorized_keys* -rwxr--r-- 1 donges 105 Jan 29 2018 update.here.authorized_keys* -rwxr--r-- 1 donges 304 May 17 18:29 update.scripts* -rwxr--r-- 1 donges 174 Apr 21 2017 upload.public_keys* -rwxr--r-- 1 donges 384K Apr 21 2017 vdirsyncer* donges@TNAS-0189B3:~/scripts$ oosh no warn.log.... mitigated using internal functions...status: ok > list: > list: CLASSES:THIS usage: /home/donges/scripts/oosh command parameter options are -x get debug log -X enable stepDebugger c continues ... most other exit ... try ll,r,h,cd,cmd commands are - Short details what it does check: checks the installation and settings reset: ensures all properties are set do default. !!! USE: . oosh reset init: creates the /EAMD.ucp link oosh init - shows init options oosh init user - installes the 'user scripts' for convenience oosh init profile - includes init user....also the othe init options are additiv oosh init ssh - sets up the SSH config to sync with the EAMD.ucp Repository oosh init components - Clones the EAMD.ucp Repository to the local directroy oosh init all - all of the abave create: oosh create component some.component.Name 0.1.0 - commits and pusches to git oosh create local component some.component.Name 0.1.0 - no git actions oosh create local component some.component.Name oosh create version some.component.Name 0.2.0 oosh create version . 0.2.0 oosh create weBean . oosh create test some.namespace.component 0.1.0 oosh create mochaTest some.namespace.component 0.1.0 component: oosh component export oosh component exportVersion oosh component import Some.zip - in /EAMD.ucp/eport oosh test packageExport packagename update: list: repo: acts on branches of git oosh repo - shows repo options test: oosh test someFunction some parameters oosh test namespace2path some.namespace oosh test path2namespcae /some/path oosh test findVersions . oosh test createFromNPM org.playground.Bootstrap 4.0.0 bootstrap oosh test updateVersionTree com.twitter.Bootstrap 3.3.7 5.0.0 oosh test checkCommand ssh openssh oosh test checkCommand ssh openssh oosh test list PATH rm /usr/local/sbin oosh test loop "1;2;3;4;5" ";" add 6 only for developer use: v: get a version timestamp op: update the script itself from once on localhost...use v to check the timestamp if it worked oosh op x down: like op but for root only oosh op x here: like op but for the current user donges@TNAS-0189B3:~/scripts$ vim oosh donges@TNAS-0189B3:~/scripts$ ll total 816K drwxr-xr-x 7 donges 4.0K Oct 12 11:32 ./ drwxrwxrwx 4 donges 4.0K Nov 13 19:23 ../ -rwxr--r-- 1 donges 6.1K Jun 6 17:22 .DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._.DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._al2ln* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._buttontest.html* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._console.log* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._crontab.backup* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._debug* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._debug.log* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._debug.toggle* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._err.log* -rwxr--r-- 1 donges 4.3K Nov 13 19:17 ._findBrokenAliases.scpt* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._init.bash* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._init.host* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._init.user* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._jar.withOwnManifest* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._list.add* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._loop.dirs* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._loop.file.lines* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._loop.files* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._loop.list* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._mvn.undeploy* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._new.script* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._oosh* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._os.update* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._os.version* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._osgi.bundle.copy* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._osx.collect.aliases.here* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._osx.find.aliases* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._path.add* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._path.add.examples* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._path.list* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._paths* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._search.dirs* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._set.add* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._ssh.init* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._structr.initApps* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._sunflower* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._svn.add.new* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._svn.detach* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._svnupdate.sh* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._template* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._templates* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._tree* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._update.authorized_keys* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._update.here.authorized_keys* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._update.scripts* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._upload.public_keys* -rwxr--r-- 1 donges 4.0K Nov 13 19:17 ._vdirsyncer* drwxr-xr-x 7 donges 4.0K Oct 30 11:47 .git/ -rwxr--r-- 1 donges 299 Jun 6 17:26 al2ln* drwxr-xr-x 2 donges 4.0K Jun 6 17:57 backup/ -rwxr--r-- 1 donges 70 May 17 18:29 buttontest.html* -rwxr--r-- 1 donges 150 Aug 3 2017 console.log* -rwxr--r-- 1 donges 651 May 17 2017 crontab.backup* -rwxr--r-- 1 donges 280 Apr 21 2017 debug* -rwxr--r-- 1 donges 195 Apr 21 2017 debug.log* -rwxr--r-- 1 donges 237 Apr 21 2017 debug.toggle* -rwxr--r-- 1 donges 1.1K Jul 23 15:03 eamd* -rwxr--r-- 1 donges 56 Jun 16 2017 err.log* -rwxr--r-- 1 donges 2.7K Jun 6 14:24 findBrokenAliases.scpt* -rwxr--r-- 1 donges 2.5K Jun 6 18:36 init.bash* -rwxr--r-- 1 donges 1.5K Aug 2 2017 init.host* -rwxr--r-- 1 donges 1.5K Aug 18 2017 init.user* -rwxr--r-- 1 donges 2.5K Oct 12 11:32 install.ONCE.sh* -rwxr--r-- 1 donges 394 Apr 21 2017 jar.withOwnManifest* -rwxr--r-- 1 donges 297 Apr 21 2017 list.add* -rwxr--r-- 1 donges 455 May 17 2017 loop.dirs* -rwxr--r-- 1 donges 579 Jun 6 17:10 loop.file.lines* -rwxr--r-- 1 donges 462 May 17 2017 loop.files* -rwxr--r-- 1 donges 563 Jun 6 18:48 loop.list* -rwxr--r-- 1 donges 202 Apr 21 2017 mvn.undeploy* -rwxr--r-- 1 donges 1.8K Jun 16 2017 new.script* -rwxr--r-- 1 donges 23K Jun 6 20:50 oosh* -rwxr--r-- 1 donges 55 Apr 21 2017 os.update* -rwxr--r-- 1 donges 105 May 17 11:26 os.version* -rwxr--r-- 1 donges 346 Apr 21 2017 osgi.bundle.copy* -rwxr--r-- 1 donges 1.1K Jun 6 17:27 osx.al2ln* -rwxr--r-- 1 donges 847 Jun 6 17:53 osx.collect.aliases.here* -rwxr--r-- 1 donges 182 Jun 6 17:33 osx.find.aliases* -rwxr--r-- 1 donges 112 Apr 21 2017 path.add* -rwxr--r-- 1 donges 648 Apr 28 2017 path.add.examples* -rwxr--r-- 1 donges 613 Jun 6 18:03 path.list* -rwxr--r-- 1 donges 54 Apr 21 2017 paths* -rwxr--r-- 1 donges 263 Apr 21 2017 search.dirs* -rwxr--r-- 1 donges 585 Apr 21 2017 set.add* -rwxr--r-- 1 donges 380 Oct 12 11:45 ssh.init* -rwxr--r-- 1 donges 4.3K Aug 3 2017 structr.initApps* drwxr-xr-x 2 donges 4.0K May 17 18:29 sunflower/ -rwxr--r-- 1 donges 58 Apr 21 2017 svn.add.new* -rwxr--r-- 1 donges 172 May 17 18:29 svn.detach* -rwxr--r-- 1 donges 300 Apr 21 2017 svnupdate.sh* -rwxr--r-- 1 donges 263 Apr 21 2017 template* drwxr-xr-x 3 donges 4.0K Oct 30 11:59 templates/ drwxr-xr-x 2 donges 4.0K May 17 18:29 tree/ -rwxr--r-- 1 donges 152 Apr 21 2017 update.authorized_keys* -rwxr--r-- 1 donges 105 Jan 29 2018 update.here.authorized_keys* -rwxr--r-- 1 donges 304 May 17 18:29 update.scripts* -rwxr--r-- 1 donges 174 Apr 21 2017 upload.public_keys* -rwxr--r-- 1 donges 384K Apr 21 2017 vdirsyncer* donges@TNAS-0189B3:~/scripts$ cd .. donges@TNAS-0189B3:~$ ll total 40K drwxrwxrwx 4 donges 4.0K Nov 13 19:23 ./ drwxr-xr-x 3 donges 4.0K Nov 13 18:48 ../ -rwxr--r-- 1 donges 11K Nov 13 19:17 .DS_Store* -rwxr--r-- 1 donges 4.0K Nov 13 18:59 ._.DS_Store* -rw------- 1 donges 575 Nov 13 19:27 .bash_history -rwxr--r-- 1 donges 3.9K Nov 13 19:22 .bashrc* lrwxrwxrwx 1 donges 7 Nov 13 19:23 .profile -> .bashrc* drwxr-xr-x 4 donges 4.0K Nov 13 19:19 .ssh/ drwxr-xr-x 7 donges 4.0K Oct 12 11:32 scripts/ donges@TNAS-0189B3:~$ cd / donges@TNAS-0189B3:/$ ll total 56K drwxr-xr-x 19 root 4.0K Nov 13 18:31 ./ drwxr-xr-x 19 root 4.0K Nov 13 18:31 ../ drwxr-xr-x 2 root 4.0K Aug 6 06:04 bin/ drwxr-xr-x 3 root 4.0K Nov 13 18:31 boot/ drwxr-xr-x 11 root 4.3K Nov 13 18:31 dev/ drwxr-xr-x 60 root 4.0K Nov 13 18:51 etc/ drwxr-xr-x 55 root 4.0K Jun 23 12:10 etc.default/ drwxr-xr-x 2 root 4.0K Nov 13 19:10 home/ drwxr-xr-x 14 root 4.0K Jun 5 12:31 lib/ lrwxrwxrwx 1 root 3 Jun 5 12:31 lib64 -> lib/ drwxr-xr-x 4 root 4.0K Nov 13 18:48 mnt/ drwxr-xr-x 3 root 4.0K Nov 26 2019 opt/ dr-xr-xr-x 263 root 0 Jan 1 1970 proc/ drwxr-xr-x 2 root 4.0K Nov 26 2019 root/ lrwxrwxrwx 1 root 8 Jun 5 12:31 run -> /var/run/ drwxr-xr-x 2 root 4.0K Aug 6 06:04 sbin/ dr-xr-xr-x 12 root 0 Nov 13 18:41 sys/ drwxr-xr-x 3 root 4.0K Jun 5 12:31 system/ drwxrwxrwt 22 root 900 Nov 13 19:33 tmp/ drwxr-xr-x 11 root 4.0K Nov 13 18:31 usr/ drwxrwxrwt 13 root 320 Nov 13 18:43 var/ donges@TNAS-0189B3:/$ cd root/ donges@TNAS-0189B3:/root$ ll total 12K drwxr-xr-x 2 root 4.0K Nov 26 2019 ./ drwxr-xr-x 19 root 4.0K Nov 13 18:31 ../ -rw-r--r-- 1 root 22 Nov 26 2019 .kernel donges@TNAS-0189B3:/root$ cd .. donges@TNAS-0189B3:/$ ll total 56K drwxr-xr-x 19 root 4.0K Nov 13 18:31 ./ drwxr-xr-x 19 root 4.0K Nov 13 18:31 ../ drwxr-xr-x 2 root 4.0K Aug 6 06:04 bin/ drwxr-xr-x 3 root 4.0K Nov 13 18:31 boot/ drwxr-xr-x 11 root 4.3K Nov 13 18:31 dev/ drwxr-xr-x 60 root 4.0K Nov 13 18:51 etc/ drwxr-xr-x 55 root 4.0K Jun 23 12:10 etc.default/ drwxr-xr-x 2 root 4.0K Nov 13 19:10 home/ drwxr-xr-x 14 root 4.0K Jun 5 12:31 lib/ lrwxrwxrwx 1 root 3 Jun 5 12:31 lib64 -> lib/ drwxr-xr-x 4 root 4.0K Nov 13 18:48 mnt/ drwxr-xr-x 3 root 4.0K Nov 26 2019 opt/ dr-xr-xr-x 262 root 0 Jan 1 1970 proc/ drwxr-xr-x 2 root 4.0K Nov 26 2019 root/ lrwxrwxrwx 1 root 8 Jun 5 12:31 run -> /var/run/ drwxr-xr-x 2 root 4.0K Aug 6 06:04 sbin/ dr-xr-xr-x 12 root 0 Nov 13 18:41 sys/ drwxr-xr-x 3 root 4.0K Jun 5 12:31 system/ drwxrwxrwt 22 root 900 Nov 13 19:33 tmp/ drwxr-xr-x 11 root 4.0K Nov 13 18:31 usr/ drwxrwxrwt 13 root 320 Nov 13 18:43 var/ donges@TNAS-0189B3:/$ cd syss -bash: cd: syss: No such file or directory donges@TNAS-0189B3:/$ cd system/ donges@TNAS-0189B3:/system$ ll total 12K drwxr-xr-x 3 root 4.0K Jun 5 12:31 ./ drwxr-xr-x 19 root 4.0K Nov 13 18:31 ../ drwxr-xr-x 3 root 4.0K Jun 5 12:31 vendor/ donges@TNAS-0189B3:/system$ cd.. -bash: cd..: command not found donges@TNAS-0189B3:/system$ cd // donges@TNAS-0189B3://$ cd / donges@TNAS-0189B3:/$ ll total 56K drwxr-xr-x 19 root 4.0K Nov 13 18:31 ./ drwxr-xr-x 19 root 4.0K Nov 13 18:31 ../ drwxr-xr-x 2 root 4.0K Aug 6 06:04 bin/ drwxr-xr-x 3 root 4.0K Nov 13 18:31 boot/ drwxr-xr-x 11 root 4.3K Nov 13 18:31 dev/ drwxr-xr-x 60 root 4.0K Nov 13 18:51 etc/ drwxr-xr-x 55 root 4.0K Jun 23 12:10 etc.default/ drwxr-xr-x 2 root 4.0K Nov 13 19:10 home/ drwxr-xr-x 14 root 4.0K Jun 5 12:31 lib/ lrwxrwxrwx 1 root 3 Jun 5 12:31 lib64 -> lib/ drwxr-xr-x 4 root 4.0K Nov 13 18:48 mnt/ drwxr-xr-x 3 root 4.0K Nov 26 2019 opt/ dr-xr-xr-x 261 root 0 Jan 1 1970 proc/ drwxr-xr-x 2 root 4.0K Nov 26 2019 root/ lrwxrwxrwx 1 root 8 Jun 5 12:31 run -> /var/run/ drwxr-xr-x 2 root 4.0K Aug 6 06:04 sbin/ dr-xr-xr-x 12 root 0 Nov 13 18:41 sys/ drwxr-xr-x 3 root 4.0K Jun 5 12:31 system/ drwxrwxrwt 22 root 900 Nov 13 19:34 tmp/ drwxr-xr-x 11 root 4.0K Nov 13 18:31 usr/ drwxrwxrwt 13 root 320 Nov 13 18:43 var/ donges@TNAS-0189B3:/$ cd var/ donges@TNAS-0189B3:/var$ ll total 12K drwxrwxrwt 13 root 320 Nov 13 18:43 ./ drwxr-xr-x 19 root 4.0K Nov 13 18:31 ../ drwxr-xr-x 3 root 60 Nov 13 18:16 cache/ drwxr-xr-x 2 root 40 Nov 13 18:16 empty/ drwxr-xr-x 7 root 160 Nov 13 18:51 lib/ drwxr-xr-x 6 root 440 Nov 13 18:58 lock/ drwxr-xr-x 6 root 380 Nov 13 18:51 log/ prw------- 1 root 0 Nov 13 18:16 msg.fifo| -rw-r--r-- 1 root 5.1K Nov 13 18:16 msgcenter.status drwxr-xr-x 2 root 60 Nov 13 18:16 nas/ drwxr-xr-x 3 root 100 Nov 13 18:43 netatalk/ drwxr-xr-x 13 root 680 Nov 13 19:02 run/ drwxr-xr-x 3 root 60 Nov 13 18:16 spool/ drwxr-xr-x 2 root 60 Nov 13 18:16 state/ drwxr-xr-x 2 root 40 Nov 13 18:16 tmp/ -rw-r--r-- 1 root 0 Nov 13 18:54 unauthapp.store donges@TNAS-0189B3:/var$ cd nas/ donges@TNAS-0189B3:/var/nas$ ll total 8.0K drwxr-xr-x 2 root 60 Nov 13 18:16 ./ drwxrwxrwt 13 root 320 Nov 13 18:43 ../ -rwxr-xr-x 1 root 4.6K Jun 9 03:08 default.script* donges@TNAS-0189B3:/var/nas$ cat default.script #!/bin/sh [ -n "$1" ] || { echo "Error: should be called from udhcpc"; exit 1; } RESOLV_CONF="/etc/resolv.conf" if [ -f "/tmp/TOS_CONFIG/.default.sys" ]; then defaultsys="/tmp/TOS_CONFIG/.default.sys" else defaultsys="/etc/.default.sys" fi RAND_DD=`awk -v min=100 -v max=200 'BEGIN{srand(); print int(min+rand()*(max-min+1))}'` case "$interface" in eth0) RAND3=254 ;; eth1) RAND3=253 ;; eth2) RAND3=252 ;; wlan0) RAND3=250 ;; *) RAND3=251 ;; esac RAND_IP=169.254.${RAND3}.${RAND_DD} NETMASK="255.255.0.0" [ -n "$subnet" ] && NETMASK="$subnet" [ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" if [ "${interface}" = "wlan0" ]; then SECTION=wlan else SECTION=lan fi masksum="/sbin/masksum" numberkey=0 getmetric(){ local currentdev=$1 local defaultgw=`iniparse -c -f ${defaultsys} -s system -k defaultgwdev` [ "${currentdev}" = "bond0" ] && { numberkey=1; return 0; } if [ "X${currentdev}" != "X${defaultgw}" ];then numberkey=2 else numberkey=1 fi return 0 } Resolv_make(){ local DNS=$1 local level=$2 [ -z "${DNS}" ] && return 1 echo "Setting nameserver ${DNS} ${level} numberkey ${numberkey}" local olddns=`sed -n ${level}p ${RESOLV_CONF} |awk '{print $2}'` [ "${olddns}" = "${DNS}" ] && return 0 sed -i "/${DNS}/d" ${RESOLV_CONF} if [ ${numberkey} -eq 1 ]; then InsertFile "nameserver ${DNS}" $level else InsertFile "nameserver ${DNS}" 3 fi sed -i '/^$/d' ${RESOLV_CONF} return 0 } InsertFile(){ local content=$1 local pos=$2 local rows=`wc -l ${RESOLV_CONF} | awk '{print $1}'` if [ $rows -eq 0 ]; then echo "${content}" > ${RESOLV_CONF} elif [ $pos -eq 1 ]; then # first line sed -i "1i ${content}" ${RESOLV_CONF} elif [ $pos -eq 2 ]; then # 2 line sed -i "1a ${content}" ${RESOLV_CONF} else sed -i "\$a ${content}" ${RESOLV_CONF} fi } deleteRoute(){ local interface=$1 local route_table="tbl_${interface}" ip rule del table ${route_table} route -n | grep ${interface} | while read line do local gw=`echo $line | awk '{print $4}'` if [ "X${gw}" = "XUG" ]; then route del default gw 0.0.0.0 dev ${interface} else local Destination=`echo $line | awk '{print $1}'` local Genmask=`echo $line | awk '{print $3}'` route del -net ${Destination} netmask ${Genmask} ${interface} fi done } setup_interface() { local route_table="tbl_${interface}" local options_mtu=`uci get network.${SECTION}.mtu 2>/dev/null` [ -z "$options_mtu" ] && options_mtu="1500" echo "Setting IP address $ip netmask $NETMASK mtu ${options_mtu} on $interface" ifconfig $interface $ip netmask $NETMASK mtu ${options_mtu} $BROADCAST MASK="`${masksum} ${ip} ${NETMASK}`" getmetric ${interface} if [ -n "$router" ] ; then echo "Deleting routers" deleteRoute $interface for options_gateway in $router ; do echo "route add default gw $options_gateway dev ${interface} metric ${numberkey}" netSort=0 [ $numberkey -gt 0 ] && let netSort=numberkey-1 route add -net ${MASK} dev ${interface} metric ${netSort} [ ${numberkey} -eq 1 ] && route add default gw ${options_gateway} dev ${interface} # config eth iproute2 ip route flush table ${route_table} ip route add ${MASK} src ${ip} dev ${interface} table ${route_table} ip route add default via ${options_gateway} src ${ip} dev ${interface} table ${route_table} ip rule add from ${ip} table ${route_table} Resolv_make "${options_gateway}" 2 done fi echo "Recreating $RESOLV_CONF" key=1 for i in $dns ; do echo " Adding DNS server $i" Resolv_make "$i" "$key" [ $key -gt 2 ] && continue #if is save the dns... olddns=`uci get network.${SECTION}.dns${key} 2>/dev/null` if [ "${i}X" = "${olddns}X" ]; then continue else uci set network.${SECTION}.dns${key}="${i}" let key=key+1 fi done uci commit network /etc/init.d/iptable restart > /dev/null 2>&1 & } applied= case "$1" in deconfig) echo "Setting IP address $RAND_IP on $interface" ifconfig $interface $RAND_IP ;; renew|bound) setup_interface ;; esac # user rules [ -f /etc/udhcpc.user ] && . /etc/udhcpc.user exit 0 donges@TNAS-0189B3:/var/nas$ cd .. donges@TNAS-0189B3:/var$ ll total 12K drwxrwxrwt 13 root 320 Nov 13 18:43 ./ drwxr-xr-x 19 root 4.0K Nov 13 18:31 ../ drwxr-xr-x 3 root 60 Nov 13 18:16 cache/ drwxr-xr-x 2 root 40 Nov 13 18:16 empty/ drwxr-xr-x 7 root 160 Nov 13 18:51 lib/ drwxr-xr-x 6 root 440 Nov 13 18:58 lock/ drwxr-xr-x 6 root 380 Nov 13 18:51 log/ prw------- 1 root 0 Nov 13 18:16 msg.fifo| -rw-r--r-- 1 root 5.1K Nov 13 18:16 msgcenter.status drwxr-xr-x 2 root 60 Nov 13 18:16 nas/ drwxr-xr-x 3 root 100 Nov 13 18:43 netatalk/ drwxr-xr-x 13 root 680 Nov 13 19:02 run/ drwxr-xr-x 3 root 60 Nov 13 18:16 spool/ drwxr-xr-x 2 root 60 Nov 13 18:16 state/ drwxr-xr-x 2 root 40 Nov 13 18:16 tmp/ -rw-r--r-- 1 root 0 Nov 13 18:54 unauthapp.store donges@TNAS-0189B3:/var$ cd .. donges@TNAS-0189B3:/$ mnt -bash: mnt: command not found donges@TNAS-0189B3:/$ mount proc on /proc type proc (rw,nosuid,nodev,noexec,noatime) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime) cgroup on /sys/fs/cgroup type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,cpu,cpuacct,blkio,memory,devices,freezer,net_cls,perf_event,net_prio,hugetlb,pids) tmpfs on /dev type tmpfs (rw,nosuid,noatime,size=512k,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000) /dev/md9 on / type ext4 (rw,noatime,data=ordered) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime) tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000) tmpfs on /var type tmpfs (rw,relatime) debugfs on /sys/kernel/debug type debugfs (rw,noatime) /dev/sda1 on /mnt/bootdev type ext4 (rw,relatime,data=ordered) /dev/mapper/vg0-lv0 on /mnt/md0 type ext4 (rw,noatime,block_validity,delalloc,nojournal_checksum,barrier,user_xattr,acl,jqfmt=vfsv1,usrjquota=quota.user,grpjquota=quota.group) nfsd on /proc/fs/nfsd type nfsd (rw,relatime) /dev/mapper/vg0-lv0 on /mnt/md0/appdata/docker/overlay2 type ext4 (rw,noatime,block_validity,delalloc,nojournal_checksum,barrier,user_xattr,acl,jqfmt=vfsv1,usrjquota=quota.user,grpjquota=quota.group) overlay on /mnt/md0/appdata/docker/overlay2/ce9ce4739fc8f9cce90d6ca8cfacd73857970467a4a6dc49a9d556897649239a/merged type overlay (rw,relatime,lowerdir=/mnt/md0/appdata/docker/overlay2/l/QXWE2RLQVWEVZGHRKBJ4VD67G5:/mnt/md0/appdata/docker/overlay2/l/3CJIKZKTYOA4TWRWFSQTC7RYYH:/mnt/md0/appdata/docker/overlay2/l/GUXPCNQVLLZACHHNU2W6UNUFL6:/mnt/md0/appdata/docker/overlay2/l/BK4QICLFYGIG3626ZCOIRIWJGN,upperdir=/mnt/md0/appdata/docker/overlay2/ce9ce4739fc8f9cce90d6ca8cfacd73857970467a4a6dc49a9d556897649239a/diff,workdir=/mnt/md0/appdata/docker/overlay2/ce9ce4739fc8f9cce90d6ca8cfacd73857970467a4a6dc49a9d556897649239a/work) shm on /mnt/md0/appdata/docker/containers/5b78a7b19694950be017c0cbbb93180aa8c1606e2d28557df6ab2215e8d54a6b/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k) nsfs on /var/run/docker/netns/3a179b92abcd type nsfs (rw) donges@TNAS-0189B3:/$ md md5sum mdadm donges@TNAS-0189B3:/$ mdadm -D /dev/m mapper/ md9 mtd0 mtd1ro mtd3 mtd4ro mtd6 mtdblock1 mtdblock4 md0 memalloc mtd0ro mtd2 mtd3ro mtd5 mtd6ro mtdblock2 mtdblock5 md8 memory_bandwidth mtd1 mtd2ro mtd4 mtd5ro mtdblock0 mtdblock3 mtdblock6 donges@TNAS-0189B3:/$ mdadm -D /dev/m mapper/ md9 mtd0 mtd1ro mtd3 mtd4ro mtd6 mtdblock1 mtdblock4 md0 memalloc mtd0ro mtd2 mtd3ro mtd5 mtd6ro mtdblock2 mtdblock5 md8 memory_bandwidth mtd1 mtd2ro mtd4 mtd5ro mtdblock0 mtdblock3 mtdblock6 donges@TNAS-0189B3:/$ mdadm -D /dev/md9 mdadm: must be super-user to perform this action donges@TNAS-0189B3:/$ suid -bash: suid: command not found donges@TNAS-0189B3:/$ su Password: su: Authentication failure donges@TNAS-0189B3:/$ exit logout Connection to 192.168.178.69 closed. donges@iMacDonges:~$ ssh -p 9222 admin@192.168.178.69 admin@192.168.178.69's password: Wellcom to TNAS -bash: ulimit: open files: cannot modify limit: Operation not permitted admin@TNAS-0189B3:~$ ll total 16K drwx------ 3 admin root 4.0K Nov 13 19:19 . drwx------ 5 admin root 4.0K Nov 13 18:37 .. -rw------- 1 admin admin 55 Nov 13 18:48 .bash_history drwx------ 2 admin root 4.0K Nov 13 18:51 desktop admin@TNAS-0189B3:~$ cat /etc/m.conf cat: can't open '/etc/m.conf': No such file or directory admin@TNAS-0189B3:~$ cat /etc/ Display all 151 possibilities? (y or n) admin@TNAS-0189B3:~$ cat /etc/mdadm.conf ARRAY /dev/md8 metadata=1.2 name=TNAS-0189B3:UTOSSWAP-X86-S64 UUID=5fb03aab:1b91cff7:14290666:32e80026 ARRAY /dev/md0 metadata=1.2 name=TNAS-0189B3:UTOSUSER-X86-S64 UUID=906ddbf2:d3421928:a25f33e4:3d7fa3fa admin@TNAS-0189B3:~$ mnt -bash: mnt: command not found admin@TNAS-0189B3:~$ mount proc on /proc type proc (rw,nosuid,nodev,noexec,noatime) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime) cgroup on /sys/fs/cgroup type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,cpu,cpuacct,blkio,memory,devices,freezer,net_cls,perf_event,net_prio,hugetlb,pids) tmpfs on /dev type tmpfs (rw,nosuid,noatime,size=512k,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000) /dev/md9 on / type ext4 (rw,noatime,data=ordered) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime) tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000) tmpfs on /var type tmpfs (rw,relatime) debugfs on /sys/kernel/debug type debugfs (rw,noatime) /dev/sda1 on /mnt/bootdev type ext4 (rw,relatime,data=ordered) /dev/mapper/vg0-lv0 on /mnt/md0 type ext4 (rw,noatime,block_validity,delalloc,nojournal_checksum,barrier,user_xattr,acl,jqfmt=vfsv1,usrjquota=quota.user,grpjquota=quota.group) nfsd on /proc/fs/nfsd type nfsd (rw,relatime) /dev/mapper/vg0-lv0 on /mnt/md0/appdata/docker/overlay2 type ext4 (rw,noatime,block_validity,delalloc,nojournal_checksum,barrier,user_xattr,acl,jqfmt=vfsv1,usrjquota=quota.user,grpjquota=quota.group) overlay on /mnt/md0/appdata/docker/overlay2/ce9ce4739fc8f9cce90d6ca8cfacd73857970467a4a6dc49a9d556897649239a/merged type overlay (rw,relatime,lowerdir=/mnt/md0/appdata/docker/overlay2/l/QXWE2RLQVWEVZGHRKBJ4VD67G5:/mnt/md0/appdata/docker/overlay2/l/3CJIKZKTYOA4TWRWFSQTC7RYYH:/mnt/md0/appdata/docker/overlay2/l/GUXPCNQVLLZACHHNU2W6UNUFL6:/mnt/md0/appdata/docker/overlay2/l/BK4QICLFYGIG3626ZCOIRIWJGN,upperdir=/mnt/md0/appdata/docker/overlay2/ce9ce4739fc8f9cce90d6ca8cfacd73857970467a4a6dc49a9d556897649239a/diff,workdir=/mnt/md0/appdata/docker/overlay2/ce9ce4739fc8f9cce90d6ca8cfacd73857970467a4a6dc49a9d556897649239a/work) shm on /mnt/md0/appdata/docker/containers/5b78a7b19694950be017c0cbbb93180aa8c1606e2d28557df6ab2215e8d54a6b/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k) nsfs on /var/run/docker/netns/3a179b92abcd type nsfs (rw) admin@TNAS-0189B3:~$ cd /mnt/ admin@TNAS-0189B3:/mnt$ ll total 13K drwxr-xr-x 4 root root 4.0K Nov 13 18:48 . drwxr-xr-x 19 root root 4.0K Nov 13 18:31 .. lrwxrwxrwx 1 root root 11 Nov 13 18:48 appdata -> md0/appdata drwxr-xr-x 3 root root 1.0K Nov 14 2020 bootdev drwxr-xr-x 8 root root 4.0K Nov 13 18:37 md0 lrwxrwxrwx 1 root root 10 Nov 13 18:48 public -> md0/public admin@TNAS-0189B3:/mnt$ cd md0/ admin@TNAS-0189B3:/mnt/md0$ kk -bash: kk: command not found admin@TNAS-0189B3:/mnt/md0$ ll total 68K drwxr-xr-x 8 root root 4.0K Nov 13 18:37 . drwxr-xr-x 4 root root 4.0K Nov 13 18:48 .. drwxr-xr-x 2 root root 4.0K Nov 13 18:34 @zlog drwxrwxrwx 4 root root 4.0K Nov 13 18:48 User drwxrwxrwx+ 4 root root 4.0K Nov 13 19:16 appdata drwxrwxrwx 7 root root 4.0K Nov 13 19:01 application drwx------ 2 root root 16K Nov 13 18:31 lost+found drwxrwxrwx+ 2 root root 4.0K Nov 13 18:58 public -rw------- 1 root root 6.0K Nov 13 18:31 quota.group -rw------- 1 root root 6.0K Nov 13 18:31 quota.user admin@TNAS-0189B3:/mnt/md0$ cd User/ admin@TNAS-0189B3:/mnt/md0/User$ ll total 16K drwxrwxrwx 4 root root 4.0K Nov 13 18:48 . drwxr-xr-x 8 root root 4.0K Nov 13 18:37 .. drwx------ 5 admin root 4.0K Nov 13 18:37 admin drwxr-xr-x 3 donges root 4.0K Nov 13 18:48 donges admin@TNAS-0189B3:/mnt/md0/User$ cd .. admin@TNAS-0189B3:/mnt/md0$ cd appdata/ admin@TNAS-0189B3:/mnt/md0/appdata$ ll total 40K drwxrwxrwx+ 4 root root 4.0K Nov 13 19:16 . drwxr-xr-x 8 root root 4.0K Nov 13 18:37 .. -rwxrwxrw-+ 1 donges allusers 6.1K Nov 13 19:18 .DS_Store -rwxrwxrw-+ 1 donges allusers 4.0K Nov 13 18:59 ._.DS_Store drwx--x--x+ 11 root root 4.0K Nov 13 18:51 docker drwxrwxrwx+ 2 donges allusers 4.0K Nov 13 19:16 test admin@TNAS-0189B3:/mnt/md0/appdata$ cd test/ admin@TNAS-0189B3:/mnt/md0/appdata/test$ ll total 16K drwxrwxrwx+ 2 donges allusers 4.0K Nov 13 19:16 . drwxrwxrwx+ 4 root root 4.0K Nov 13 19:16 .. admin@TNAS-0189B3:/mnt/md0/appdata/test$ cd .. admin@TNAS-0189B3:/mnt/md0/appdata$ cd docker/ admin@TNAS-0189B3:/mnt/md0/appdata/docker$ ll /bin/ls: cannot open directory .: Permission denied admin@TNAS-0189B3:/mnt/md0/appdata/docker$ /home/donges/scripts/ .git/ backup/ sunflower/ templates/ tree/ admin@TNAS-0189B3:/mnt/md0/appdata/docker$ /home/donges/scripts/ .git/ backup/ sunflower/ templates/ tree/ admin@TNAS-0189B3:/mnt/md0/appdata/docker$ /home/donges/scripts/ .git/ backup/ sunflower/ templates/ tree/ admin@TNAS-0189B3:/mnt/md0/appdata/docker$ ll /bin/ls: cannot open directory .: Permission denied admin@TNAS-0189B3:/mnt/md0/appdata/docker$ echo $PS1 \u@\h:\w\$ admin@TNAS-0189B3:/mnt/md0/appdata/docker$ set BASH=/bin/bash BASHOPTS=cmdhist:complete_fullquote:expand_aliases:extquote:force_fignore:hostcomplete:interactive_comments:login_shell:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]="4" [1]="3" [2]="42" [3]="1" [4]="release" [5]="aarch64-openwrt-linux-gnu") BASH_VERSION='4.3.42(1)-release' COLUMNS=237 DIRSTACK=() EUID=3 GROUPS=() HISTFILE=/home/admin/.bash_history HISTFILESIZE=500 HISTSIZE=500 HOME=/home/admin HOSTNAME=TNAS-0189B3 HOSTTYPE=aarch64 IFS=$' \t\n' LD_LIBRARY_PATH=/lib:/lib64:/usr/lib:/usr/lib64/:/usr/local/lib:/usr/local/lib64 LINES=33 LOGNAME=admin MACHTYPE=aarch64-openwrt-linux-gnu MAIL=/var/mail/admin MAILCHECK=60 OLDPWD=/mnt/md0/appdata OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:/usr/local/sbin PIPESTATUS=([0]="0") PPID=5359 PS1='\u@\h:\w\$ ' PS2='> ' PS4='+ ' PWD=/mnt/md0/appdata/docker SHELL=/bin/bash SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments SHLVL=1 SSH_CLIENT='192.168.178.49 50764 9222' SSH_CONNECTION='192.168.178.49 50764 192.168.178.69 9222' SSH_TTY=/dev/pts/1 TERM=xterm-256color UID=3 USER=admin _='\u@\h:\w\$' arp () { cat /proc/net/arp } admin@TNAS-0189B3:/mnt/md0/appdata/docker$ docker ps Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.30/containers/json: dial unix /var/run/docker.sock: connect: permission denied admin@TNAS-0189B3:/mnt/md0/appdata/docker$ ll /bin/ls: cannot open directory .: Permission denied admin@TNAS-0189B3:/mnt/md0/appdata/docker$ ls /bin/ls: cannot open directory .: Permission denied admin@TNAS-0189B3:/mnt/md0/appdata/docker$ cd .. admin@TNAS-0189B3:/mnt/md0/appdata$ ls docker test admin@TNAS-0189B3:/mnt/md0/appdata$ cd docker/ admin@TNAS-0189B3:/mnt/md0/appdata/docker$ ll /bin/ls: cannot open directory .: Permission denied admin@TNAS-0189B3:/mnt/md0/appdata/docker$ ls /bin/ls: cannot open directory .: Permission denied admin@TNAS-0189B3:/mnt/md0/appdata/docker$ cd .. admin@TNAS-0189B3:/mnt/md0/appdata$ ls docker test admin@TNAS-0189B3:/mnt/md0/appdata$ ll total 40K drwxrwxrwx+ 4 root root 4.0K Nov 13 19:16 . drwxr-xr-x 8 root root 4.0K Nov 13 18:37 .. -rwxrwxrw-+ 1 donges allusers 6.1K Nov 13 19:18 .DS_Store -rwxrwxrw-+ 1 donges allusers 4.0K Nov 13 18:59 ._.DS_Store drwx--x--x+ 11 root root 4.0K Nov 13 18:51 docker drwxrwxrwx+ 2 donges allusers 4.0K Nov 13 19:16 test admin@TNAS-0189B3:/mnt/md0/appdata$ client_loop: send disconnect: Broken pipe donges@iMacDonges:~$ ssh -p 9222 admin@192.168.178.69 admin@192.168.178.69's password: Wellcom to TNAS -bash: ulimit: open files: cannot modify limit: Operation not permitted admin@TNAS-0189B3:~$ ll total 16K drwx------ 3 admin root 4.0K Nov 13 19:19 . drwx------ 5 admin root 4.0K Nov 13 18:37 .. -rw------- 1 admin admin 705 Nov 13 20:19 .bash_history drwx------ 2 admin root 4.0K Nov 13 18:51 desktop admin@TNAS-0189B3:~$ cd / admin@TNAS-0189B3:/$ ll total 56K drwxr-xr-x 19 root root 4.0K Nov 13 18:31 . drwxr-xr-x 19 root root 4.0K Nov 13 18:31 .. drwxr-xr-x 2 root root 4.0K Aug 6 06:04 bin drwxr-xr-x 3 root root 4.0K Nov 13 18:31 boot drwxr-xr-x 11 root root 4.3K Nov 13 18:31 dev drwxr-xr-x 60 root root 4.0K Nov 13 18:51 etc drwxr-xr-x 55 root root 4.0K Jun 23 12:10 etc.default drwxr-xr-x 2 root root 4.0K Nov 14 11:20 home drwxr-xr-x 14 root root 4.0K Jun 5 12:31 lib lrwxrwxrwx 1 root root 3 Jun 5 12:31 lib64 -> lib drwxr-xr-x 4 root root 4.0K Nov 13 18:48 mnt drwxr-xr-x 3 root root 4.0K Nov 26 2019 opt dr-xr-xr-x 256 root root 0 Jan 1 1970 proc drwxr-xr-x 2 root root 4.0K Nov 26 2019 root lrwxrwxrwx 1 root root 8 Jun 5 12:31 run -> /var/run drwxr-xr-x 2 root root 4.0K Aug 6 06:04 sbin dr-xr-xr-x 12 root root 0 Nov 13 18:41 sys drwxr-xr-x 3 root root 4.0K Jun 5 12:31 system drwxrwxrwt 22 root root 900 Nov 14 11:21 tmp drwxr-xr-x 11 root root 4.0K Nov 13 18:31 usr drwxrwxrwt 13 root root 320 Nov 13 18:43 var admin@TNAS-0189B3:/$ su Password: su: Authentication failure admin@TNAS-0189B3:/$ chroot BusyBox v1.23.2 (2019-11-27 12:50:58 CST) multi-call binary. Usage: chroot NEWROOT [PROG ARGS] Run PROG with root directory set to NEWROOT admin@TNAS-0189B3:/$ uname -a Linux TNAS-0189B3 4.4.18-g8bcbd8a-dirty #1250 SMP Wed Nov 27 14:30:56 CST 2019 aarch64 GNU/Linux admin@TNAS-0189B3:/$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES admin@TNAS-0189B3:/$ su Password: setgid: Operation not permitted admin@TNAS-0189B3:/$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 5b78a7b19694 ubuntu "/bin/bash" 17 hours ago Up 53 seconds ubuntu admin@TNAS-0189B3:/$ //////////////////////////////////// May I help you? cool yes I am proud owner of a new F4-210 thank you i managed to install and even bring up a docker image...nicely integrated i try to ënter"the docker image now....but docker is started with root so that all docker command give an error on usag with the admin user if i do su it asks for the root password..... it is not the same as the admin password which i selected how do ei do sudo or su on the terrastaion terramaster soory I don’t understand why your docker image asked you the root permission. not the docker immage... eg i do as admin docker ps For your TOS, root password is the exact same as your admin user password admin@TNAS-0189B3:/$ su Password: Password: setgid: Operation not permitted admin@TNAS-0189B3:/$ which menu asked you the password? i logged into ssh obviously ssh root password is exact the same as your admin user password Please make sure you inputted correct password yes i am in ssh ... all good. but: admin@TNAS-0189B3:/mnt/md0/appdata/docker$ docker ps Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.30/containers/json: dial unix /var/run/docker.sock: connect: permission denied admin@TNAS-0189B3:/mnt/md0/appdata/docker$ ls /bin/ls: cannot open directory .: Permission denied admin@TNAS-0189B3:/mnt/md0/appdata$ ll total 40K drwxrwxrwx+ 4 root root 4.0K Nov 13 19:16 . drwxr-xr-x 8 root root 4.0K Nov 13 18:37 .. -rwxrwxrw-+ 1 donges allusers 6.1K Nov 13 19:18 .DS_Store -rwxrwxrw-+ 1 donges allusers 4.0K Nov 13 18:59 ._.DS_Store drwx--x--x+ 11 root root 4.0K Nov 13 18:51 docker drwxrwxrwx+ 2 donges allusers 4.0K Nov 13 19:16 test you see i need to do su in ssh, because all docker rights are on "root"not on admin i looked everywhere in the web, but there is no description how to proceed to do "su" and no FAQ that tells you how to switch to root even if it is nicely done.. i cannot interact with it without root I will forward your message to our tech team, but today is weekend, you will not able to have answers until tomorrow. Or you can post your questions to our forum, you may get quicker answers there by others users. all good... please do so...i can try to get back here on monday and if i got some email in the meantime...good. i guess it needs an expert since there may be by intetion not much about the root info in the internet i need to know how it was intended to work, and that is poorly documented. you only documented the GUI interaction very nicely so have a nice weekend thanks cu any case number to refer to? sorry the ticket system is not ready yet I will follow it, don’t worry oh ok many thanks any name of you to refer to? email? I am Roy nice to meet you Roy I have your email me too