Passwd :: Unix.

fornisce un'interfaccia astratta a / etc / passwd, / etc / shadow e / etc / formato di gruppo di file
Scarica ora

Passwd :: Unix. Classifica e riepilogo

Annuncio pubblicitario

  • Rating:
  • Licenza:
  • Perl Artistic License
  • Nome editore:
  • Strzelecki Lukasz
  • Sito web dell'editore:
  • http://search.cpan.org/~strzelec/

Passwd :: Unix. Tag


Passwd :: Unix. Descrizione

Fornisce un'interfaccia astratta a / etc / passwd, / etc / shadow e / etc / gruppo di formato di gruppo Passwd :: UNIX è un modulo perl che fornisce un'interfaccia astratta a / etc / passwd, / etc / shadow e / etc / gruppo di formato di gruppo. È ispirato da UNIX :: Modulo passwdfile (che non maneggia / etc / shadow file, cosa è necessario in sistemi moderni come Sun Solaris 10 o Linux) .synopsis usa il passwd :: UNIX; My $ PU = passwd :: Unix-> nuovo (); My $ ERR = $ PU-> USER ("Esempio", $ PU-> Encpass ("My_Secret"), $ PU-> Maxuid + 1, 10, "My user", "/ home / esempio", "/ bin / bash "); $ PU-> passwd ("Esempio", $ PU-> encpass ("Newsecret")); foreach My $ utente ($ PU-> Utenti) {Stampa "Nome utente: $ utente \ nfull Nome:", $ PU-> GECOS ($ utente), "\ n \ n"; } My $ UID = $ PU-> UID ('Esempio'); $ Pu-> del ("esempio"); # o utilizzare il passwd :: UNIX QW (check_sanity reset encpass passwd_file shadow_file group_file backup avvertings del del_User UID GID GID GECOS Home Shell Passwd Rinomina Maxgid Maxuid Exists_User Exists_Group Utenti utente Users_from_Shadow del_Group Gruppi di gruppo Gruppi gruppi_from_Gshadow); My $ ERR = Utente ("Esempio", Encwass ("My_Secret"), $ PU-> Maxuid + 1, 10, "My user", "/ home / esempio", "/ bin / bash"); passwd ("esempio", encpass ("nodycret")); Foreach My $ utente (utenti ()) {stampa "nome utente: $ utente \ nfull nome:", gecos ($ utente), "\ n \ n"; } My $ UID = UID ('Esempio'); del ("esempio"); Requisiti: · Perl.


Passwd :: Unix. Software correlato