Solved

how to delete a domain member machine account from linux PDC

Posted on 2007-12-03
4
2,703 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
  • 2
  • 2
4 Comments
 
LVL 43

Accepted Solution

by:
ravenpl earned 500 total points
Comment Utility
userdel -rf machine_name$
smbpasswd -x machine_name$
0
 

Author Comment

by:D_wathi
Comment Utility
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
Comment Utility
userdel < machine account>
got deleted
0
 
LVL 43

Assisted Solution

by:ravenpl
ravenpl earned 500 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
If, like me, you have a lot of Dell servers in the estate you manage this article should save you a little time. When attempting to login to iDrac on any server I would be presented with two errors. The first reads "Do you want to run this applicati…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now