Category: Ubuntu

  • Samba Installation in Ubuntu 22

    apt-get install sambaadduser usernamesmbpasswd -a usernamecd /home/username/mkdir share_folderchown username share_folder/chgrp username share_folder/ [share_folder$]comment = share_folder Folderpath = /home/username/share_folderread only = noinherit permission = yes systemctl stop smbdsystemctl start smbd

  • Boot Repair

    Boot-Repair is a simple tool to repair frequent boot issues you may encounter in Ubuntu like when you can’t boot Ubuntu after installing Windows or another Linux distribution, or when you can’t boot Windows after installing Ubuntu, or when GRUB is not displayed anymore, some upgrade breaks GRUB, etc. Boot-Repair lets you fix these issues…

  • Automatic login using SSH credentials in Ubuntu.

    Download first an installer called “expect”. apt-get install expect Create your own shell script. Below is an example on how you can connect to the ssh server automatically. #!/usr/bin/expect -f # Expect script to supply root/admin password for remote ssh server # and execute command. # This script needs three argument to(s) connect to remote…