December 03, 2021, 08:02:59 AM

News : Linux Help Community Forum..

Recent Posts

Pages: [1] 2 3 ... 10
Linux Installation Support / Unable to dual-boot in to Ubuntu
« Last post by maximealexandre on October 13, 2020, 03:58:02 AM »
Hello guys, I have a Huawei MateBook 13 that comes with Windows home edition. Today for the second time I tried to install Ubuntu (dual-boot) in to it and so I made my Kingston USB drive bootable with Etcher following their tutorial and installed Ubuntu successfully. I allocated a brand new partition for Ubuntu. But the issue is I am unable to actually dual boot it. It doesn't allow me to switch between operating systems and it just boots straightaway to my old Windows operating system. After the first installation, I thought I did something wrong so I re formatted the drive and installed the system again but it didn't fix the issue. I even asked from Stack Overflow and they suggested to adjust some BIOS settings but still the issue remains. Any advice you could give would be much appreciated.

Miscellaneous / Centos 7 - no message log at all in /var/log- all blank
« Last post by Saahib on May 18, 2020, 08:26:01 PM »

Today I noticed that one of the Centos server I used, there are no logs being updated. Log rotation is working as but all current files are blank.
Nothing in

Some logs are working like /var/log/lfd.log ( I am using csf firewall).

I have been going through various topics online where people might have deleted or messed up permission of /var/log folder. But nothing so far . I even did side by side comparison of permission with a similar server. I don't see anything messed, all is good. Interesting thing is that everything is working fine.

Following online advices, I reinstalled rsyslog as it may fix the permission if they are messed:
Code: [Select]
yum remove rsyslogThen
Code: [Select]
yum install rsyslog
Checking rsyslog status say its running .
Interesting thing is that even though no logs are being logged, all services are running fine on server. I think its more than 2 weeks since they are not working.

Is there any command or system to restore default permission of /var/log  ?

I don't want reinstall, it will be lots of headache given amount of data on the server.
Linux Servers Support / Re: Regular user Can't SSH using public Key but root can
« Last post by Saahib on May 18, 2020, 08:16:11 PM »
Oh man, it was driving from many days, it was indeed permission problem . I had checked actually , permission were 644 and ownership was also correct (owned by the user) however.

Looking around I found that we need following permission, I am sharing here for future reference:
Code: [Select]
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys

Problem was that I was comparing permission with root .ssh and its content but that doesn't work for regular user.
Linux Servers Support / Re: Regular user Can't SSH using public Key but root can
« Last post by dalek on May 18, 2020, 01:46:12 AM »
I would check permissions of the key files and also check to be sure the user is a member of the correct groups.  I haven't used ssh in ages but seem to recall it requiring being a member of a certain group.  Given your output, it seems to be trying so that leads me to believe it is a permission issue with the key files.  I'd suggest setting it to be readable by all but only writable by root.  It may be that it can see the file exists but is unable to read the contents of the file. 

Hope that helps.
Linux Servers Support / Regular user Can't SSH using public Key but root can
« Last post by Saahib on May 18, 2020, 12:19:59 AM »

This is driving me nuts from few days. I have server where I can login as root user through SSH using public key authentication. I then added new user with SSH.

Added new user :
Code: [Select]
adduser  -m newUser
Created password for it :
Code: [Select]
passwd newUser
Added .ssh/authorized_keys with client machines public key (which is I am already using to log into as root from this client)
Code: [Select]
echo "key here from client" >> /home/newUser/.ssh/authorized_keys
I have double checked, triple checked.  Same key works for root login but not for new user.

I tried ssh to ssh with -v ,then last few lines:

Code: [Select]
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /root/.ssh/id_rsa
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Trying private key: /root/.ssh/id_ecdsa
debug1: Trying private key: /root/.ssh/id_ed25519
debug1: Next authentication method: password's password:

It looks like its my ssh server is not able read publickey ? I can login using password though.

I have done this in past many times, for root and normal user but this time its not working, driving me nuts...

I am sure I am making some tiny mistake.. but where it is ?

I just started using borg and something weird I notice. Borg Backup is really nice with all its things but one of the recent backup I see that size of repository is way larger than actual files in it.

I have two files on is 66GB and other is 3.5GB, I uploaded them in a repo of BORG, here is its stats:

Code: [Select]
Original size      Compressed size    Deduplicated size
All archives:              144.23 GB             74.51 GB             31.86 GB

                       Unique chunks         Total chunks
Chunk index:                   21015                47457
So what is is , even after compression, its 74GB and there is deduplication data too.

Anyone has got any idea what I am seeing here ?
Other Devices / Data Recovery Over Hard Disk Failure
« Last post by ronaldassus on April 15, 2019, 11:20:10 AM »
          Can we attach a hard disk to a dvd player to watch movies from hard disk.

Os Talk / Why I am moving to linux
« Last post by ronaldassus on April 12, 2019, 11:41:07 AM »
Linux is an operating system for computers, its public domain and works on a variety of cpus and equipment ...
Linux Application / Ambiguous output redirect issue
« Last post by Brianhauro on March 16, 2019, 11:27:53 AM »
Same problem here, on a TP-Link WR1043ND with OpenWRT Backfire. Is there any way for circumventing this issue?
Linux Servers Support / Copy files to Remote Server
« Last post by Brianhauro on March 11, 2019, 05:14:18 AM »
I got it working.  I just have to copy the files to the same place on the server that my other html files are located.
Pages: [1] 2 3 ... 10