SCR_public/23SCR/SCR04/SCR4.txt

194 lines
11 KiB
Plaintext
Raw Normal View History

2024-12-09 11:58:49 +01:00
I/
localectl status : VC Keymap : fr-pc = /etc/vconsole.conf
II/
1/lsblk :
sda 8:0 0 476.9G 0 disk
|_sda1 8:1 0 100M 0 part
|_sda2 8:2 0 16M 0 part
|_sda3 8:3 0 243.4G 0 part
|_sda4 8:4 0 633M 0 part
|_sda5 8:5 0 232.8G 0 part
lsblk -a :
sda 8:0 0 476.9G 0 disk
├─sda1 8:1 0 100M 0 part
├─sda2 8:2 0 16M 0 part
├─sda3 8:3 0 243.4G 0 part
├─sda4 8:4 0 670M 0 part
└─sda5 8:5 0 232.8G 0 part /
2/
mount :
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=8075012k,nr_inodes=2018753,mode=755,inode64)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755,inode64)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
/dev/sda5 on / type ext3 (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1720)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=8085476k,nr_inodes=1048576,inode64)
ramfs on /run/credentials/systemd-sysctl.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
ramfs on /run/credentials/systemd-tmpfiles-setup-dev.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
ramfs on /run/credentials/systemd-tmpfiles-setup.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
iluvatar:/export on /export type nfs4 (rw,nosuid,nodev,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=172.16.2.99,local_lock=none,addr=172.16.1.30)
tmpfs on /run/user/836 type tmpfs (rw,nosuid,nodev,relatime,size=1617092k,nr_inodes=404273,mode=700,uid=836,gid=623,inode64)
gvfsd-fuse on /run/user/836/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=836,group_id=623)
/etc/mtab :
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
sys /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
dev /dev devtmpfs rw,nosuid,relatime,size=8075012k,nr_inodes=2018753,mode=755,inode64 0 0
run /run tmpfs rw,nosuid,nodev,relatime,mode=755,inode64 0 0
efivarfs /sys/firmware/efi/efivars efivarfs rw,nosuid,nodev,noexec,relatime 0 0
/dev/sda5 / ext3 rw,relatime 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,inode64 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
cgroup2 /sys/fs/cgroup cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot 0 0
pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
bpf /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1720 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0
mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0
tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev,size=8085476k,nr_inodes=1048576,inode64 0 0
ramfs /run/credentials/systemd-sysctl.service ramfs ro,nosuid,nodev,noexec,relatime,mode=700 0 0
fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0
configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0
ramfs /run/credentials/systemd-tmpfiles-setup-dev.service ramfs ro,nosuid,nodev,noexec,relatime,mode=700 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
ramfs /run/credentials/systemd-tmpfiles-setup.service ramfs ro,nosuid,nodev,noexec,relatime,mode=700 0 0
iluvatar:/export /export nfs4 rw,nosuid,nodev,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=172.16.2.99,local_lock=none,addr=172.16.1.30 0 0
tmpfs /run/user/836 tmpfs rw,nosuid,nodev,relatime,size=1617092k,nr_inodes=404273,mode=700,uid=836,gid=623,inode64 0 0
gvfsd-fuse /run/user/836/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=836,group_id=623 0 0
findmnt :
[raban@salle229-09 23SCR]$ findmnt
TARGET SOURCE FSTYPE OPTIONS
/ /dev/sda5
ext3 rw,relatime
├─/proc proc proc rw,nosuid,nodev,noexec,relatime
│ └─/proc/sys/fs/binfmt_misc
│ systemd-1
│ autofs rw,relatime,fd=34,pgrp=1,timeout=0,minp
│ └─/proc/sys/fs/binfmt_misc
│ binfmt_misc
│ binfmt_m rw,nosuid,nodev,noexec,relatime
├─/sys sys sysfs rw,nosuid,nodev,noexec,relatime
│ ├─/sys/firmware/efi/efivars
│ │ efivarfs
│ │ efivarfs rw,nosuid,nodev,noexec,relatime
│ ├─/sys/kernel/security securityfs
│ │ security rw,nosuid,nodev,noexec,relatime
│ ├─/sys/fs/cgroup cgroup2
│ │ cgroup2 rw,nosuid,nodev,noexec,relatime,nsdeleg
│ ├─/sys/fs/pstore pstore pstore rw,nosuid,nodev,noexec,relatime
│ ├─/sys/fs/bpf bpf bpf rw,nosuid,nodev,noexec,relatime,mode=70
│ ├─/sys/kernel/debug debugfs
│ │ debugfs rw,nosuid,nodev,noexec,relatime
│ ├─/sys/kernel/tracing tracefs
│ │ tracefs rw,nosuid,nodev,noexec,relatime
│ ├─/sys/kernel/config configfs
│ │ configfs rw,nosuid,nodev,noexec,relatime
│ └─/sys/fs/fuse/connections
│ fusectl
│ fusectl rw,nosuid,nodev,noexec,relatime
├─/dev dev devtmpfs rw,nosuid,relatime,size=8075016k,nr_ino
│ ├─/dev/shm tmpfs tmpfs rw,nosuid,nodev,inode64
│ ├─/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=5,mode=62
│ ├─/dev/hugepages hugetlbfs
│ │ hugetlbf rw,relatime,pagesize=2M
│ └─/dev/mqueue mqueue mqueue rw,nosuid,nodev,noexec,relatime
├─/run run tmpfs rw,nosuid,nodev,relatime,mode=755,inode
│ ├─/run/credentials/systemd-sysctl.service
│ │ ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=70
│ ├─/run/user/836 tmpfs tmpfs rw,nosuid,nodev,relatime,size=1617092k,
│ │ └─/run/user/836/gvfs gvfsd-fuse
│ │ fuse.gvf rw,nosuid,nodev,relatime,user_id=836,gr
│ ├─/run/credentials/systemd-tmpfiles-setup-dev.service
│ │ ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=70
│ └─/run/credentials/systemd-tmpfiles-setup.service
│ ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=70
├─/tmp tmpfs tmpfs rw,nosuid,nodev,size=8085480k,nr_inodes
└─/export iluvatar:/export
nfs4 rw,nosuid,nodev,relatime,vers=4.2,rsize
[raban@salle229-09 23SCR]$ findmnt --mtab
TARGET SOURCE FSTYPE OPTIONS
/proc proc proc rw,nosuid,nodev,noexec,relatime
/sys sys sysfs rw,nosuid,nodev,noexec,relatime
/dev dev devtmpfs rw,nosuid,relatime,size=8075016k,nr_inodes=20
/run run tmpfs rw,nosuid,nodev,relatime,mode=755,inode64
/sys/firmware/efi/efivars
efivarfs
efivarfs rw,nosuid,nodev,noexec,relatime
/ /dev/sda5
ext3 rw,relatime
/sys/kernel/security
securityfs
security rw,nosuid,nodev,noexec,relatime
/dev/shm tmpfs tmpfs rw,nosuid,nodev,inode64
/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmx
/sys/fs/cgroup cgroup2
cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate,me
/sys/fs/pstore pstore pstore rw,nosuid,nodev,noexec,relatime
/sys/fs/bpf bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700
/proc/sys/fs/binfmt_misc
systemd-1
autofs rw,relatime,fd=34,pgrp=1,timeout=0,minproto=5
/dev/hugepages hugetlbfs
hugetlbf rw,relatime,pagesize=2M
/dev/mqueue mqueue mqueue rw,nosuid,nodev,noexec,relatime
/sys/kernel/debug debugfs
debugfs rw,nosuid,nodev,noexec,relatime
/sys/kernel/tracing
tracefs
tracefs rw,nosuid,nodev,noexec,relatime
/tmp tmpfs tmpfs rw,nosuid,nodev,size=8085480k,nr_inodes=10485
/run/credentials/systemd-sysctl.service
ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700
/sys/kernel/config configfs
configfs rw,nosuid,nodev,noexec,relatime
/sys/fs/fuse/connections
fusectl
fusectl rw,nosuid,nodev,noexec,relatime
/run/credentials/systemd-tmpfiles-setup-dev.service
ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700
/proc/sys/fs/binfmt_misc
binfmt_misc
binfmt_m rw,nosuid,nodev,noexec,relatime
/run/credentials/systemd-tmpfiles-setup.service
ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700
/export iluvatar:/export
nfs4 rw,nosuid,nodev,relatime,vers=4.2,rsize=10485
/run/user/836 tmpfs tmpfs rw,nosuid,nodev,relatime,size=1617092k,nr_ino
/run/user/836/gvfs gvfsd-fuse
fuse.gvf rw,nosuid,nodev,relatime,user_id=836,group_id
III/
1/ps -edf : il y a les commandes dhclient car il y a un fichier dhclient
2/ip address change 172.16.2.99/16 dev eno1