Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unable to remove UNIX user?

145 views
Skip to first unread message

twerty

unread,
Apr 17, 2002, 4:18:38 AM4/17/02
to
Can anyone help me? I am having trouble removing the user 'jessica'. I
am unable to do it from smit or command line. The user seems to be
corrupted. When I try to do a password change (using root) they prompt me
for the old password of Jessica, which should not be the case? When I try to
change the password of eugene, it prompts for the new password (which I
believe is the right way)

Any hints on what I should do to remove this user?

TIA!

root@saprod:/]rmuser jessica
3004-696 Error removing "jessica".
root@saprod:/]
root@saprod:/]
root@saprod:/]rmuser -p jessica
3004-696 Error removing "jessica".
root@saprod:/]
root@saprod:/]
root@saprod:/]cat /etc/passwd
root:!:0:0::/:/bin/ksh
daemon:!:1:202::/etc:
bin:!:2:2::/bin:
sys:!:3:3::/usr/sys:
adm:!:4:4::/var/adm:
uucp:!:5:5::/usr/lib/uucp:
lpd:!:9:4294967294::/:
invscout:!:200:20::/home/invscout:/usr/bin/ksh
imnadm:!:201:200::/home/imnadm:/usr/bin/ksh
nuucp:!:6:5:uucp login user:/var/spool/uucppublic:/usr/sbin/uucp/uucico
ipsec:!:202:1::/etc/ipsec:/usr/bin/ksh
eugene:!:210:0::/home/eugene:/bin/ksh
jessica:!:218:3::/home/jessica:/usr/bin/ksh

root@saprod:/]passwd eugene
Changing password for "eugene"
eugene's New password:
3004-657 Terminating from signal.
root@saprod:/]
root@saprod:/]
root@saprod:/]passwd jessica
Changing password for "jessica"
jessica's Old password:
3004-657 Terminating from signal.
root@saprod:/]


Ton Voon

unread,
Apr 17, 2002, 11:31:16 AM4/17/02
to
In article <a9jam9$37vna$1...@ID-51406.news.dfncis.de>,
"twerty" <2d...@iname.com> wrote:

> Can anyone help me? I am having trouble removing the user 'jessica'. I
> am unable to do it from smit or command line. The user seems to be
> corrupted. When I try to do a password change (using root) they prompt me
> for the old password of Jessica, which should not be the case? When I try to
> change the password of eugene, it prompts for the new password (which I
> believe is the right way)
>
> Any hints on what I should do to remove this user?


Run usrck and grpck to verify your user security files - that will show
up any corruptions.

Ton

Chris

unread,
Apr 17, 2002, 12:34:56 PM4/17/02
to
Run a "pwdck -n jessica" to see a report on her validity as a user.
Run a "pwdck -y jessica" to see the report AND fix the problems.

Regards,
Chris

"twerty" <2d...@iname.com> wrote in message news:<a9jam9$37vna$1...@ID-51406.news.dfncis.de>...

Nick Maclaren

unread,
Apr 17, 2002, 12:41:52 PM4/17/02
to

In article <647ed9ee.0204...@posting.google.com>,

chr...@po.wr.com (Chris) writes:
|> Run a "pwdck -n jessica" to see a report on her validity as a user.
|> Run a "pwdck -y jessica" to see the report AND fix the problems.

Or to turn a simple problem into a worse mess. It is extremely
common for the 'fix' chosen by such programs to be seriously
wrong. A good rule of thumb is never to use the latter form
unless you have already done the former one AND know what the
latter form will then do.


Regards,
Nick Maclaren,
University of Cambridge Computing Service,
New Museums Site, Pembroke Street, Cambridge CB2 3QH, England.
Email: nm...@cam.ac.uk
Tel.: +44 1223 334761 Fax: +44 1223 334679

frank

unread,
Apr 17, 2002, 8:11:21 PM4/17/02
to
Remove the jessica line from the passwd and the shadow file and try
to re-create user jessica. Try to delete user jessica once again
after that.

--
Posted via dBforums
http://dbforums.com

Nick Haynes

unread,
Apr 23, 2002, 9:23:51 AM4/23/02
to

twerty wrote:

> Can anyone help me? I am having trouble removing the user 'jessica'. I
> am unable to do it from smit or command line. The user seems to be
> corrupted. When I try to do a password change (using root) they prompt me
> for the old password of Jessica, which should not be the case?

When prompted for the user's password enter root's password.

Nick H

0 new messages