Pi

Pi: USB HDD Setup

List Disks

sudo lsblk -o UUID,NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL,MODEL

mdp@pi:/ $ sudo lsblk -o UUID,NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL,MODEL
[sudo] password for mdp:
UUID                                 NAME        FSTYPE   SIZE MOUNTPOINT           LABEL   MODEL
                                     sda                   29G                              Storage_Device
d486f62b-1ad3-4140-ab53-129665994877 └─sda1      xfs       29G /media/mdp/PiDrive   PiDrive
                                     sdb                465.8G                              MQ01ABD050V
409821DB9821D068                     └─sdb1      ntfs   465.8G /media/silosix/W[500 W[500   
                                     mmcblk0             59.5G                              
3FFE-CDCA                            ├─mmcblk0p1 vfat     256M /boot                boot    
3122c401-b3c6-4d27-8e0d-6708a7613aed └─mmcblk0p2 ext4    59.2G /                    rootfs

Tags

Pi: Samba: Initial setup

Raspberry Pi change username

Sources:

Pi username change

log out
sudo passwd root
<root_passwd>

logout

usermod –l mdp pi
<mdp_passwd>

Check home dir

usermod –m –d/home/mdp mdp

Pi Password change

Logout
login mdp
passwd

Samba - list users

sudo pdbedit -L -v

Unix username:        jimmy
NT username:          
Account Flags:        [U          ]
User SID:             S-1-
Tags
Subscribe to Pi