[00:05] Hi [00:06] I'm new to ubuntu and was looking for a link on how to make it more secure. [00:07] Looked in forums but got frustrated finding a simple how to. [00:08] Anyone here? [00:10] Guest12321: What is your use case of ubuntu that leads you to consider enhanceing security ? [00:11] gone ^ ;( [00:16] * topcat001 recommends greying of offline nicks === rfm_ is now known as rfm [00:59] Hey, I'm using KDE, but every time the monitors enters standby and I reactivate the monitors, all programs are moved to screen0, anyone who know how to solv this? === tofran9 is now known as tofran === chris14_ is now known as chris14 === neon is now known as Guest9902 === neon is now known as Guest2054 === chris14_ is now known as chris14 [06:55] hello after careful evalulation i have determined linux is a piece of sht [07:01] Harsh [07:36] can I include comments on my commands, so when catting history I can see info about commands I've done in the past? [08:22] When I can't remember the ssh command that lets me log into the server I type: history | grep "ssh" [08:23] Can't wait for the new Server LTS release [08:25] mkou: yes: id # show uid [08:31] thanks === arash is now known as herrrobot [09:29] i don't understand that you can simply boot into recovery mode to reset your root password [09:30] what good is your root password if it can simply be reset when you are in front of the machine [09:36] stenno: physical access is almost always game over 🤷 [09:42] well. fair enough i guess [09:43] stenno: there is full disk encryption though, IIRC you can also password protect BIOS and grub IIRC [09:43] hmm interesting [09:44] thanks, i will investigate in that! [09:55] i'm not sure if I am going about this wrong but i'm trying to create a separate user - which I have done - and give them .ssh access via a certificate. I have 1. created the user 2. created a /home/.ssh directory for them, 2. created an authorised_keys file for them, copied the public key in and then sudo chown -R katherine:katherine ~/.ssh 3. [09:55] this didn't work with the error Permission denied (publickey). I tried sudo chown -R katherine:groupnameredacted ~/.ssh - this errored on connection attempt too. Output from terminal here https://paste.debian.net/1311224/ thanks [09:58] maybe you didn't copy the right key? [10:01] also if you are using ~/ i assume you are doing things by the same user, so why the chown? [10:03] hey mei - I ***think*** it's because I turned password authentication back on but I didn't restart the ssh daemon [10:04] allowing password won't prevent you to use a key [10:07] if you get the password prompt it means the key failed [10:09] cioa [10:09] ciao [10:09] tpanarch1st: man ssh, ~/.ssh/ and ~/.ssh/authorized_keys need specific permissions [10:10] thank you, but it makes sense that this is the issue because then I couldn't get access and I could previously [10:10] i've rolled off a backup [10:10] are such permissions enforced? [10:11] maybe just recommended [10:11] i'm just going to redo this then i'll report back [10:11] well you don't have to disable password login before key is working [10:11] the moment key is working it will stop you asking the password [10:12] from which user are you doing it? you are using chown and ~/ at the same time. it sounds something is wrong [11:23] hi - `apt-get changelog linux-image-generic` has a generic changelog from linux-meta - is it possible to access the "true" changelog from https://bugs.launchpad.net/ubuntu/+source/linux/5.4.0-174.193 ? [11:24] hmm. linux-libc-dev has that changelog, actually. [11:31] does anyone have had issues with gnu calendar - https://ibb.co/3184Gh2 - the times of the events sometimes isn't sorted by order, for example the event 07:00 - 08:00 is showing after the event 11:00 - 12:00? [11:31] also, I can't add more calendars, seems like 7 calendars is the max, can it be increased? [12:23] Hi all [12:32] mei all sorted thanks [12:32] and thanks everyone [12:42] tpanarch1st: so what was it in the end? [12:43] I didn't reset the ssh daemon after turning on password authentication again [12:43] :) [12:43] so i think i crashed it ha [12:43] ive just certed my three vps's and set my best mate up as backup on all of them [13:00] Hi. I have recently installed Ubuntu server 23.10. But it takes days (literally) to load or to execute a command. Any thoughts on where can I adress my problem? [13:01] not enough RAM and its swapping? [13:01] it can literally be dozens of things [13:01] you need to put in some basic research first, like check system resources [13:01] swapping is usually the thing that comes to mind first [13:01] Maiandros: "load or execute a command". Can you be more specific here? Can you also share the system specs you are running on? [13:04] Maiandros: "load or execute a command". Can you be more specific here? Can you also share the system specs you are running on? [13:05] it's like asking 'my car doesnt work, what could be the reason' [13:05] 4core AMD 3,7Ghz and 8GB of DDR3 ram [13:05] Maiandros: and the commands? [13:05] and the program you are executing is what? [13:05] ls [13:06] ? [13:06] I know my question is at least vague...but I don't know where to begin with [13:06] execute the program and also execute top [13:06] and see how the system resources get used and if it starts swapping [13:06] mabye it's just that the program itself sucks [13:06] Maiandros: start with what you mean by "load or to execute" and which commands [13:07] I have done this....it took 4 hours to execute apt upgrade and 26 hours to install Apache2 [13:07] could it just be your internet connection then... [13:08] slow package repositories [13:08] While CPU and RAM where 5% of CPU load and 1.5GB of RAM used [13:09] Maiandros: please run this as a test: apt download nmap [13:09] so if you do apt upgrade, what is the connection speed? [13:10] my speed is almost 200Mbps [13:10] Maiandros: please run this as a test: apt download nmap [13:10] Ok I will do [13:11] Maiandros: take note of how long it takes to run [13:12] Maiandros: it hasn't finished yet? [13:14] maybe it takes time for your message to reach them [13:15] Maybe [13:15] Maiandros: is it still downloading? [13:15] it is stuck...I guess it is downloading [13:15] aha [13:16] Maiandros: your issue is more than likely the mirror you are using. Kill that process and run this: cat /etc/apt/sources.list | nc termbin.com 9999 [13:16] Ok guys...I will clean install again and I will come back again [13:16] Maiandros: no [13:17] Maiandros: there is nothing indicating a new install will fix anything. Reinstalling will just postpone you resolving the issue [13:17] ^ [13:17] Maiandros: your issue is more than likely the mirror you are using. Kill the apt download with CTRL+c and run this: cat /etc/apt/sources.list | nc termbin.com 9999 [13:18] Thank you leftyfb...I will so when I becomes operational again [13:18] it [13:19] Maiandros: press CTRL+c [13:19] maybe a couple times [13:20] Maiandros: press CTRL+c a couple times [13:21] Nope... [13:22] Maiandros: CTRL+ALT+F3 [13:22] Sorry for the trouble guys...I am going to (hard) reboot and come back again. Thank you very much for your assistance [13:23] Maiandros no thank YOU for your questions [13:37] :| [13:40] the Search on https://packages.ubuntu.com/ defaults to kinetic, but kinetic is gone [13:41] (happy to report this in a more useful place if somebody can point me to it) [13:41] like the file bug link on the bottom! [13:42] ah, already reported https://bugs.launchpad.net/pkg-website/+bug/2057796 [13:42] -ubottu:#ubuntu- Launchpad bug 2057796 in pkg-website "Package search defaults to 'kinetic' which returns no results due to EOL" [Undecided, New] [13:43] Habbie, this site is maintained by some community person ... if you scroll down there is a "report a bug with this site" link [13:44] ah, sorry, missed that you already found it [13:44] :D thanks [13:44] (either way, this isnt a canonical service so it might take a bit to be fised) [13:44] *fixed [13:44] ack [13:44] at least now i know :> [14:25] leftyfb: imagine it will take another day for them to install their ubuntu and they will be back tomorrow with the same question :P [14:26] yo [14:26] wassup === chris14_ is now known as chris14 === hjeldin1 is now known as hjeldin0 === JanC_ is now known as JanC [19:27] hi [19:30] allo emojii [19:58] Hello Ubuntu User [21:37] hi [21:41] i try to clone ubuntu with clonezilla ...... some error occur and process stops. after diconnect target disk, source disk didnt boot.... bios dosent recognized this disk.... but running live usb and listening disk in terminal, disk exist... after some reboot finaly ubuntu boot again .... any ideas? thanks [21:42] webchat87: it sounds like you have faulty hardware, potentially the source disk. I would recommend not powering on that drive unless you have no backup of the data on it, in which case, use something like ddrescue to make an image and only use that image to restore files [21:48] leftyfb thanks.... its ssd m.2 mounted ..... smart data seems to be ok.... a wanna clone entire disk to another ssd a bit bigger...... of course i did backup... [21:49] webchat87: "some error occur and process stops" [21:50] It would it be very helpful to have those errors in a pastebin or a screenshot [21:52] leftyfb  hmm i didnt make photos.... a dont think that any log exist.... maybe yes, but where? [21:52] it doesn't [21:53] webchat87: "disk exist" and "disk good" are not exactly the same thing, corpses do exist, they're not very alive though [21:54] do you think that best way its make image backup, put new ssd inside..... install ubuntu again and restore all data? [21:54] webchat87: and the liveUSB session is running off the usb-stick, so works because the usb-stick is fine, and doesn't depend on the SSD m.2 [21:54] webchat87: I thought the SSD m.2 was inside =) [21:54] webchat87: I would do just that, but do not plug the old drive in until after you've installed ubuntu on the new drive. But also, you said you have a backup. Just restore from that [21:58] i have to change ssd m.2 in my laptop and install from usb .....I wanted to make it more easier :-)  ......cloning....and just change it ...hmm ...maybe no way [21:59] webchat87: That could work, cloning anyhow [22:01] jeremy31 could work, but dosent work for me.... [22:03] webchat87: well, I've done "imaging", using other tools but CloneZilla does the same thing, pretty much just what you said, boot from usb with tools, image either just a partition or a whole HD, whole image is a 10gbs or so file, save it to stick, when restoring I can restore it in around 5 - 7 minutes, a 14gbs installation, so it does work [22:04] on slower systems the restore has taken as much as 25 minutes [22:04] " some error occur and process stops" this needs to be addressed before attempting to clone the drive again [22:04] yeap [22:05] webchat87: you wouldn't want to "restore" a corrupted installation :) [22:05] its possible that the problem was windows installed on target disk? in my opinion clonezilla should unmount all disk.....partition disk and format disk and copy disk... its right? [22:06] clonezilla doesn't care what's on the destination drive [22:07] webchat87: for "imaging" tools, they don't see an Operating System per se, all they see is blobs and bits and clusters and sectors [22:07] bprompt pls best program for image disk ? [22:08] webchat87: what I have used? well, "best" is relative, I can tell you what I've used, Norton Ghost and Acronis Disk Image [22:09] webchat87: Use clonezilla on ISO [22:09] webchat87: but as I said, for "imaging" is just blobs, and as I said, I was running those tools from a bootable USB session [22:09] everything is relative :-) but this program are windows programs no? [22:10] webchat87: yes, but I'd like to point out, that I've used stuff like "testdisk" to get files from a corrupted windows partitioin, that is "testdisk" using a liveUSB "parted magic" session [22:12] webchat87: on Linux, I use `dd`. [22:12] webchat87: that said, the issue may just be that you may run say Norton Ghost and you'll end up with the same "corrupted drive error", because they all to drive checks before imaging [22:13] Quark: "dd" works well, only thing is, it adds lots of blanks unless target and source are exact [22:13] jeremy31  I used clonezilla but some problem with cloneing disk .... [22:14] webchat87: yeah, but you're making an assumption your source HD is good to begin with [22:14] Quark  I check dd but seems to be little bit complicated and little bit dangerous :D [22:15] bprompt: I see. Is adding blanks a bad thing? [22:15] Quark: depends, if I want to use the blank area, yes :) hehe [22:16] Oh, so it becomes unusable. I didn't know that. [22:16] webchat87: is the new drive bigger than the old? [22:16] webchat87: "dd" is not bad, but is a "raw imager", is great for imaging, but you have to make sure you image the correct ranges [22:18] Quark: well, I recall using "dd" to image I think it was a 2gb stick, then I restored the image to a 8gb I think it was, well, when I check the 8gb, it was reported as a 2gbs =) [22:18] bprompt I assume that the disk is fine .......based on usage and smart data... maybe i am wrong [22:19] jeremy31 yes its bigger but dosent matther becource after clone i can make change with gparted o similar [22:20] webchat87: Might be an issue with Windows partition, might have to reboot Windows a few times in order for Windows to fix [22:21] jeremy31 problem was clonig disk..... clonig start and after some time some error occur [22:21] ooooo Inode seems to contain garbage [22:21] webchat87: I have seen issues after Linux resized Windows for an install, I think chkdsk in Windows will fix it [22:22] that was the error [22:22] webchat87: is the HD with a windows OS? and it runs, right? I mean, was wondering if you use something like a "benchmarking" app to test it, something maybe like "hddscan" , is free and tiny, and I think is stand-alone [22:24] "someone" clicked on the wrong button =) [22:25] LOL. [22:26] meow! [22:26] webchat87: is the HD with a windows OS? and it runs, right? I mean, was wondering if you use something like a "benchmarking" app to test it, something maybe like "hddscan" , is free and tiny, and I think is stand-alone [22:26] in case you missed that [22:26] right, I figured you clicked the wrong button :P [22:27] ohh rats, I even have the wrong nick heheh [22:27] I need to get some psychotherapy with ChatGPT =) [22:30] I cant remember ubuntu's offtopic IRC channel, thats why im here [22:30] #ubuntu-offtopic [22:30] ty [22:33] So many Ubuntu channels. [22:37] bpromt no, its ubuntu disk [22:39] there is a date for the 24.04 release? [22:39] 25 April 2024. [22:41] 25 april, but pretty sure it'll be extended to April 30th 11.59.99999 PM [22:41] XD thanks [22:43] bprompt: From where is that time locale? [22:44] Quark: yeah really hehe [22:44] Quark: I mean, I've seen them before giving a data, and then off it goes, I know May 1st is someting reliable [22:44] s/data/date/ [22:44] :-D === PasiZ7 is now known as PasiZ