[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

how to delete a domain member machine account from linux PDC

Posted on 2007-12-03
4
Medium Priority
?
3,029 Views
Last Modified: 2013-12-16
How to delete the machine account which wascreated manually by the folliowing commands from linux pdc

#groupadd machines
#/usr/sbin/useradd -s /bin/false -d /dev/null -g machines machine_names$

account got created but want to delete , please help how to delete the same.


0
Comment
Question by:D_wathi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 43

Accepted Solution

by:
ravenpl earned 2000 total points
ID: 20398341
userdel -rf machine_name$
smbpasswd -x machine_name$
0
 

Author Comment

by:D_wathi
ID: 20401034
Sir: when tried with userdel and smbpasswd following is the result please help


# userdel -rf machine_name$

 userdel:error removing directory /dev/null

#smbpasswd -x machine_name
Failed to modify entry for user computer29$



0
 

Author Comment

by:D_wathi
ID: 20401184
userdel < machine account>
got deleted
0
 
LVL 43

Assisted Solution

by:ravenpl
ravenpl earned 2000 total points
ID: 20401264
Yes, -rf says to remove home directory as well, but since home was set to /dev/null - I was wrong with those options.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question