This discussion is archived
1 Reply Latest reply: Mar 31, 2012 11:30 PM by Bjoern Rost RSS

Cannot delete a user

905746 Newbie
Currently Being Moderated
Cannot delete a user:

root@suntt1 # getent passwd | grep 'k0013394966'

root@suntt1 # /opt/RMee/bin/wa userdel --attrs uid=k0013394966
ERROR: ERROR[4] login: Bad login/password
  • 1. Re: Cannot delete a user
    Bjoern Rost Oracle ACE Director
    Currently Being Moderated

    I have no idea what /opt/RMee/bin/wa ist but you could try '/usr/sbin/userdel k0013394966'. If that still does not work I'd simply remove the user by hand by removing it's line from /etc/passwd, /etc/shadow and deleting the home directory. Maybe also remove the user's additional groups from /etc/group.

    Or are you using some directory service instead of files? In that case you might have to specify that with userdel. You can check for that with 'grep passwd /etc/nsswitch.conf'



  • Correct Answers - 10 points
  • Helpful Answers - 5 points