<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: RHES3U4 userdel erro could not remove user in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/rhes3u4-userdel-erro-could-not-remove-user/m-p/4088453#M30412</link>
    <description>BTW,&lt;BR /&gt;&lt;BR /&gt;as a root user did below error:&lt;BR /&gt;&lt;BR /&gt;# su j4&lt;BR /&gt;su: incorrect password&lt;BR /&gt;&lt;BR /&gt;root user do the command su need passowd? I don't think so. And why incorrect password.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 18 Oct 2007 16:02:24 GMT</pubDate>
    <dc:creator>Gary L</dc:creator>
    <dc:date>2007-10-18T16:02:24Z</dc:date>
    <item>
      <title>RHES3U4 userdel erro could not remove user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhes3u4-userdel-erro-could-not-remove-user/m-p/4088452#M30411</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;My system OS is Redhat ES 3 update 4.&lt;BR /&gt;I could not remove a user, details are as follows:&lt;BR /&gt;&lt;BR /&gt;#id j4&lt;BR /&gt;uid=10004(j4) gid=100(users) groups=100(users)&lt;BR /&gt;&lt;BR /&gt;#userdel -rf j4&lt;BR /&gt;userdel: error deleting password entry&lt;BR /&gt;userdel: error deleting shadow password entry&lt;BR /&gt;userdel: error removing directory /home/j4&lt;BR /&gt;(the same userdel -r or userdel -f)&lt;BR /&gt;&lt;BR /&gt;#id j4&lt;BR /&gt;uid=10004(j4) gid=100(users) groups=100(users)&lt;BR /&gt;&lt;BR /&gt;Through check from VNC remote desktop - system setting - users and groups, j4 not in the list.&lt;BR /&gt;&lt;BR /&gt;# ps -ef | grep j4&lt;BR /&gt;root     30345 29617  0 16:50 pts/49   00:00:00 grep j4&lt;BR /&gt;and&lt;BR /&gt;# who&lt;BR /&gt;# w&lt;BR /&gt;user j4 not in the system&lt;BR /&gt;&lt;BR /&gt;# useradd j4&lt;BR /&gt;useradd: user j4 exists&lt;BR /&gt;but i could add j4 user through Linux GUI users and groups, I add a user j4 userid:500&lt;BR /&gt;&lt;BR /&gt;# id j4&lt;BR /&gt;[root@srs119 home]# id j4&lt;BR /&gt;uid=500(j4) gid=100(users) groups=100(users)&lt;BR /&gt;&lt;BR /&gt;but &lt;BR /&gt;after I did: #userdel -rf j4&lt;BR /&gt;&lt;BR /&gt;# id j4&lt;BR /&gt;uid=10004(j4) gid=100(users) groups=100(users)&lt;BR /&gt;&lt;BR /&gt;What's going on? How to remove the user j4?&lt;BR /&gt;Any answers will be very appreciate.&lt;BR /&gt;&lt;BR /&gt;-Gary&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2007 15:57:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhes3u4-userdel-erro-could-not-remove-user/m-p/4088452#M30411</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-10-18T15:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: RHES3U4 userdel erro could not remove user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhes3u4-userdel-erro-could-not-remove-user/m-p/4088453#M30412</link>
      <description>BTW,&lt;BR /&gt;&lt;BR /&gt;as a root user did below error:&lt;BR /&gt;&lt;BR /&gt;# su j4&lt;BR /&gt;su: incorrect password&lt;BR /&gt;&lt;BR /&gt;root user do the command su need passowd? I don't think so. And why incorrect password.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2007 16:02:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhes3u4-userdel-erro-could-not-remove-user/m-p/4088453#M30412</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-10-18T16:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: RHES3U4 userdel erro could not remove user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhes3u4-userdel-erro-could-not-remove-user/m-p/4088454#M30413</link>
      <description>Are you using a user database, for example, NIS or LDAP?&lt;BR /&gt;&lt;BR /&gt;Is the user listed in local files?&lt;BR /&gt;&lt;BR /&gt;grep j4 /etc/passwd&lt;BR /&gt;grep j4 /etc/shadow&lt;BR /&gt;grep j4 /etc/group&lt;BR /&gt;&lt;BR /&gt;Can you post the content of:&lt;BR /&gt;&lt;BR /&gt;/etc/nsswitch.conf&lt;BR /&gt;/etc/pam.d/system-auth</description>
      <pubDate>Thu, 18 Oct 2007 16:05:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhes3u4-userdel-erro-could-not-remove-user/m-p/4088454#M30413</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-10-18T16:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: RHES3U4 userdel erro could not remove user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhes3u4-userdel-erro-could-not-remove-user/m-p/4088455#M30414</link>
      <description>Hi Ivan&lt;BR /&gt;&lt;BR /&gt;Thank you very much for your fast reply.&lt;BR /&gt;I have no idea whether we using user database, as this server's user adding task done by last admin.&lt;BR /&gt;&lt;BR /&gt;# grep j4 /etc/passwd&lt;BR /&gt;# grep j4 /etc/shadow&lt;BR /&gt;# grep j4 /etc/group&lt;BR /&gt;after donen above checks, there is no j4 entry in those three files.&lt;BR /&gt;&lt;BR /&gt;# cat /etc/nsswitch.conf&lt;BR /&gt;#&lt;BR /&gt;# /etc/nsswitch.conf&lt;BR /&gt;#&lt;BR /&gt;# An example Name Service Switch config file. This file should be&lt;BR /&gt;# sorted with the most-used services at the beginning.&lt;BR /&gt;#&lt;BR /&gt;# The entry '[NOTFOUND=return]' means that the search for an&lt;BR /&gt;# entry should stop if the search in the previous entry turned&lt;BR /&gt;# up nothing. Note that if the search failed due to some other reason&lt;BR /&gt;# (like no NIS server responding) then the search continues with the&lt;BR /&gt;# next entry.&lt;BR /&gt;#&lt;BR /&gt;# Legal entries are:&lt;BR /&gt;#&lt;BR /&gt;#     nisplus or nis+   Use NIS+ (NIS version 3)&lt;BR /&gt;#     nis or yp   Use NIS (NIS version 2), also called YP&lt;BR /&gt;#     dns         Use DNS (Domain Name Service)&lt;BR /&gt;#     files       Use the local files&lt;BR /&gt;#     db          Use the local database (.db) files&lt;BR /&gt;#     compat      Use NIS on compat mode&lt;BR /&gt;#     hesiod      Use Hesiod for user lookups&lt;BR /&gt;#     [NOTFOUND=return] Stop searching if not found so far&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;# To use db, put the "db" in front of "files" for entries you want to be&lt;BR /&gt;# looked up first in the databases&lt;BR /&gt;#&lt;BR /&gt;# Example:&lt;BR /&gt;#passwd:    db files nisplus nis&lt;BR /&gt;#shadow:    db files nisplus nis&lt;BR /&gt;#group:     db files nisplus nis&lt;BR /&gt;&lt;BR /&gt;passwd:     files ldap&lt;BR /&gt;shadow:     files ldap&lt;BR /&gt;group:      files ldap&lt;BR /&gt;&lt;BR /&gt;#hosts:     db files nisplus nis dns&lt;BR /&gt;hosts:      files dns&lt;BR /&gt;&lt;BR /&gt;# Example - obey only what nisplus tells us...&lt;BR /&gt;#services:   nisplus [NOTFOUND=return] files&lt;BR /&gt;#networks:   nisplus [NOTFOUND=return] files&lt;BR /&gt;#protocols:  nisplus [NOTFOUND=return] files&lt;BR /&gt;#rpc:        nisplus [NOTFOUND=return] files&lt;BR /&gt;#ethers:     nisplus [NOTFOUND=return] files&lt;BR /&gt;#netmasks:   nisplus [NOTFOUND=return] files&lt;BR /&gt;&lt;BR /&gt;bootparams: nisplus [NOTFOUND=return] files&lt;BR /&gt;&lt;BR /&gt;ethers:     files&lt;BR /&gt;netmasks:   files&lt;BR /&gt;networks:   files&lt;BR /&gt;protocols:  files ldap&lt;BR /&gt;rpc:        files&lt;BR /&gt;services:   files ldap&lt;BR /&gt;&lt;BR /&gt;netgroup:   files ldap&lt;BR /&gt;&lt;BR /&gt;publickey:  nisplus&lt;BR /&gt;&lt;BR /&gt;automount:  files ldap&lt;BR /&gt;aliases:    files nisplus&lt;BR /&gt;&lt;BR /&gt;# cat etc/pam.d/system-auth&lt;BR /&gt;cat: etc/pam.d/system-auth: No such file or directory&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2007 16:13:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhes3u4-userdel-erro-could-not-remove-user/m-p/4088455#M30414</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-10-18T16:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: RHES3U4 userdel erro could not remove user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhes3u4-userdel-erro-could-not-remove-user/m-p/4088456#M30415</link>
      <description>Based on the output of your commands, 100% sure that the user is an LDAP user. You must remove the user from the LDAP database.&lt;BR /&gt;&lt;BR /&gt;You can identify your LDAP server by checking /etc/ldap.conf.&lt;BR /&gt;&lt;BR /&gt;There is a excelent tool to managet LDAP directories called ldapadmin.exe.&lt;BR /&gt;&lt;BR /&gt;If you don't know about LDAP, hurry!</description>
      <pubDate>Thu, 18 Oct 2007 16:22:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhes3u4-userdel-erro-could-not-remove-user/m-p/4088456#M30415</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-10-18T16:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: RHES3U4 userdel erro could not remove user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhes3u4-userdel-erro-could-not-remove-user/m-p/4088457#M30416</link>
      <description>Thanks Ivan.&lt;BR /&gt;Thank you very much for your kindly help.&lt;BR /&gt;I will check LDAP database soon.&lt;BR /&gt;Have a great day&lt;BR /&gt;&lt;BR /&gt;-Gary</description>
      <pubDate>Thu, 18 Oct 2007 16:25:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhes3u4-userdel-erro-could-not-remove-user/m-p/4088457#M30416</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-10-18T16:25:44Z</dc:date>
    </item>
  </channel>
</rss>

