JPsiotp/TP04/Scripts/.bash_history
root 4d789def5c nouveau fichier : TP04/Scripts/LeScript.sh
nouveau fichier : TP04/Scripts/Users.csv
	nouveau fichier : TP04/Scripts/createLogins.sh
	nouveau fichier : TP04/Scripts/createUsers.sh
	nouveau fichier : TP04/Scripts/logins.csv
	nouveau fichier : TP04/Scripts/testlogin.csv
2024-03-04 11:03:37 +01:00

320 lines
5.6 KiB
Bash

sudo apt-get install sudo mc tcpdump
apt-get install sudo mc tcpdump
sudo cd
host dns
exit
nano /etc/ssh/sshd_config
ip a
systemctl restart ssh
nano /etc/ssh/sshd_config
ip r
nano /etc/network/interfaces
ssh-keygen
ip a*
ip a
host dns
host google.com
host dns
cat /etc/resolv.conf
dhclient
cat /etc/resolv.conf
dhclient
reboot
ip a
cat /etc/resolv.conf
host dns
ping 172.16.0.1
host srv-service
nano /etc/resolv.conf
host srv-service
host google.com
host 172.16.0.254
host 172.16.0.254
logout
ip a
ifdown enp0s3
ifup enp0s3
ip a
nano /etc/resolv.conf
host google.com
ip a
nano /etc/network/interfaces
nano /etc/network/interfaces
nano /etc/network/interfaces
i^p a
ip a
touch createLogins.sh
bash createLogins.sh
nano createLogins.sh
nano createLogins.sh
nano createLogins.sh
bash createLogins.sh
nano createLogins.sh
bash createLogins.sh
nano createLogins.sh
bash createLogins.sh
nano createLogins.sh
bash createLogins.sh
nano createLogins.sh
bash createLogins.sh
nano createLogins.sh
nano createLogins.sh
bash createLogins.sh
nano createLogins.sh
bash createLogins.sh
nano createLogins.sh
bash createLogins.sh
nano createLogins.sh
nano createLogins.sh
bash createLogins.sh
nano createLogins.sh
bash createLogins.sh
nano createLogins.sh
nano createLogins.sh
nano createLogins.sh
nano createLogins.sh
nano createLogins.sh
bash createLogins.sh
nano createLogins.sh
bash createLogins.sh
nano createLogins.sh
bash createLogins.sh
nano createLogins.sh
bash createLogins.sh
ls
cat logins.csv
bash createLogins.sh
cat logins.csv
nano createLogins.sh
nano createLogins.sh
bash createLogins.sh
nano createLogins.sh
bash createLogins.sh
nano createLogins.sh
bash createLogins.sh
nano createLogins.sh
bash createLogins.sh
bash createLogins.sh
nano createLogins.sh
ip a
bash createLogins.sh
ls
ls
ls -r
ls -l
ls -f
bash createLogins.sh
nano createLogins.sh
bash createLogins.sh
ls /home/sio/
ls
ls -f
ip a
ls
nano createLogins.sh
bash createLogins.sh
nano createLogins.sh
bash createLogins.sh
nano createLogins.sh
ls
ls- l
ls- r
ls -l
ls
clear
nano createLogins.sh
scp ~/Téléchargements/Users.csv root@192.168.0.30
scp /Téléchargements/Users.csv root@192.168.0.30
scp ~/Téléchargements/Users.csv root@192.168.0.30:etc/
ls
ls /etc/
cp /etc/Users.csv ./
ls
bash createLogins.sh
nano createLogins.sh
bash createLogins.sh
nano createLogins.sh
ls
cat logins.csv
nano createLogins.sh
touch createUsers.sh
nano createUsers.sh
nano createLogins.sh
nano createUsers.sh
cat logins.csv
clear
nano createUsers.sh
touch testlogin.csv
nano testlogin.csv
nano logins.csv
nano testlogin.csv
nano logins.csv
nano testlogin.csv
nano logins.csv
nano testlogin.csv
nano createUsers.sh
nano /etc/group
nano createUsers.sh
getent group
nano createUsers.sh
bash createUsers.sh
nano createUsers.sh
nano testlogin.csv
nano createUsers.sh
bash createUsers.sh tcpdump
nano createUsers.sh
nano createUsers.sh
bash createUsers.sh 1ertest
nano createUsers.sh
bash createUsers.sh tcpdump
nano createUsers.sh
man grep
nano createUsers.sh
bash createUsers.sh tcpdump
nano createUsers.sh
bash createUsers.sh tcpdump
nano createUsers.sh
bash createUsers.sh tcpdump
nano createUsers.sh
bash createUsers.sh tcpdump
bash createUsers.sh gre1
bash createUsers.sh gre1
nano createUsers.sh
bash createLogins.sh
nano createLogins.sh
nano createUsers.sh
ls
nano createUsers.sh
nano createUsers.sh b
nano createUsers.sh
nano createUsers.sh
bash createUsers.sh
bash createUsers.sh
bash createUsers.sh
bash createUsers.sh
bash createUsers.sh
bash createUsers.sh
bash createUsers.sh
nano /etc/group
nano testlogin.csv
cat temptp4.txt
cat temptp4.txt
cat temptp4.txt
cat temptp4.txt
nano createUsers.sh
nano createUsers.sh
nano createUsers.sh
nano /etc/group
nano createUsers.sh
nano createUsers.sh
nano createUsers.sh
nano createUsers.sh
nano createUsers.sh
nano createUsers.sh
bash createUsers.sh
nano createUsers.sh
nano createUsers.sh
nano createUsers.sh
nano createUsers.sh
bash createUsers.sh
bash createUsers.sh
nano createUsers.sh
bash createUsers.sh
nano createUsers.sh
bash createUsers.sh
getent Users
cd /etc
ls
cat passwd
cat /users
cat /group
cat group
man usermod
useradd anthonycon --gropups
useradd anthonycon --groups
useradd anthonycon --groups
useradd anthonycon --groups
useradd anthonycon --groups
useradd anthonycon --groups
useradd anthonycon --groups sio
cat group
cd
nano createUsers.sh
nano createUsers.sh
nano createUsers.sh
nano createUsers.sh
bash createUsers.sh
nano createUsers.sh
nano createUsers.sh
bash createUsers.sh
nano createUsers.sh
bash createUsers.sh
bash createUsers.sh
nano testlogin.csv
bash createUsers.sh
nano testlogin.csv
nano createUsers.sh
bash createUsers.sh
ls /home
ls -l
ls -l /home
nano createUsers.sh
nano createUsers.sh
bash createUsers.sh
bash createUsers.sh
nano createUsers.sh
ip a
nano create
nano createUsers.sh
nano logins.csv
nano testlogin.csv
nano createUsers.sh
bash createUsers.sh
logout
nano createUsers.sh
logout
ls -l /home
nano createUsers.sh
touch LeScript
mv LeScript LeScript.sh
nano LeScript.sh
nano LeScript.sh
nano LeScript.sh
bash LeScript.sh
nano LeScript.sh
nano createUsers.sh
nano LeScript.sh
nano LeScript.sh
bash LeScript.sh
nano LeScript.sh
bash LeScript.sh
nano LeScript.sh
nano createUsers.sh
nano LeScript.sh
ls
logout
ip a
nano LeScript.sh
ls
nano LeScript.sh
nano LeScript.sh
nano createUsers.sh
man groupa
nano LeScript.sh
nano LeScript.sh
ls
nano LeScript.sh
nano LeScript.sh
bash LeScript.sh
nano LeScript.sh
bash LeScript.sh
ls
nano LeScript.sh
bash LeScript.sh
nano LeScript.sh
bash LeScript.sh
bash createLogins.sh
nano createLogins.sh
nano LeScript.sh