[Linux]Auto login with root account

  Redhat7.4 OS: gedit /etc/gdm/custom.conf [daemen] AutomaticLoginEnable=true AutomaticLogin=root   SUSE 12SP3 OS: gedit /etc/sysconfig/displaymanager DISPLAYMANAGER_AUTOLOGIN=’root’   Ubuntu 17.10 OS: Step 1:Enable root account and set the password sudo passwd root Step 2: Allow to login with the root account cd /etc/pam.d/ sudo chmod 777 gdm-autologin //  change back its right for writing sudo chmod 777 … Continue reading “[Linux]Auto login with root account”

[Ubuntu]Samba service —share the file between the window OS and Ubuntu OS

  Samba service Step1: In the PC with window OS, create a user account (tester) create and share a folder (name:share_folder)to this user .Enable writeable & readable right. Please check the IPv4 address (192.168.1.110) Step2: In the PC with Ubuntu OS, create a folder and enable its write/read/execute right sudo mkdir /samba_share sudo chmod 777 … Continue reading “[Ubuntu]Samba service —share the file between the window OS and Ubuntu OS”

[Ubuntu] TFTP service

TFTP service Step 1. Install the tftp package apt-get install tftp-hpa tftpd-hpa   Step2. Create the tftp directory mkdir /tftpboot # create a folder as the tftp directory sudo chmod 0777 /tftpboot sudo touch test.txt # create a file test.txt for transfering   Step3. Configure # vi /etc/default/tftpd-hpa TFTP_USERNAME=”tftp” TFTP_DIRECTORY=”/tftpboot” # this is the tftpd-hpa … Continue reading “[Ubuntu] TFTP service”

[Ubuntu]Vsftpd: refusing to run with writable root inside chroot()

Problem:when try to login ftp ,terminal has prompt an error about Vsftpd: refusing to run with writable root inside chroot()  Root cause: From the vsftpd version 2.3.5 , the ftp share directory cannot be enable the writeable right. Solution: Step1.gedit /etc/vsftpd.conf and add the following                     … Continue reading “[Ubuntu]Vsftpd: refusing to run with writable root inside chroot()”