bug-sysutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-sysutils] passwd-ng: Strange output from --help


From: David Weinehall
Subject: Re: [Bug-sysutils] passwd-ng: Strange output from --help
Date: Wed, 19 May 2004 15:49:21 +0200
User-agent: Mutt/1.4.1i

On Wed, May 19, 2004 at 02:42:52PM +0200, Alfred M. Szmidt wrote:
>    But we need to know what help-text to show; normal users
>    cannot user all options if lsuser and lsgroup isn't installed
>    suid/sgid.
> 
> All options should be showed at all times, one can make a section like
> tar has, for example:
> 
> ,----
> | Usage: lsgroup [OPTION]...
> | Blablabla...
> | 
> |   -f, --foo                  foo
> | 
> | Options avaiable to the super-user.
> |   -b, --bar                  bar
> `----
> 
> As for installing lsuser/lsgroup suid, why not try and make it not
> require anything that needs suid things?

Because then it doesn't provide the full functionality...  It should
still work though.

>    > Aside from that I will try to look into what this error is.  This
>    > is on a GNU/Hurd machine so maybe I need to try it on a GNU/Linux
>    > box.
> 
>    The problem is that it cannot find /etc/shadow and/or /etc/gshadow.
>    These files are a requisite for things to work properly.
> 
> This is only true if and only if you use shadowed passwords.

Yes, but that's a default assumption in my code, since if you don't use
shadow-passwords, you might as well use password-less accounts...  And
you won't be able to have group-administrators, aging-information etc.


Regards: David Weinehall
-- 
 /) David Weinehall <address@hidden> /) Northern lights wander      (\
//  Maintainer of the v2.0 kernel   //  Dance across the winter sky //
\)  http://www.acc.umu.se/~tao/    (/   Full colour fire           (/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]