M
Membre supprimé 1060554
Invité
Loge-toi dans la session Secours du volume LOLKFR --> tout va se passer dans cette session. Indique si tu y es.
sudo rm -f /private/var/db/dslocal/nodes/Default/users/florianchissadon.plist
sudo ls /private/var/db/dslocal/nodes/Default/users | sed '/^_/ d'
iMac-de-Florian:~ secours$ sudo ls /private/var/db/dslocal/nodes/Default/users | sed '/^_/ d'
Guest.plist
daemon.plist
nobody.plist
root.plist
secours.plist
sudo defaults write /private/var/db/dslocal/nodes/Default/users/florianchissadon.plist home '("/Volumes/Macintosh HD/Users/florianchissadon")'
dscl . -list /Users home | grep -v '.*[\^\_\].*'
iMac-de-Florian:~ secours$ sudo defaults write /private/var/db/dslocal/nodes/Default/users/florianchissadon.plist home '("/Volumes/Macintosh HD/Users/florianchissadon")'
Password:
iMac-de-Florian:~ secours$ dscl . -list /Users home | grep -v '.*[\^\_\].*'
daemon /var/root
florianchissadon /Volumes/Macintosh HD/Users/florianchissadon
Guest /Users/Guest
nobody /var/empty
root /var/root /private/var/root
secours /Users/secours
florianchissadon /Volumes/Macintosh HD/Users/florianchissadon
sudo chown -R florianchissadon:staff /Volumes/"Macintosh HD"/Users/florianchissadon
sudo du -sh /Volumes/"Macintosh HD"/Users/florianchissadon
iMac-de-Florian:~ secours$ sudo du -sh /Volumes/"Macintosh HD"/Users/florianchissadon
Password:
181G /Volumes/Macintosh HD/Users/florianchissadon
diskutil list
iMac-de-Florian:~ florianchissadon$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 499.9 GB disk0s2
3: Apple_HFS Mac OS 499.8 GB disk0s3
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +499.9 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 316.4 GB disk1s1
2: APFS Volume Preboot 45.2 MB disk1s2
3: APFS Volume Recovery 512.4 MB disk1s3
4: APFS Volume VM 4.3 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *250.1 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_APFS Container disk3 249.8 GB disk2s2
/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +249.8 GB disk3
Physical Store disk2s2
1: APFS Volume LOLKFR 21.0 GB disk3s1
2: APFS Volume Preboot 45.8 MB disk3s2
3: APFS Volume Recovery 517.0 MB disk3s3
4: APFS Volume VM 4.3 GB disk3s4
/dev/disk4 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *1.0 TB disk4
1: Apple_HFS HDD 1000 1.0 TB disk4s1