+ ÅäÔÇÁ ãæÖæÚ ÌÏíÏ
ÇáäÊÇÆÌ 1 Åáì 2 ãä 2

ÇáÚÑÖ ÇáãÊØæÑ

  1. #1
    Status
    Offline
    ÇáÕæÑÉ ÇáÑãÒíÉ Rise Company
    Engineering and Technology
    ÊÇÑíÎ ÇáÊÓÌíá
    Apr 2014
    ÇáÏæáÉ
    Egypt
    ÇáãÔÇÑßÇÊ
    4,703
    ãÚÏá ÊÞííã ÇáãÓÊæì
    10

    ÇÝÊÑÇÖí ÇáÓí ÈÇäíá Cpanel | Íá ãÔßáÉ Error: Failed to lock and read from file /passwd”


    Íá ãÔßáÉ áÇ íãßä ÇäÔÇÁ Çíãíá Error: Failed to lock and read from file /passwd”
    Failed to chown “/home/****/etc/****/passwd” to group “mail”:
    Error: Failed to lock and read from file “/passwd”: “Permission denied”
    Operation not permitted at /usr/local/cpanel/Cpanel/Email/Perms/User.pm
    Could not open “/home/yoursite/etc/yoursite.com/passwd” as “yoursite”: Permission denied
    How to fix Error You do not have permission to access - quota does not exist; skipping
    Error: Failed to lock and read from file - following error: Permission denied
    [uapi] Quota file does not exist; skipping - The system failed to lock the file
    Script to Fix Account Permissions - can't create any emails of any of my clients
    ÎØÇ ÚäÏ ÇäÔÇÁ ÇáÇíãíáÇÊ Failed to chown “passwd” to group “mail
    /etc/passwd file corrupted



    -----------------------------------------------------
    ÇáãÔßáÉ :
    -----------------------------------------------------

    Error: Failed to lock and read from file “****/passwd”: “Permission denied”. (XID 6tr2bu) The system failed to lock the file “******/passwd” (as EUID: 1112, EGID: 1114 1114) because of the following error: Permission denied





    -----------------------------------------------------
    Íá ÇáãÔßáÉ :
    -----------------------------------------------------




    ÚäÏ Úãá repair ááÇíãíáÇÊ Repair Mailbox Permissions Rebuild Mail Databases and Fix Permissions
    åíÙåÑ áß ÎØÇ Failed to chown æãßÊæÈ ÈÌÇäÈå ãÓÇÑ ÇáãáÝ Çáì Èå ÇáÎØÇ ááíæÒÑ ÇáãÍÏÏ



    Failed to chown “/home/clientsite/etc/clientsite.com/passwd” to group “mail”: Operation not permitted at /usr/local/cpanel/Cpanel/Email/Perms/User.pm line 308
    ÚäÏ ÇáÐåÇÈ Çáì åÐÇ ÇáãáÝ æãÍÇæáå ÝÊÍå åíÙåÑ áß ÎØÇ Ýì ÇáÕáÇÍíÉ




    Could not open “/home/yoursite/etc/yoursite.com/passwd” as “yoursite”: Permission denied
    ßá ãÇ Úáíß ÝÚáå åæ ÍÐÝ åÐÇ ÇáãáÝ æåíÊæáÏ æÇÍÏ ÌÏíÏ ÊáÞÇÆíÇ æáßä ãáÝ Óáíã ÈÏæä ãÔßáÉ Ýì ÇáÕáÇÍíÇÊ
    æÇáÇÝÖá Úãá rename áå ÈæÖÚ .bk Ýì äåÇíÊå ßãÇ Ýì ÇáÕæÑÉ



    Ëã ÇÐåÈ æÚãá Çíãíá ÌÏíÏ æåÊÌÏ Çä ÇáãÔßáÉ Êã ÍáåÇ 100 %

    ÇÑÌÚ áäÝÓ ÇáãÓÇÑ æåÊÌÏ Çä ãáÝ ÌÏíÏ Êã ÇäÔÇÁå ÊáÞÇÆíÇ ÈÚÏ ÇäÔÇÁ ÇáÇíãíá ÇáÌÏíÏ





    ááãÒíÏ ãä ÇáÊÝÇÕíá Úä ÇáãáÝ ãä åäÇ
    https://www.cyberciti.biz/faq/unders...d-file-format/

    /etc/passwd file no need to worries as its not having password, the /etc/passwd file
    having user name uid,gid and home dir information, the password is stored in the /etc/shadow and its in encrypted format


    ãáÝ passwd file áÇ íÍÊæì Úáì ÈÇÓæÑÏ æáßä information ÝÞØ
    áä íÍÏË ÔìÁ ááÇíãíáÇÊ æ áÇ ÇáÈÇÓæÑÏ áä íÍÏË áåÇ ÔìÁ ÇíÖÇ
    æÇáÈÇÓæÑÏÇÊ ãæÌæÏÉ Ýì ãáÝ shadow ãÔÝÑÉ .

    ÇáÎáÇÕÉ :
    ÍÐÝ ãáÝ passwd file Çãä ÊãÇãÇ æáä ÊæÇÌåß Çì ãÔßáÉ ÇØáÇÞÇ

    ãáÍæÙÉ :
    Êã ÊÌÑÈÉ åÐå ÇáØÑíÞÉ æåì ÊÚãá 100 %
    Êã ÊÌÑÈÉ ÇáÚÔÑÇÊ ãä ÇáÍáæá ÌãíÚåÇ ÝÔá !!!
    ÝáÇ ÊÍÇæá æÊÖíÚ æÞÊß ÈÏæä ÝÇÆÏÉ .
    æÊßÏ Çäå áÇ íæÌÏ ãÔßáÉ Ýì ÇáãÓÇÍÉ åÇã ÌÏÇ !
    ÔÇåÏ ãä åäÇ

    ÇáÓí ÈÇäíá Cpanel | Íá ãÔÇßá ÊÛííÑ ÇÓã Domain æ USER æ Home Directory

    ãÑÌÚ:
    https://www.cyberciti.biz/faq/unders...d-file-format/
    https://security.stackexchange.com/q...osting-account
    https://docs.cpanel.net/knowledge-ba...eation-errors/
    https://docs.cpanel.net/knowledge-ba...est-practices/
    https://www.quora.com/Can-my-hosting...Panel-password
    https://linuxize.com/post/etc-passwd-file/

    ------------------------------------------------------------------------
    ÔÑßÉ ÑÇíÒ ááåäÏÓÉ æ ÇáÊßäæáæÌíÇ Rise Company for Engineering & Technology
    ------------------------------------------------------------------------
    Web Hosting | Web Designing | E-Marketing

    ÑÞã # 1 Ýì ÎÏãÇÊ ÇáÔÑßÇÊ Business Services

    ÇÓÊÖÇÝÉ ãæÇÞÚ Web Hosting - Úãá Çíãíá ÔÑßÉ Business Emails

    ÊÕãíã ãæÞÚ ÔÑßÉ Web Design - ÊÓæíÞ ÇáßÊÑæäì Úáì ÌæÌá Google Adwords

    www.rise.company | www.rise.company/emails

    ãáÍæÙÉ : ÌãíÚ ÎÏãÇÊäÇ ãÎÕÕÉ ááÔÑßÇÊ ÝÞØ æÛíÑ ãÊÇÍÉ ááÇÝÑÇÏ
    æáíÓ áäÇ Çì ãäÊÌÇÊ Çæ ÕíÇäÉ äåÇÆíÇ! íÑÌì ÇáÇäÊÈÇå Çáì Ðáß.



  2. #2
    Status
    Offline
    ÇáÕæÑÉ ÇáÑãÒíÉ Rise Company
    Engineering and Technology
    ÊÇÑíÎ ÇáÊÓÌíá
    Apr 2014
    ÇáÏæáÉ
    Egypt
    ÇáãÔÇÑßÇÊ
    4,703
    ãÚÏá ÊÞííã ÇáãÓÊæì
    10

    ÇÝÊÑÇÖí ÑÏ: ÇáÓí ÈÇäíá Cpanel | Íá ãÔßáÉ Error: Failed to lock and read from file /passwd”

    Understanding /etc/passwd File Format



    Can you explain /etc/passwd file format for Linux and Unix-like operating systems?

    The /etc/passwd file stores essential information required during login. In other words, it stores user account information. The /etc/passwd is a plain text file. It contains a list of the system’s accounts, giving for each account some useful information like user ID, group ID, home directory, shell, and more. The /etc/passwd file should have general read permission as many command utilities use it to map user IDs to user names. However, write access to the /etc/passwd must only limit for the superuser/root account.

    Tutorial details
    Difficulty level Easy
    Root privileges No
    Requirements Linux terminal
    OS compatibility *BSD • Linux • Unix • WSL
    Est. reading time 4 minutes


    Understanding /etc/passwd file fields


    The /etc/passwd contains one entry per line for each user (user account) of the system. All fields are separated by a colon (:) symbol. Total of seven fields as follows. Generally, /etc/passwd file entry looks as follows:


    (Fig.01: /etc/passwd file format – click to enlarge) /etc/passwd file format

    From the above image:

    1. Username: It is used when user logs in. It should be between 1 and 32 characters in length.

    2. Password: An x character indicates that encrypted password is stored in /etc/shadow file. Please note that you need to use the passwd command to computes the hash of a password typed at the CLI or to store/update the hash of the password in /etc/shadow file.
    3. User ID (UID): Each user must be assigned a user ID (UID). UID 0 (zero) is reserved for root and UIDs 1-99 are reserved for other predefined accounts. Further UID 100-999 are reserved by system for administrative and system accounts/groups.
    4. Group ID (GID): The primary group ID (stored in /etc/group file)
    5. User ID Info (GECOS): The comment field. It allow you to add extra information about the users such as user’s full name, phone number etc. This field use by finger command.
    6. Home directory: The absolute path to the directory the user will be in when they log in. If this directory does not exists then users directory becomes /
    7. Command/shell: The absolute path of a command or shell (/bin/bash). Typically, this is a shell. Please note that it does not have to be a shell. For example, sysadmin can use the nologin shell, which acts as a replacement shell for the user accounts. If shell set to /sbin/nologin and the user tries to log in to the Linux system directly, the /sbin/nologin shell closes the connection.

    I hope you understood /etc/passwd file format to keep track of every registered user that has access to a system. Therefore, knowing the structure is essential for security reasons.
    ------------------------------------------------------------------------
    ÔÑßÉ ÑÇíÒ ááåäÏÓÉ æ ÇáÊßäæáæÌíÇ Rise Company for Engineering & Technology
    ------------------------------------------------------------------------
    Web Hosting | Web Designing | E-Marketing

    ÑÞã # 1 Ýì ÎÏãÇÊ ÇáÔÑßÇÊ Business Services

    ÇÓÊÖÇÝÉ ãæÇÞÚ Web Hosting - Úãá Çíãíá ÔÑßÉ Business Emails

    ÊÕãíã ãæÞÚ ÔÑßÉ Web Design - ÊÓæíÞ ÇáßÊÑæäì Úáì ÌæÌá Google Adwords

    www.rise.company | www.rise.company/emails

    ãáÍæÙÉ : ÌãíÚ ÎÏãÇÊäÇ ãÎÕÕÉ ááÔÑßÇÊ ÝÞØ æÛíÑ ãÊÇÍÉ ááÇÝÑÇÏ
    æáíÓ áäÇ Çì ãäÊÌÇÊ Çæ ÕíÇäÉ äåÇÆíÇ! íÑÌì ÇáÇäÊÈÇå Çáì Ðáß.



ÇáãæÇÖíÚ ÇáãÊÔÇÈåå

  1. ÇáÓí ÈÇäíá Cpanel | Íá ãÔßáÉ ÊÇÎÑ / ÈØÁ áæÍÉ ÇáÊÍßã cpanel áÏæãíä ãÍÏÏ ÝÞØ
    ÈæÇÓØÉ Rise Company Ýí ÇáãäÊÏì ÑÇíÒ ááÇÓÊÖÇÝÉ Rise Host
    ãÔÇÑßÇÊ: 0
    ÂÎÑ ãÔÇÑßÉ: 14-03-2022, 17:36
  2. ÇáÓí ÈÇäíá Cpanel | Íá ãÔßáÉ Partial Backups - home backup failed network error
    ÈæÇÓØÉ Rise Company Ýí ÇáãäÊÏì ÑÇíÒ ááÇÓÊÖÇÝÉ Rise Host
    ãÔÇÑßÇÊ: 0
    ÂÎÑ ãÔÇÑßÉ: 21-12-2021, 19:59
  3. ÅäÌä ÅßÓ Nginx åá íãßä ÊÝÚíáåÇ ¿ ÈÌÇäÈ ÃÈÇÊÔí Apache Ýì ÇáÓí ÈÇäíá Cpanel
    ÈæÇÓØÉ Rise Company Ýí ÇáãäÊÏì ÑÇíÒ ááÇÓÊÖÇÝÉ Rise Host
    ãÔÇÑßÇÊ: 0
    ÂÎÑ ãÔÇÑßÉ: 08-12-2021, 23:34
  4. ÇáÓí ÈÇäíá Cpanel | Íá ãÔßáÉ ÈØÆ Delay / Slow ÝÊÍ ÇáÓí ÈÇäíá cPanel® is connecting
    ÈæÇÓØÉ Rise Company Ýí ÇáãäÊÏì ÑÇíÒ ááÇÓÊÖÇÝÉ Rise Host
    ãÔÇÑßÇÊ: 0
    ÂÎÑ ãÔÇÑßÉ: 03-12-2021, 04:35
  5. ÇáÓí ÈÇäíá Cpanel | Íá ãÔßáÉ Çíãíá æÇÍÏ Database Error Connection Failed- RoundCube
    ÈæÇÓØÉ Rise Company Ýí ÇáãäÊÏì ÞÓã ÇáÇíãíáÇÊ Emails
    ãÔÇÑßÇÊ: 0
    ÂÎÑ ãÔÇÑßÉ: 28-11-2021, 17:41

ÇáãÝÖáÇÊ

ÇáãÝÖáÇÊ

ÖæÇÈØ ÇáãÔÇÑßÉ

  • áÇ ÊÓÊØíÚ ÅÖÇÝÉ ãæÇÖíÚ ÌÏíÏÉ
  • áÇ ÊÓÊØíÚ ÇáÑÏ Úáì ÇáãæÇÖíÚ
  • áÇ ÊÓÊØíÚ ÅÑÝÇÞ ãáÝÇÊ
  • áÇ ÊÓÊØíÚ ÊÚÏíá ãÔÇÑßÇÊß
  •