Fulltext results:
- Compare directories
- gest file: <code bash> find DIR -type f -exec shasum {} + | LC_ALL=C sort -d -k 2 > shasums.txt </code> It's important to use ''LC_ALL=C'' and the option ''-d'' of ''sort'', to get compareable results on different machines. After that, you can diff the two shasums.txt: <code bash> diff shasums1.txt shasums2.tx
- root login with bash
- to be a role, so you can't login as root, just ''su'' to ''root'' from an user which has the ''root''... a ''bash'' shell. ssh demo.lab.example.com -t "su - root -c /bin/bash"' I set it up as an alias in... alias demo_root='ssh demo.lab.example.com -t "su - root -c /bin/bash"' This enables me logging in... assword'' prompt on the second line is from the ''su'', for the ''root'' password. {{tag>ssh solaris