Solved

how to delete a domain member machine account from linux PDC

Posted on 2007-12-03
4
2,771 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
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 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux Mint 18 31 89
issue in getting eth0 IP in oracale virtual box Linux VM 4 51
linux(debian) mouse poor performance 4 39
centos commands 6 51
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

776 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