M
Membre supprimé 1060554
Invité
L'utilisateur à partir de la session duquel tu veux supprimer l'autre compte --> est-il admin lui-même ?
sudo ls /private/var/db/dslocal/nodes/Default/users | grep -v '.*[\^\_\].*'
dscl . -list /Users home | grep -v '.*[\^\_\].*'
sudo du -sh /Users/*
daemon.plist
h.plist
n.plist
nobody.plist
root.plist
school.plist
MacBook-Pro-de-Hdy:~ h$
dscl . -list /Users home | grep -v '.*[\^\_\].*'
sudo du -sh /Users/*
acBook-Pro-de-Hndy:~ h$ dscl . -list /Users home | grep -v '.*[\^\_\].*'
daemon /var/root
h /Users/h
n /Users/n
nobody /var/empty
root /var/root /private/var/root
school /Users/school
MacBook-Pro-de-Hndy:~ h$ sudo du -sh /Users/*
Password:
4,0K /Users/Shared
58G /Users/h
66M /Users/n
60M /Users/school
MacBook-Pro-de-Hdy:~ h$
sudo rm /private/var/db/dslocal/nodes/Default/users/n.plist
sudo rm -rf /Users/n
MacBook-Pro-de-Hndy:~ h$ sudo rm /private/var/db/dslocal/nodes/Default/users/n.plist
Password:
Sorry, try again.
Password:
rm: /private/var/db/dslocal/nodes/Default/users/n.plist: No such file or directory
MacBook-Pro-de-Hndy:~ h$
Disk: disk1s1
Volume: Macintosh HD
Mountpoint: /
UID Short Name Long Name
------------------------------------------------------------------------
502 maman Maman
-2 nobody Unprivileged User
201 Guest Guest User
0 root System Administrator
1 daemon System Services
503 eljustinho ElJustinho
501 justinpavid Justin Pavid
MacBook-Air-de-Justin:~ justinpavid$ ls /Users
Deleted Users Shared justinpavid
Guest eljustinho maman