You are not logged in.
Pages: 1
Hi,
I had comitted a terible mistake. I have deleted user with userdel (name) command and now I cannot access my home directory. Permission denied.
I can access it as root, so no problem, all the files are there. But, is there any way to recover the deleted user, so I can access my home directory as normal user? A help will be very much appreciated.
Last edited by piotr (2009-10-01 23:01:10)
Offline
What about adding it again?
"I'm Winston Wolfe. I solve problems."
~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~
Offline
It does not work. I get the message that the home directory already exists.
Offline
Well then, just rename the home folder, re-create your user then move all the data back to the proper home folder.
what goes up must come down
Offline
Hi.
It does not work. I get the message that the home directory already exists.
pass the -M option to useradd to avoid creating user home directory
pass the -u option to specify the user ID to use, look at this with ls -alln /home/ then you should see the uid number side to your old home dir
-
Arch64 - Acer AX3950 - i5-650 3.2 GHz - 8 GB RAM - Nvidia GeForce 320 1 GB Ram
Arch32 - Samsung NC10 - 2 GB Ram
Offline
Done. Thanks a lot. Arch community is really great.
Offline
Done. Thanks a lot. Arch community is really great.
We know, we are so awesome!
*runs for tacos*
"I'm Winston Wolfe. I solve problems."
~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~
Offline
Pages: 1