On Thu, Sep 15, 2011 at 12:05:55PM +0200, Tomas Bodzar wrote:
> On Thu, Sep 15, 2011 at 11:57 AM, Tomas Bodzar <[email protected]>
> wrote:
> > On Thu, Sep 15, 2011 at 11:28 AM, Richard Toohey
> > <[email protected]> wrote:
> >> That last sentence - sounds exactly like what I need - so I try it:
> >>
> >> # userdel -p testuser
> >> usage: userdel -D [-p preserve-value]
> >> B  B  B userdel [-prv] user
> >>
> > I'm on current. Anyway strange that -v switch doesn't provide verbose
> > output in fact and that information in password file was not preserved
> > in fact. User disappeared somewhere, but where :-) Files are in place
> > as you can see.
> 
> 
> 
> >$ sudo rm -rf /home/test/
> $ userdel -D
> preserve        false
> $ userdel -p true
> usage: userdel -D [-p preserve-value]
>        userdel [-prv] user

This should be 'userdel -D -p true'
according to userdel(8).

'userdel -p true user' also works
if preserve has not been set to
true (one way or another), which
is perhaps not obvious from the
syopsis.

Reply via email to