<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                ### 導航 - [索引](../genindex.xhtml "總目錄") - [模塊](../py-modindex.xhtml "Python 模塊索引") | - [下一頁](grp.xhtml "grp --- The group database") | - [上一頁](pwd.xhtml "pwd --- 用戶密碼數據庫") | - ![](https://box.kancloud.cn/a721fc7ec672275e257bbbfde49a4d4e_16x16.png) - [Python](https://www.python.org/) ? - zh\_CN 3.7.3 [文檔](../index.xhtml) ? - [Python 標準庫](index.xhtml) ? - [Unix 專有服務](unix.xhtml) ? - $('.inline-search').show(0); | # [`spwd`](#module-spwd "spwd: The shadow password database (getspnam() and friends). (Unix)") --- The shadow password database - - - - - - This module provides access to the Unix shadow password database. It is available on various Unix versions. You must have enough privileges to access the shadow password database (this usually means you have to be root). Shadow password database entries are reported as a tuple-like object, whose attributes correspond to the members of the `spwd` structure (Attribute field below, see `<shadow.h>`): 索引 屬性 意義 0 `sp_namp` 登錄名 1 `sp_pwdp` Encrypted password 2 `sp_lstchg` Date of last change 3 `sp_min` Minimal number of days between changes 4 `sp_max` Maximum number of days between changes 5 `sp_warn` Number of days before password expires to warn user about it 6 `sp_inact` Number of days after password expires until account is disabled 7 `sp_expire` Number of days since 1970-01-01 when account expires 8 `sp_flag` Reserved The sp\_namp and sp\_pwdp items are strings, all others are integers. [`KeyError`](exceptions.xhtml#KeyError "KeyError") is raised if the entry asked for cannot be found. 定義了以下函數: `spwd.``getspnam`(*name*)Return the shadow password database entry for the given user name. 在 3.6 版更改: Raises a [`PermissionError`](exceptions.xhtml#PermissionError "PermissionError") instead of [`KeyError`](exceptions.xhtml#KeyError "KeyError") if the user doesn't have privileges. `spwd.``getspall`()Return a list of all available shadow password database entries, in arbitrary order. 參見 模塊 [`grp`](grp.xhtml#module-grp "grp: The group database (getgrnam() and friends). (Unix)")針對用戶組數據庫的接口,與本模塊類似。 Module [`pwd`](pwd.xhtml#module-pwd "pwd: The password database (getpwnam() and friends). (Unix)")An interface to the normal password database, similar to this. ### 導航 - [索引](../genindex.xhtml "總目錄") - [模塊](../py-modindex.xhtml "Python 模塊索引") | - [下一頁](grp.xhtml "grp --- The group database") | - [上一頁](pwd.xhtml "pwd --- 用戶密碼數據庫") | - ![](https://box.kancloud.cn/a721fc7ec672275e257bbbfde49a4d4e_16x16.png) - [Python](https://www.python.org/) ? - zh\_CN 3.7.3 [文檔](../index.xhtml) ? - [Python 標準庫](index.xhtml) ? - [Unix 專有服務](unix.xhtml) ? - $('.inline-search').show(0); | ? [版權所有](../copyright.xhtml) 2001-2019, Python Software Foundation. Python 軟件基金會是一個非盈利組織。 [請捐助。](https://www.python.org/psf/donations/) 最后更新于 5月 21, 2019. [發現了問題](../bugs.xhtml)? 使用[Sphinx](http://sphinx.pocoo.org/)1.8.4 創建。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看