semanage in f36
Bonjour, Wanting to change the ssh default port, I read in /etc/ssh/sshd_config : "If you want to change the port on a SELinux system, you have to tell SELinux about this change. semanage port -a -t ssh_port_t -p tcp #PORTNUMBER" So, I tried this command, but: semanage: command not found What can I do? Thank you. -- François Patte UFR de mathématiques et informatique Laboratoire CNRS MAP5, UMR 8145 Université Paris Descartes 45, rue des Saints Pères F-75270 Paris Cedex 06 Tél. +33 (0)6 7892 5822 http://www.math-info.univ-paris5.fr/~patte FSF https://www.fsf.org/blogs/community/presenting-shoetool-happy-holidays-from-the-fsf ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: monitor/display problem.
On 11/3/22 10:05 PM, Felix Miata wrote: home user composed on 2022-11-03 21:42 (UTC-0600): ... initramfs-5.19.16-100.fc35.x86_64.img was either installed or updated when you did your customary periodic updates to F35. initramfs-5.19.16-200.fc36.x86_64.img was created later when you did your system-upgrade to F36. As long as 200.fc36 belongs to a *working* kernel, it's the important one to have backed up. It couldn't hurt to backup both though. My workstation does properly boot the 5.19.16-200. back-ups done: -- bash.2[~]: su - Password: -bash.1[~]: cd /boot -bash.2[boot]: ls initramfs-* initramfs-0-rescue-70857e3fb05849139515e66a3fdc6b38.img initramfs-3.10.7-200.fc19.x86_64.img initramfs-5.19.16-100.fc35.x86_64.img initramfs-5.19.16-200.fc36.x86_64.img initramfs-6.0.5-200.fc36.x86_64.img initramfs-fedup.img -bash.3[boot]: cd -bash.4[~]: mkdir initrd_backups -bash.5[~]: cd initrd_backups/ -bash.6[initrd_backups]: ls -a . .. -bash.7[initrd_backups]: cp -ip /boot/initramfs-5* . -bash.8[initrd_backups]: ls -a . initramfs-5.19.16-100.fc35.x86_64.img .. initramfs-5.19.16-200.fc36.x86_64.img -bash.9[initrd_backups]: ls -la total 67276 drwxr-xr-x. 2 root root 4096 Nov 4 12:16 . dr-xr-x---. 43 root root 4096 Nov 4 12:15 .. -rw---. 1 root root 33824169 Oct 20 09:47 initramfs-5.19.16-100.fc35.x86_64.img -rw---. 1 root root 35051075 Oct 20 11:19 initramfs-5.19.16-200.fc36.x86_64.img -bash.10[initrd_backups]: -- Am I correct in assuming that I should not do weekly patches until the proper updated NVidia 470 drivers reach rpmfusion-nonfree-updates? How will I know when the proper updated NVidia 470 drivers reach rpmfusion-nonfree-updates? thanks, Bill. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: semanage in f36
On Fri, Nov 4, 2022 at 12:18 PM François Patte wrote: > So, I tried this command, but: > > semanage: command not found > > What can I do? sudo dnf install /usr/sbin/semanage -- Jerry James http://www.jamezone.org/ ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
gpt question
Hi All, I am going to clone (Clonezilla) a Windows gpt mechanical drive to a smaller SSD drive. I am going into gparted (FEdora Xfce Live 36) and resizing the large partition (sda3, C:) so it will fit on the new ssd drive. Question: there is a tiny sda4 hanging out there, which is presume is the gpt partition tables. Do I also need to move sda4 to the end of sda3 or is it okay to just leave it at the end of the disk? Many thanks, -T -- ~~ When you say, "I wrote a program that crashed Windows," people just stare at you blankly and say, "Hey, I got those with the system, for free." -- Linus Torvalds ~~ ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: gpt question
On 11/4/22 23:10, ToddAndMargo via users wrote: I am going to clone (Clonezilla) a Windows gpt mechanical drive to a smaller SSD drive. I am going into gparted (FEdora Xfce Live 36) and resizing the large partition (sda3, C:) so it will fit on the new ssd drive. Question: there is a tiny sda4 hanging out there, which is presume is the gpt partition tables. Do It's not the partition table. There's no partition for that. It's probably some Windows special partition. I also need to move sda4 to the end of sda3 or is it okay to just leave it at the end of the disk? It probably doesn't matter where it is, but you might as well put it at the end of the disk. You're going to resize the other partitions to fill the disk anyway, right? ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: gpt question
On 4 Nov 2022 at 23:10, ToddAndMargo via users wrote: Date sent: Fri, 4 Nov 2022 23:10:02 -0700 To: Community support for Fedora users Subject:gpt question Send reply to: Community support for Fedora users From: ToddAndMargo via users Copies to: ToddAndMargo > Hi All, > > I am going to clone (Clonezilla) a Windows gpt > mechanical drive to a smaller SSD drive. I am > going into gparted (FEdora Xfce Live 36) and > resizing the large partition (sda3, C:) so it > will fit on the new ssd drive. > > Question: there is a tiny sda4 hanging out there, > which is presume is the gpt partition tables. Do > I also need to move sda4 to the end of sda3 or > is it okay to just leave it at the end of the > disk? Think you need more info.. I would suggest booting from a fedora livecd or usb and run. sfdisk -l /dev/sda and see what it reports about partitions. My notebook here was originally on a regular disk, but upgraded it to an sdd drive of the same size just using clone option of my G4L project. Then used gparted to reduce size of C: partition. Sometimes windows machines have other partitions, that contain restore partitions or partitions with programs they add.. sfdisk /dev/sda -l Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors Disk model: WDC WDBNCE0010P Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x7c819ab2 Device Boot StartEndSectors Size Id Type /dev/sda12048 39847935 3984588819G 27 Hidden NTFS WinRE /dev/sda2 * 39847936 40052735 204800 100M 7 HPFS/NTFS/exFAT /dev/sda340052736 379084799 339032064 161.7G 7 HPFS/NTFS/exFAT /dev/sda4 379084800 1953523711 1574438912 750.8G 5 Extended /dev/sda5 714633216 7167303672097152 1G 83 Linux /dev/sda6 716732416 7247564798024064 3.8G 82 Linux swap / Solaris /dev/sda7 724758528 829616127 10485760050G 83 Linux /dev/sda8 829618176 1953523711 1123905536 535.9G 83 Linux /dev/sda9 379086848 714631167 335544320 160G 83 Linux Partition table entries are not in disk order. Recently had a user that had a windows disk with 4 primary partition, but the only was tiny 100M and had a couple of programs dated back to 2015.. Seemed some kind of update utilities. Copied files to C: partition, and then removed that partition. Was then able to install Fedora after resizing the C: partiton. > > Many thanks, > -T > > > -- > ~~ > When you say, "I wrote a program that > crashed Windows," people just stare at > you blankly and say, "Hey, I got those > with the system, for free." > -- Linus Torvalds > ~~ > ___ > users mailing list -- users@lists.fedoraproject.org > To unsubscribe send an email to users-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org > Do not reply to spam, report it: > https://pagure.io/fedora-infrastructure/new_issue ++ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mi...@guam.net mailto:msetze...@gmail.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ ++ ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: gpt question
On 11/4/22 23:36, Samuel Sieb wrote: On 11/4/22 23:10, ToddAndMargo via users wrote: I am going to clone (Clonezilla) a Windows gpt mechanical drive to a smaller SSD drive. I am going into gparted (FEdora Xfce Live 36) and resizing the large partition (sda3, C:) so it will fit on the new ssd drive. Question: there is a tiny sda4 hanging out there, which is presume is the gpt partition tables. Do It's not the partition table. There's no partition for that. It's probably some Windows special partition. Look like you called it! It is sda3 in this example: https://imgur.com/AVji5GYl.png I also need to move sda4 to the end of sda3 or is it okay to just leave it at the end of the disk? It probably doesn't matter where it is, but you might as well put it at the end of the disk. You're going to resize the other partitions to fill the disk anyway, right? Yes. And I was going to make the sda3, c: partition as small as possible to speed up the cloning process. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue