Thegs
  • Member for 4 years, 5 months
  • Last seen this week
SSH still asking for password after recommended changes
4 votes

Your SSH server is properly accepting passwordless logins; based on the output of ssh -vv that you posted it has accepted your key: debug1: Authentication succeeded (publickey). The reason why you ...

View answer
Most popular, trusted rpm dnf repos for CentOS Stream 8 ans RedHat 8 Enterprise Linux
1 votes

As a frame challenge, CentOS/RHEL is probably not the distribution for you if you are looking for the latest and greatest packages. The ideology behind package versioning in CentOS/RHEL is to be ...

View answer
How Does Unix Interpret $?
Accepted answer
4 votes

In addition to BlueManCZ's answer on how to escape special characters, the username you are proposing contains many invalid characters. Please refer to CentOS 7's man page for adduser, under the ...

View answer
forwarding two ports for a minecraft server
1 votes

Within today's Internet Protocol (IP) model of networking, there are two primary means of communicating between two hosts: the Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP). ...

View answer
Python command not found error while installing python 3.7.3 on python 2.7
1 votes

The directory that the Python 3.7 executable is installed in, /usr/local/bin, is not located in your PATH. You can see your PATH in the error returned from running which python3, which printed /sbin:/...

View answer
Ubuntu partition booting into gnu grub after being encrypted with Veracrypt
0 votes

When it comes to encrypting system volumes, Veracrypt can only encrypt Windows systems running in BIOS boot mode. Documentation link Unfortunately since the files Grub uses to boot your Ubuntu and ...

View answer
What overwrites /etc/resolv.conf roughly every hour?
4 votes

/etc/resolv.conf is a dynamic configuration file generated by the resolvconf process: $ head /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO ...

View answer
Error while doing apt-get upgrade or while installing something with apt-get
3 votes

I am sorry to say but your system is probably broken beyond reasonable repair. Trying to work backwards to determine what has happened, you say that you are running a Debian 9 system, but you have the ...

View answer
SSH script does not have access to full path variable
0 votes

This is due to the fact that when you run a command through ssh (ssh user@host 'command') it opens a non-login shell. An excellent breakdown of the differences between a login shell and a non-login ...

View answer
Environment variable not visible after `sudo su`
Accepted answer
2 votes

When you issue the command su user you will switch to the user without loading their entire profile. Only the $HOME, $SHELL, $USER, and $LOGNAME variables are loaded. In order to load the user's ...

View answer
Understanding Debian domain name
Accepted answer
4 votes

What a search domain does it is provides a domain name that is appended to name resolution queries that contain less dots (a .) in them than whatever the ndots option is set to in /etc/resolv.conf (...

View answer
How to do a full exfat format in Linux (RaspberryPi)
0 votes

As Dan says, it is entirely possible that your flash drive is not truly 500GB if data constantly gets corrupted after 20-30GB has been written. I would recommend you test the drive to make sure it ...

View answer
Fail when one command fail in sub-command
0 votes

You can test to see if the last command exited with an error and then issue an exit command by appending if [[ $? != 0 ]] ; then exit ; fi to the line. Please note though that if the provided code ...

View answer
Why is my "no password" setting on my login keyring frequently reset?
2 votes

Gnome Keyring stores its decrypted contents in memory. This means that whenever it gets updated and needs to restart, or whenever a related processes requires it to restart, you will have to put in ...

View answer
Customized ISO will not install from a local kickstart on the installation CD
0 votes

Check your boot config file to ensure that the LABEL option is correct. It should be found under isolinux/, and I know under Redhat it is called isolinux/isolinux.cfg, so it may be in the same place ...

View answer
Handling multiple users that need to create Solr cores
Accepted answer
1 votes

You could add the user solr to the group assigned to the /var/solr/data directory, or make your own group containing both the solr and glassfish users and change the group assigned to the directory to ...

View answer
Parted not properly auto aligning sectors for usb drive
2 votes

The optimal I/O size of the second drive is much larger than that of the first one; that is probably what is causing the issue. This article from 2013 suggests to manually align partitions starting at ...

View answer
Slow wireless speed between Ubuntu and OpenWRT
1 votes

This are a lot of little reasons that all add up to wireless networking being slower than the advertised rate. Ars Technica recently did a really good article about why real-life speeds never live up ...

View answer
How do I find commands/files in my PATH through tab completion using wildcards?
1 votes

Would ls `echo $PATH | sed s@ @\\ @g | sed s@:@ @g` | grep [string] accomplish what you need, on both counts? sed s@ @\\ @g should replace $PATH entries that have spaces in them with the readable ...

View answer
Solaris 7 DHCP Client
1 votes

From the error of "unknown host" it sounds like you don't have a DNS server set. If you could, check the files /etc/nsswitch.conf and /etc/resolv.conf . nsswitch.conf should have a line like: hosts: ...

View answer
No space left on device although there is space available
Accepted answer
6 votes

Inodes are references to file contents within the disk. I like to think of them like file headers - they tell the operating system some metadata of the file along with the location of the actual data ...

View answer