View previous topic :: View next topic |
Author |
Message |
Nossie Apprentice
Joined: 19 Apr 2002 Posts: 181
|
Posted: Fri May 10, 2002 1:52 pm Post subject: logged in users screwup, can't delete a user.... |
|
|
If i try to delete a user (userdel user) i get the message that the user is logged in at the moment and cannot be deleted, but the user isn't actualy logged in.
If i do a 'who' i get a long list of users, not the ones that are logged in at the moment.
Where doest the 'who' command get it's info from ?
anyone got an idea ?
greets,
Nossie |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Fri May 10, 2002 2:18 pm Post subject: Re: logged in users screwup, can't delete a user.... |
|
|
Nossie wrote: | Where doest the 'who' command get it's info from ? |
To quote:
Quote: | If FILE is not specified, use /var/run/utmp. |
Also, see the 'users' command. (and 'man users' or 'info users' for more information about that command)
man pages are your friend.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
Nossie Apprentice
Joined: 19 Apr 2002 Posts: 181
|
Posted: Fri May 10, 2002 4:06 pm Post subject: I did read the man pages |
|
|
still, if i do a 'who' or 'users' i get a approx. 30 results, while only 1 user is logged in.
gives the same result as
still puzzled....
Nossie |
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Fri May 10, 2002 4:07 pm Post subject: |
|
|
hell, it it's telling ya that, you can always do it manually...
remove the line in the /etc/passwd, any references in the /etc/group, and nix the home directory. |
|
Back to top |
|
|
|