userdel : "user" is in use, but "user" isn't logged

userdel : "user" is in use, but "user" isn't logged

Post by Kon » Wed, 02 Jun 2004 18:51:40



Hello,
How can I delete a user account even if the userdel command tells me
that the user is in use ? But this user is not connected and no
process is using by "user"
I'm on Solaris 5.8

# last "user"
"user"   pts/3                         Wed Jan 14 09:41   still logged
in

# last -f /var/adm/utmpx
"user"   pts/3                         Wed Jan 14 09:41 - 09:32
(23:51)

# userdel -r "user"
UX: userdel: ERROR: "user" is in use.  Cannot remove it.

Thank's in advance

 
 
 

userdel : "user" is in use, but "user" isn't logged

Post by Supak Lailer » Thu, 03 Jun 2004 00:00:02



[snip]
Quote:> How can I delete a user account even if the userdel command tells me
> that the user is in use ? But this user is not connected and no
> process is using by "user"

[snip]

Are there any user's processes running? Try "ps -ef | grep user"

Supak

 
 
 

userdel : "user" is in use, but "user" isn't logged

Post by Kon » Thu, 03 Jun 2004 18:39:35





> [snip]
> > How can I delete a user account even if the userdel command tells me
> > that the user is in use ? But this user is not connected and no
> > process is using by "user"
> [snip]

> Are there any user's processes running? Try "ps -ef | grep user"

> Supak

Hello,
No processes are  running under the account of "user"

Kona

 
 
 

1. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

My machine: P166+mmx, 32mb ram, 4gb HD with Win95 and Win NT 4.0 and
redhat5.1 co-existed in different partitions.

I issued "sndconfig" within a xterm inside X Window, The program
detects the SB 16 pnp card sets it up with no error message, but when
it launch ModProbe to test out, it gets a message states: An error was
encountered running the ModProbe program."  I tried different IRQ
settings, all ends with the same message.

2nd, When I try to mount /dev/cdrom from File Systerm Manager, the
following error is returned:  Can't find /dev/hdb in /etc/mtab or
/etc/fstab.

3nd, When my machine boots, it halts at "Sendmail" for about 3-5 mins
before it goes to next step.  Obviously there isn't any mail system on
the machine right now because it is a standalone.  How can take this
mail thing out and speed up booting?

last one, Is my Zoom 56k PCI FaxModem a Windmodem that Linux can't use
to connect me to my local isp?

Experts help me out please. thanks.

2. Term on 386bsd

3. GETSERVBYNAME()????????????????????"""""""""""""

4. Take a look at smartpad

5. USING SENDMAIL "user@domain.com" vs. "user@host.domain.com"

6. Sendmail Questions

7. Unix/linux "installation user" vs MS Windows "installation user".

8. No active class of Netbackup

9. Type "(", ")" and "{", "}" in X...

10. Using "if" in "ksh" to change "for loop" values....

11. Question on "rsh" from user "nobody"

12. Purpose of user info in "siginfo_t" wrt "sigaction"?

13. Attacked again... user accounts "Malk" and "Malk2" were added?