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

Re: [OFF-TOPIC] Apache



On Thu, 27 Jul 2000, Frederic Petit wrote:

>  > > > D'où l'intérêt de vipw(8) pour éditer /etc/passwd au lieu de vi(1).
>  > > Si je ne m'abuse, ces utilitaires se contentent seulement de poser des
>  > > locks, pas de vérifier la syntaxe du fichier ?
>  > 
>  > Tu as raison, mea culpa :)
>  > 
>  > Pourtant j'étais sûr qu'il faisait aussi la vérification de
>  > la syntaxe. Mais c'était peut-être sur un autre UNIX...
> visudo le fait.
> Tu confondais peut-être ?

Non, je parlais bien de vipw. 

Par exemple, sur HP-UX:

DESCRIPTION
  vipw edits the password file while setting the appropriate locks, and
  does any necessary processing after the password file is unlocked.  If
  the password file is already being edited, you will be told to try
  again later.  The vi editor is used unless the environment variable
  EDITOR indicates an alternate editor.  vipw performs a number of
  consistency checks on the password entry for root, and does not allow
  a password file with an incorrectly formatted root entry to be
  installed.


Stelian.
-- 
    /\ 
   /  \     Stelian Pop
  / DS \                        Email: pop@cybercable.fr
  \____/ 



Reply to: