LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-11-2021, 10:37 AM   #1
whois1230
Member
 
Registered: Sep 2018
Posts: 214

Rep: Reputation: Disabled
Terminal strange message


Hello, I have the latest stable version of Kubuntu installed with all updates.
I ran
Code:
sudo ufw status
to check if my firewall is on and I got this message:
Code:
user@user-Lenovo-ideapad-110-17IKB:~$ sudo ufw status
[sudo] password for user: 
WARN: / is world writable!
Status: active
user@user-Lenovo-ideapad-110-17IKB:~$
What does this mean and is there a way to fix it?
 
Old 07-11-2021, 11:02 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,590
Blog Entries: 19

Rep: Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455
It means what it says. The / directory, which is the root of the whole filesystem has somehow been set to be writable by anyone, which is a serious security risk. It should have the permissions 0755/drwxr-xr-x, that is writable by its owner only. You will have to use sudo chmod 0755 / to get back the permissions you should have.

Last edited by hazel; 07-11-2021 at 11:04 AM.
 
1 members found this post helpful.
Old 07-11-2021, 11:59 AM   #3
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,606

Rep: Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549

If the root directory ("/") has wrong permissions, it's possible other system directories do too.

I would check the bash history (i.e. "/home/user/.bash_history") for any chmod commands that might have done this, to help confirm the extent of changes.

Also, post the output of "ls -l /"

 
2 members found this post helpful.
Old 07-11-2021, 01:03 PM   #4
whois1230
Member
 
Registered: Sep 2018
Posts: 214

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by boughtonp View Post
If the root directory ("/") has wrong permissions, it's possible other system directories do too.

I would check the bash history (i.e. "/home/user/.bash_history") for any chmod commands that might have done this, to help confirm the extent of changes.

Also, post the output of "ls -l /"

Code:
user@user-Lenovo-ideapad-110-17IKB:~$ sudo chmod 0755 / 
[sudo] password for user: 
user@user-Lenovo-ideapad-110-17IKB:~$ sudo ufw status
Status: active
user@user-Lenovo-ideapad-110-17IKB:~$ ls -l /
total 2097232
-rw-r--r--   1 root root          0 Mai 16 18:58 0
lrwxrwxrwx   1 root root          7 Mai 16 15:18 bin -> usr/bin
drwxr-xr-x   4 root root       4096 Jun 30 18:18 boot
drwxrwxr-x   2 root root       4096 Mai 16 15:21 cdrom
drwxr-xr-x  22 root root       4720 Jul 11 16:24 dev
drwxr-xr-x 135 root root      12288 Jul  9 15:35 etc
drwxr-xr-x   3 root root       4096 Mai 16 15:22 home
lrwxrwxrwx   1 root root          7 Mai 16 15:18 lib -> usr/lib
lrwxrwxrwx   1 root root          9 Mai 16 15:18 lib32 -> usr/lib32
lrwxrwxrwx   1 root root          9 Mai 16 15:18 lib64 -> usr/lib64
lrwxrwxrwx   1 root root         10 Mai 16 15:18 libx32 -> usr/libx32
drwx------   2 root root      16384 Mai 16 15:17 lost+found
drwxr-xr-x   3 root root       4096 Mai 16 17:16 media
drwxr-xr-x   2 root root       4096 Feb  9 19:48 mnt
drwxr-xr-x   6 root root       4096 Mai 28 19:19 opt
dr-xr-xr-x 286 root root          0 Jul 11 16:23 proc
drwx------   5 root root       4096 Mai 16 15:52 root
drwxr-xr-x  32 root root        900 Jul 11 17:30 run
lrwxrwxrwx   1 root root          8 Mai 16 15:18 sbin -> usr/sbin
drwxr-xr-x   6 root root       4096 Mai 18 19:17 snap
drwxr-xr-x   2 root root       4096 Feb  9 19:48 srv
-rw-------   1 root root 2147483648 Mai 16 15:18 swapfile
dr-xr-xr-x  13 root root          0 Jul 11 16:23 sys
drwxrwxrwt  21 root root       4096 Jul 11 19:59 tmp
drwxr-xr-x  14 root root       4096 Feb  9 19:53 usr
drwxr-xr-x  14 root root       4096 Feb  9 20:09 var
user@user-Lenovo-ideapad-110-17IKB:~$
Code:
sudo python -V
python3 -V
python -V
sudo apt-get install python3.8
python3 -V
python3.8 -V
sudo apt-get install python3.8.2
sudo apt-get install idle3
sudo apt-get install build-essential checkinstall
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev     libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev
cd /opt
sudo wget https://www.python.org/ftp/python/3.8.2/Python-3.8.2.tgz
sudo tar xzf Python-3.8.2.tgz
cd Python-3.8.2
python3.8 -V
cd Python-3.8.2
cd /opt
sudo wget https://www.python.org/ftp/python/3.8.2/Python-3.8.2.tgz
sudo tar xzf Python-3.8.2.tgz
cd Python-3.8.2
sudo ./configure --enable-optimizations
sudo make altinstall
python3.8 -V
cd
python3.8 -V
cd /opt
sudo rm -f Python-3.8.2.tgz
cd
sudo apt-get install build-essential checkinstall
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev     libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev
cd /opt
sudo wget https://www.python.org/ftp/python/3.8.2/Python-3.8.2.tgz
sudo tar xzf Python-3.8.2.tgz
cd Python-3.8.2
sudo ./configure --enable-optimizations
python3.8 -V
sudo make altinstall
python3.8 -V
cd
python3.8 -V
sudo apt install codeblocks
wget http://sourceforge.net/projects/codeblocks/files/Binaries/17.12/Linux/Debian%20stable/codeblocks_17.12-1_amd64_stable.tar.xz
sudo tar xvf codeblocks_17.12-1_amd64_stable.tar.xz
sudo apt install ./codeblocks_17.12-1_amd64.deb ./codeblocks-common_17.12-1_all.deb ./libcodeblocks0_17.12-1_amd64.deb ./codeblocks-dev_17.12-1_amd64.deb ./codeblocks-headers_17.12-1_all.deb ./*wx*.deb
sudo apt install gcc
sudo apt-get install geoclue-2.0.
sudo apt-get install geoclue-2.0
sudo apt-get update
sudo apt-get upgrade
sudo apt install gnome-shell-extension-weather
Alt+F2
python3.8 -V
sudo rm /var/crash/*
sudo gedit /etc/default/apport &
python3.5 -V
python3 -V
python3.8 -V
sudo ufw status
sudo ufw enable
sudo ufw status
sudo apt-get install nautilus-admin
nautilus -q
sudo ufw status
sudo apt-get update -y
sudo apt-get install -y unalz
sudo apt-get install unalz
unalz -l
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer
sudo fdisk -l
sfdisk -l /dev/sda
su
sudo gedit /etc/default/grub
sudo update-grub
sudo python3 myscript.py
sudo python3 /home/user/Desktop/Programming/Python/Os lchown method.py
sudo python3 "/home/user/Desktop/Programming/Python/Os lchown method.py"
sudo python3 "/home/user/Desktop/Programming/Python/Os tcsetgrp method.py"
su
sudo ufw status
sudo passwd root
su
sudo python3 "/home/user/Desktop/Programming/Python/Os tcsetgrp method.py"
su
sudo ufw status
apt-get install clamav
sudo apt-get install clamav
sudo apt-get install clamav-daemon
sudo apt-get install libclamunrar6
sudo freshclam
clamscan -V
clamscan -r --remove /
sudo apt-get purge clamav
sudo apt autoremove
sudo ufw status
sudo apt-get purge clamav
sudo ufw status
sudo apt install kdenlive
sudo ufw status
sudo apt-get install geoclue-2.0
sudo ufw status
sudo apt-get purge geoclue2
su
sudo gedit /etc/default/grub
sudo update-grub
sudo efibootmgr
sudo efibootmgr -b 1 -B
sudo efibootmgr
sudo efibootmgr -b 1 -b
sudo add-apt-repository ppa:gezakovacs/ppa
sudo apt-get update
sudo apt-get install unetbootin
sudo parted -l
parted /dev/sda
su
sudo update-grub
sudo
su
/etc/fstab
su /etc/fstab
su
sudo /etc/fstab
sudo gedit /etc/fstab
sudo parted -l
sudo gedit /dev/sda5
cd /dev/sda5
sudo mount /dev/sda5 /mnt
ls /mnt
umount /dev/sda5
sudo unmount /dev/sda5
su
sudo cat /etc/fstab
sudo efibootmgr -B
sudo update-grub
sudo ufw status
sudo parted -l
sudo efibootmgr -v
sudo update-grub
sudo nano /etc/grub.d/40_custom
sudo update-grub
sudo nano /etc/grub.d/40_custom
sudo update-grub
sudo ufw status
sudo update-grub
sudo mount /dev/sda4 /mnt
ls /mnt/grub2/grub.cfg
su
sudo nano /etc/grub.d/40_customrust,dog,air,track
sudo nano /etc/grub.d/40_custom
ls /mnt
sudo ls /mnt/efi/fedora
sudo mount /dev/sda1 /mnt/efi
sudo nano /etc/grub.d/40_custom
sudo ls /mnt/efi/fedora
sudo mount /dev/sda1 /mnt/efi
sudo ls /mnt/efi/fedora
sudo gedit /etc/grub.d/40_custom
sudo gedit  /etc/grub.d/40_custom
sudo gedit /etc/grub.d/40_custom
sudo update-grub
sudo gedit /etc/grub.d/40_custom
sudo update-grub
sudo gedit /etc/grub.d/40_custom.save
sudo gedit /etc/grub.d/40_custom
sudo gedit /etc/grub.d/40_custom.save
sudo update-grub
efibootmgr
efibootmgr -v |grep fedora
man efibootmgr
sudo ufw status
cd /home/user/Desktop/Programming/Python/var/www/cgi-bin
chmod 755 hello.py
cd
pip install Flask
sudo apt install python-pip
pip install Flask
pip install -U https://github.com/pallets/flask/archive/master.tar.gz
sudo apt install python3-pip
/usr/bin/python3 -V
/usr/bin/python3.5 -V
pip install PyMySQL
sudo apt-get update
pip install PyMySQL
sudo ufw status
python --version
python3 --version
python
sudo cat /sys/firmware/efi
sudo cat /etc/fstab
sudo parted -l
sudo df -h
sudo cat /boot/grub2/grub.cfg
cryptsetup luksRemoveKey /dev/
cryptsetup luksRemoveKey /dev/sdb
su
sudo apt-get install cryptsetup
sudo fdisk -l
sudo blkid
au
su
sudo ufw status
user$ sudo parted -l
user$ sudo fdisk /dev/sdb
Command (m for help):o 
Command (m for help): w
sudo parted -l
sudo fdisk /dev/sdb
Command (m for help):o
Command :o
Command (m for help): w
su
sudo dd if=/dev/null of=/dev/sdb conv=notrunc
sudo dd if=/dev/zero of=/dev/sdb bs=512 count=1.
sudo dd if=/dev/zero of=/dev/sdb bs=512 count=1
sudo parted -l
sudo dd if=/dev/zero of=/dev/sdb bs=512 count=1
sudo dd if=/dev/zero of=/dev/sdb
sudo apt install ddccontrol gddccontrol ddccontrol-db i2c-tools
sudo gddccontrol
sudo apt-get update ddccontrol-db
sudo gddccontrol
sudo ufw status
sudo update-grub
efibootmgr
sudo efibootmgr -b 3 -B
sudo update-grub
efibootmgr
sudo efibootmgr
sudo gedit grub
sudo vi /etc/default/grub
sudo ufw status
sudo apt-get update
sudo apt-get install clamav
sudo freshclam
sudo clamdscan -V
sudo freshclam
sudo apt-get update
sudo clamdscan -V
sudo freshclam
sudo systemctl stop clamav-freshclam.service
sudo freshclam
clamdscan -V
sudo clamscan -r --remove /
sudo apt-get purge clamav
sudo ufw status
sudo apt-get install binutils libreadline5 libruby ruby ruby ssl-cert unhide.rb mailutils
sudo apt install rkhunter -y
sudo gedit /etc/rkhunter.conf
sudo rkhunter -C
rkhunter -C
sudo apt install rkhunter
sudo gedit /etc/rkhunter.conf
rkhunter -C
sudo rkhunter -C
sudo rkhunter --update
rkhunter --check
sudo rkhunter --check
sudo gedit /etc/rkhunter.conf
sudo rkhunter --update
sudo apt-get purge rkhunter
sudo apt install rkhunter -y
sudo vim /etc/rkhunter.conf
vim /etc/rkhunter.conf
sudo apt install vim -y
sudo vim /etc/rkhunter.conf
sudo apt install rkhunter -y
sudo vim /etc/rkhunter.conf
sudo ufw status
sudo apt-get upgrade
wget -q -O - https://repo.protonvpn.com/debian/public_key.asc | sudo apt-key add - 
sudo add-apt-repository 'deb https://repo.protonvpn.com/debian unstable main'
sudo apt-get update && sudo apt-get install protonvpn
protonvpn-cli connect (or protonvpn-cli c)
protonvpn-cli connect
protonvpn-cli status
protonvpn-cli connect
protonvpn-cli status
protonvpn-cli connect
protonvpn-cli status
protonvpn-cli connect
protonvpn-cli -v
uname -a
nmcli c s --active
nmcli d
ip route
cat ~/.cache/protonvpn/logs/protonvpn.log > ~/Desktop/protonvpn.log
cat ~/.config/protonvpn/user_configurations.json > ~/Desktop/user_config.log
journalctl -u NetworkManager > ~/Desktop/ovpn.log
protonvpn-cli ks --off
sudo apt-get autoremove protonvpn
rm -rf ~/.cache/protonvpn
rm -rf ~/.config/protonvpn
wget -q -O - https://repo.protonvpn.com/debian/public_key.asc | sudo apt-key add -
sudo add-apt-repository 'deb https://repo.protonvpn.com/debian unstable main'
sudo apt-get update && sudo apt-get install protonvpn
protonvpn-cli login landeagle31
protonvpn-cli connect
protonvpn-cli disconnect
protonvpn-cli connect
protonvpn-cli status
apt install rkhunter -y
sudo apt install rkhunter -y
sudo apt-get autoremove rkhunter
rm -rf ~/.cache/rkhunter
rm -rf ~/.config/rkhunter
sudo apt install rkhunter -y
vim /etc/rkhunter.conf
tty
ps -fu user
which tcpdump
tcpdump --list-interfaces
sudo tcpdump -i any -c5 -nn
vim /etc/rkhunter.conf
vim -r /etc/rkhunter.conf
rm /etc/.rkhunter.conf.swp
vim /etc/rkhunter.conf
google-chrome --disable-gpu
sudo gedit /etc/rkhunter.conf
sudo gedit /etc/default/rkhunter
sudo rkhunter --update
sudo apt-get autoremove rkhunter -y
rm -rf ~/.cache/rkhunter
rm -rf ~/.config/rkhunter
rm /etc/rkhunter.conf
sudo rm /etc/rkhunter.conf
sudo apt-get install binutils libreadline5 libruby ruby ruby ssl-cert unhide.rb mailutils
sudo apt-get install wget
wget http://downloads.sourceforge.net/project/rkhunter/rkhunter/1.4.2/rkhunter-1.4.2.tar.gz
cd /tmp
wget http://downloads.sourceforge.net/project/rkhunter/rkhunter/1.4.6/rkhunter-1.4.6.tar.gz
cd
sudo tar -xvf rkhunter-1.4.6.tar.gz 
cd /tmp
sudo tar -xvf rkhunter-1.4.6.tar.gz
cd rkhunter-1.4.6
./installer.sh --layout default --install
sudo ./installer.sh --layout default --install
cd
/usr/local/bin/rkhunter --update
sudo /usr/local/bin/rkhunter --update
sudo /usr/local/bin/rkhunter --propupd
sudo rkhunter --update
sudo rkhunter --check
rkhunter --check
sudo rkhunter --check
sudo smartctl -d auto -t long /dev/sda
sudo apt-get install smartmontools
sudo smartctl -i /dev/vda
smartctl -i /dev/sda
sudo smartctl -i /dev/sda
sudo smartctl -d auto -t long /dev/sda
sudo smartctl -X
smartctl -X
sudo smartctl -X
sudo smartctl -X /dev/sda
sudo smartctl -d auto -t short /dev/sda
sudo smartctl -a /dev/sda
sudo apt update && sudo apt upgrade 
sudo smartctl -d auto -t long /dev/sda
sudo smartctl -a /dev/sda
sudo gedit /var/opt/drwcs/log/drwcsd.log
nautilus /var/opt/drwcs/log/
sudo ufw status
sudo ufw enable
sudo ufw status
sudo passwd root
uname -r
sudo update-grub
sudo ufw status
sudo update-grub
sudo apt install gnome-shell-extension-weather
openssl x509 -issuer -enddate -noout -in /usr/share/ca-certificates/mozilla/AddTrust_External_Root.crt
sudo apt install hyphen-de
sudo apt-get upgrade && update
cat /etc/default/ufw
sudo ufw status
sudo ufw default allow outgoing
sudo ufw default deny incoming
sudo gedit /etc/default/ufw
sudo ufw allow ssh
sudo ufw limit ssh
sudo systemctl status ufw.service
sudo ufw status
find / -user root -perm -4000 -print
sudo find / -user root -perm -4000 -print
sudo find / -group kmem -perm -2000 -print
sudo find / -user root -perm -4000 -print -xdev
chmod 700 $HOME
sudo strace /bin/mount /mnt/cdrom
sudo tail -f /var/log/messages
su
sudo journalctl | grep 'gnome-shell-extension-weather'
echo $XDG_CURRENT_DESKTOP
sudo apt-get purge gnome-shell-extension-weather
sudo apt-get update
sudo apt install gnome-shell-extension-weather
sudo tail -f /var/log/messages
su
sudo journalctl | grep 'gnome-shell-extension-weather'
sudo apt-get purge gnome-shell-extension-weather
sudo apt-get upgrade && update
sudo update grub
sudo apt-get update grub
sudo update-grub
sudo apt-get upgrade && update
python3 --v
python3 -v
python3 --version
java -version
sudo apt update
sudo apt install default-jdk
sudo apt update
sudo apt install default-jre
java –version
sudo add-apt-repository ppa:webupd8team/java
sudo apt install software-properties-common
sudo add-apt-repository ppa:linuxuprising/java
sudo apt install oracle-java11-installer
java –version
sudo apt update && sudo apt upgrade
cd Downloads/
sha256sum jdk-11.0.5_linux-x64*
sudo mkdir -p /var/cache/oracle-jdk11-installer-local/
sudo cd jdk-11.0.5_linux-x64_bin.tar.gz /var/cache/oracle-jdk11-installer-local/
sudo cp jdk-11.0.5_linux-x64_bin.tar.gz /var/cache/oracle-jdk11-installer-local/
cd
java –version
sudo java –version
cd Downloads/
sha256sum jdk-11.0.5_linux-x64*
cd
sudo apt update && sudo apt upgrade
cd Downloads/
sha256sum jdk-11.0.5_linux-x64*
sudo mkdir -p /var/cache/oracle-jdk11-installer-local/
sudo cp jdk-11.0.5_linux-x64_bin.tar.gz /var/cache/oracle-jdk11-installer-local/
java -v
java -version
sufo ufw status
sudo ufw status
export LC_ALL=C
sudo ufw status
sudo apt install plasma-widgets-addons
sudo ufw status
`sudo apt purge steam-launcher`
sudo apt purge steam-launcher
sudo apt purge steam
sudo rm /etc/apt/sources.list.d/steam.list
sudo apt update
sudo apt install steam
sudo apt purge steam-launcher
sudo rm /etc/apt/sources.list.d/steam.list
sudo apt update
sudo apt purge steam
sudo rm /etc/apt/sources.list.d/steam.list
sudo apt update
sudo ufw status
ls -ld /
stat --printf "%a %n \n"  /
stat --printf "%a %n \n" 755 /
sudo ufw status
sudo chmod 0755 /
sudo gedit /home/user/.bash_history
sudo apt install gedit
 
Old 07-11-2021, 01:07 PM   #5
whois1230
Member
 
Registered: Sep 2018
Posts: 214

Original Poster
Rep: Reputation: Disabled
My email is full of spam and my other email, which I am running on Thunderbird was misbehaving. I posted a thread in the same sub-forum: https://www.linuxquestions.org/quest...37#post6265737 I ran ESET Nod32 live disk and it found 9 threats, but it didn't show what kind of threats they were and it did not delete or quarantine them.
 
Old 07-11-2021, 03:40 PM   #6
GentleThotSeaMonkey
Member
 
Registered: Dec 2016
Posts: 338
Blog Entries: 4

Rep: Reputation: 128Reputation: 128
ls -ld /

(need -a to see .)

Oh: at the bottom of your history, I see you fixed it.
What did your `stat --printf "%a %n \n" /` say before you fixed it?

You did lots of `ufs status`; when did it start reporting / as world-writeable???

Last edited by GentleThotSeaMonkey; 07-11-2021 at 03:53 PM.
 
1 members found this post helpful.
Old 07-12-2021, 04:57 AM   #7
whois1230
Member
 
Registered: Sep 2018
Posts: 214

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by GentleThotSeaMonkey View Post
ls -ld /

(need -a to see .)

Oh: at the bottom of your history, I see you fixed it.
What did your `stat --printf "%a %n \n" /` say before you fixed it?

You did lots of `ufs status`; when did it start reporting / as world-writeable???
Code:
user@user-Lenovo-ideapad-110-17IKB:~$ ls -ld / -a
drwxr-xr-x 20 root root 4096 Mai 16 18:58 /
user@user-Lenovo-ideapad-110-17IKB:~$
It started reporting as world-writeable 3 days ago, as I ran
Code:
sudo ufw status
.
 
Old 07-13-2021, 02:06 PM   #8
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,138
Blog Entries: 6

Rep: Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827
Stop running everything as root.

None of this needs root.
Code:
sudo gedit /home/user/.bash_history
sudo java –version
sudo cd jdk-11.0.5_linux-x64_bin.tar.gz /var/cache/oracle-jdk11-installer-local/
sudo wget https://www.python.org/ftp/python/3.8.2/Python-3.8.2.tgz
sudo tar xzf Python-3.8.2.tgz
sudo python -V
What is this? You ran a python script as root? What does it do? Has chown in the name.
Code:
sudo python3 myscript.py
sudo python3 /home/user/Desktop/Programming/Python/Os lchown method.py
sudo python3 "/home/user/Desktop/Programming/Python/Os lchown method.py"
 
1 members found this post helpful.
Old 07-13-2021, 02:39 PM   #9
whois1230
Member
 
Registered: Sep 2018
Posts: 214

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by teckk View Post
Stop running everything as root.

None of this needs root.
Code:
sudo gedit /home/user/.bash_history
sudo java –version
sudo cd jdk-11.0.5_linux-x64_bin.tar.gz /var/cache/oracle-jdk11-installer-local/
sudo wget https://www.python.org/ftp/python/3.8.2/Python-3.8.2.tgz
sudo tar xzf Python-3.8.2.tgz
sudo python -V
What is this? You ran a python script as root? What does it do? Has chown in the name.
Code:
sudo python3 myscript.py
sudo python3 /home/user/Desktop/Programming/Python/Os lchown method.py
sudo python3 "/home/user/Desktop/Programming/Python/Os lchown method.py"
Hello, I tried to run a python program from the terminal.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: 179 Color Schemes For Your Gtk-Based Linux Terminal (Gnome Terminal, Tilix, Xfce Terminal, More) LXer Syndicated Linux News 0 07-28-2019 04:50 AM
[SOLVED] strange terminal message when using "firejail thunderbird" Rosika Linux - Software 7 07-15-2017 08:06 AM
Strange message showed up in gnome-terminal fakie_flip Linux - Security 1 05-21-2007 05:32 AM
Strange Repeating Error message in /var/log/message lucktsm Linux - Security 2 10-27-2006 08:29 AM
Sound Issues with XMMS/ mpg123 strange (strange noises) thegreatbob Linux - Software 0 06-25-2004 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration