Search results

  1. M

    Change user without password - pam.d

    Hello, how can i optimize this code for multiple users : for exp if i have 3 users : postgresAG postgresBE postgresAYD what should i write in user ? auth [success=ignore default=1] pam_succeed_if.so user = postgresAG auth sufficient pam_succeed_if.so use_uid user ingroup postgres
  2. M

    Centos - Extended disc

    yes, how i do that how can i expend the sdc ?
  3. M

    Centos - Extended disc

    I can use it in the prod environment
  4. M

    Centos - Extended disc

    Hello, I have an issue i extended my disk from virtual box but when i user lsblk i dont see the extention of the sdc disk what should i do tu get the space that i added in vsphere?
  5. M

    CentOS /var full

    Hello, I face an issue with the /var full, inodes : /dev/mapper/rootvg-var_lv 512000 3908 508092 1% /var we have 2Gb almost full /dev/mapper/rootvg-var_lv 1.9G 1.6G 169M 91% /var /var/.. 87024 ./log 86096 ./lib 66744 ./lib/rpm...
  6. M

    Files permissions

    i didnt know the answer, i found it in between my post and your answer, but i still have an issue the defautl ACL is applied on the folders and not the files. I did : setfacl -dm o::5 folder/ drwx---r-x+ 2 root root 4096 Apr 20 13:19 dir => OK -rw----r-- 1 root root 0 Apr 20 13:19 file =>...
  7. M

    Files permissions

    But this manipulation will change permissions for all files created, i should you default acl to inherite permissions
  8. M

    Files permissions

    Hello, how to give all new file specific permissions in a folder. For exp i have a folder /myfiles and all new files created in this folder will get 775. Kind regards,
  9. M

    CentOS LV bug at 100%

    Hello, I have an issue about an LV that bug on 100% even if a delete files so when i did a reboot the problem is solved and the lv is at 13%, my question is can fix the issue without reboot there something that can initialize the LV or rescan and fix LV issue without reboot ? Kind regards
  10. M

    Podman - Failed to connect to bus

    thx a lot
  11. M

    Podman - Failed to connect to bus

    Hello, i have Failed to connect to bus: No such file or directory when i run systemctl --user daemon-reload loginctl enable-linger user // root from user podman pull docker://docker.io/voxxit/rsyslog podman images podman run -dt --name rsyslog rsyslog systemctl --user daemon-reload ==>Failed...
  12. M

    Linux - Repo

    thx
  13. M

    Linux - Repo

    yes but normaly what i did is correct [baseos] name=CentOS baseurl=The correct IRL gpgcheck=0 enabled=1
  14. M

    Linux - Repo

    Hello I have a question about repo in centos/red hat distro i created the base.repo it doesnt work should i use something else or config-manager --add-repo= ? I cant ping the repo nor install packages What i did [baseos] name=CentOS baseurl=http://repo.eight.example.com/BaseOS gpgcheck=0...
  15. M

    SELinux - context

    Hello thx for ur answer but why did you choose admin_home_t For root mean ?
  16. M

    SELinux - context

    Hello, Can someone explain to me this question : Create a directory /direct01 and apply SELinux contexts for /root what should i do ? Kind regards,
  17. M

    Wget oracle rpm download

    The purpose its to download the rpm from oracle website with curl or wget The version it doesnt matter i can even choose jdk or ..
  18. M

    Wget oracle rpm download

    Hello, How can i download with wget an rpm file from this link https://download.oracle.com/otn/linux/instantclient/122010/oracle-instantclient12.2-basic-12.2.0.1.0-1.x86_64.rpm on centos or how can i have the repo of oracle to install it with yum / dnf command kind regards,
  19. M

    Arithmetic operation

    Thx for ur answer @JasKinasis but why expr ... Combined with bc doesnt give float resulat `expr \( 1 + 2 \) / 4` | bc - l ??
  20. M

    Arithmetic operation

    Thx for ur answer but the result should be : 0.75 not 0 using expr
Top