#1  
Old 9th February 2010, 11:15
chishanut chishanut is offline
Junior Member
 
Join Date: Feb 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default usserdel

hi i have tried to delete a user account using this command userdel dubed but when i try to add the user again it gives me this warning msg: "the home directory already exist not copying any file from skel directory into it" How do fix this problem
Reply With Quote
Sponsored Links
  #2  
Old 10th February 2010, 13:31
geobaby geobaby is offline
Junior Member
 
Join Date: Feb 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to geobaby Send a message via Yahoo to geobaby Send a message via Skype™ to geobaby
Default

Quote:
Originally Posted by chishanut View Post
hi i have tried to delete a user account using this command userdel dubed but when i try to add the user again it gives me this warning msg: "the home directory already exist not copying any file from skel directory into it" How do fix this problem
tats bcos the user home directory still existing in the server. remove the home dir and try again....
__________________
http://geobaby.in
Reply With Quote
  #3  
Old 17th February 2010, 14:48
dr_timoon dr_timoon is offline
Junior Member
 
Join Date: Feb 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

u have to use this option in order to delete the home direcotry for the use
becose by defult userdel con't delete the home directory it just remove the user from
/etc/shadow
and the group name from
/etc/gshadow
and the user will no longer able to login

to remove the home direcoty you have to use this option

userdel - r
r stand for remove

it's will be del the user with the home direcotry
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.