Mailinglist Archive: opensuse-factory (235 mails)
| < Previous | Next > |
Re: [opensuse-factory] not possible to delete a user ?
- From: Jiří Suchomel <jsuchome@xxxxxxx>
- Date: Mon, 11 Jun 2007 13:10:18 +0200
- Message-id: <200706111310.18466.jsuchome@xxxxxxx>
On Monday 11 June 2007 12:19, Volker Kuhlmann wrote:
> On Mon 11 Jun 2007 17:41:36 NZST +1200, Ji??í Suchomel wrote:
> > If the user is logged, YaST refuses to delete it. This is intended.
> > However if the user you wanted to delete actually was _not_ logged in,
> > please file a bug report.
>
> I have seen something similar on 10.2, probably 10.1 and further back I
> can't remember. I have a script to create and delete users in a hurry,
> incl getting rid of their KDE and other temp stuff. When I log in as
> that user on another X11 console, log out and immediately delete the
> user, there is frequently a failure with userdel refusing to do anything
> much. There is no further process running owned by that user. The state
> is irrecoverable other than by reboot, or at least some overnight wait.
> I don't know whether this is even expected behaviour or how to reproduce
> it reliably, so I didn't write a bug report.
I don't know about userdel, but YaST uses "ps --no-headers -u <username>" to
do the check.
> Volker
Jiri
--
Jiri Suchomel
SUSE LINUX, s.r.o. e-mail: jsuchome@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Praha 9, Czech Republic http://www.suse.cz
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
> On Mon 11 Jun 2007 17:41:36 NZST +1200, Ji??í Suchomel wrote:
> > If the user is logged, YaST refuses to delete it. This is intended.
> > However if the user you wanted to delete actually was _not_ logged in,
> > please file a bug report.
>
> I have seen something similar on 10.2, probably 10.1 and further back I
> can't remember. I have a script to create and delete users in a hurry,
> incl getting rid of their KDE and other temp stuff. When I log in as
> that user on another X11 console, log out and immediately delete the
> user, there is frequently a failure with userdel refusing to do anything
> much. There is no further process running owned by that user. The state
> is irrecoverable other than by reboot, or at least some overnight wait.
> I don't know whether this is even expected behaviour or how to reproduce
> it reliably, so I didn't write a bug report.
I don't know about userdel, but YaST uses "ps --no-headers -u <username>" to
do the check.
> Volker
Jiri
--
Jiri Suchomel
SUSE LINUX, s.r.o. e-mail: jsuchome@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Praha 9, Czech Republic http://www.suse.cz
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |