Re: DEBIAN documentation: which 64 bit processors run current release?
вт, 27 авг. 2024 г. в 21:26, Richard Owlett : > > I'm looking for for where *Debian* documents which processors support > current Debian release. > https://www.debian.org/releases/stable/amd64/ch02s01.en.html """ 2.1.2. CPU Support Both AMD64 and Intel 64 processors are supported. """ Debian is not an enterprise distribution, so does not have HCL for tested hardware and you will not be subject to any penalties when you install it on hardware not in HCL. > I have three machines whose processors are 64 bit capable. > Processors identified by running lscpu: > > Machine 1: > Architecture: i686 > Model name: Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz > > Machine 2: > Architecture: x86_64 > Model name: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz > > Machine 3: > Architecture: i686 > Model name: Pentium(R) Dual-Core CPU E5300 @ 2.60GHz > > Will the OS linked to by https://www.debian.org/ run on all three? Yes. All three. -- Stanislav
Re: iptables to nftables?
вт, 6 авг. 2024 г. в 16:05, Wesley : > We have several debian servers, all running iptables. On average each has 200 > rules, mostly deny rules. From a best practice perspective, do we need to > upgrade to nftables? Upgrade right now? No. Check and test? Yes. If your configuration works and can be easily extended and you are happy with it — use iptables. If your configuration is generated by something — check the new version of something. Perhaps it can into nftables. -- Stanislav
Re: nginx or apache for php?
чт, 1 авг. 2024 г. в 16:46, Walt E : > I have been using apache2 + php for years under debian. > But I heard people says nginx + php has better performance. > Do you have experience on both of setup and share a bit with me? If your setup works fine, use apache2 as php runner. Nginx needs config exercises for .htaccess replacements and this is sometimes too complicated for beginners. For performance on multiple slow clients add nginx as reverse proxy (as most other hosting setups), or use apache proxy module (never seen last ~15 years). Nginx is faster than apache2 because it get all data from backend, send it to a slow client and backend ready to new request while nginx sending data. Apache2 can do it with proxy module, but i was see such configuration around 2006, nginx as reverse proxy easier to configure. -- Stanislav
Re: VirtualBox (VB) and Windows on Debian
ср, 17 июл. 2024 г. в 10:35, jeremy ardley : > A basic linux LAMP server will fit on 10GB disk and can run on 1GB ram > with a swap file. Even lower and without swap for basic usage with optimized setup (mostly --no-install-recommends) At my work (small hosting provider) we sell vds from 512M RAM (1G recommends) and for low load its work fine. Base system with LAMP use lower than 2G, other space for user data. -- Stanislav
Re: Bug processo di installazione debian 32 bit
вс, 30 июн. 2024 г. в 17:23, Uno Qualsiasi : > > Buongiorno vi contatto per segnalare un problema nel processo di > installazione di debian 12.5.0 dvd iso 32 bit, ossia che quando arriva al > momento di eseguire “grub-install” su disco primario mi fa errore. Su > qualsiasi pf 32 bit lo provi è fa lo stesso problema. > Inviato da Uno qualsiasi Most of us are not maintainers. This is a user mailing list and sending bugs here is a very long way. I think your target is https://www.debian.org/Bugs/Reporting which describes how to send bugs by email to maintainers. -- Stanislav
Re: dictd?
ср, 19 июн. 2024 г. в 16:18, Greg Wooledge : > > > Place files to /usr/share/dictd and run `dictdconfig -w` and restart > > > dictd service > > > > Thanks! I guess it doesn't work with symbolic links (symlinks) to user > > directories/folders though... > > Doesn't work, how? Do you get permission denied? If that's the case, > it might be something like AppArmor. I create .deb with dictionary and didn't place dict files manually, so further my assumption. I think, dictd user have no access to $HOME even without apparmor/selinux/another acl ls -ld ~ will show you more. In my system mode bits on my home dir are `drwx--` so only my user have access to it. -- Stanislav
Re: dictd?
ср, 19 июн. 2024 г. в 06:53, David Chmelik : > How can I add a dictionary (I have dictionary.dict.gz & dictionary.index) > to dictd? Apparently doesn't work same as on *BSD UNIX & Slackware GNU/ > Linux... man dictd: /usr/share/dictd The default directory for dictd databases (.index and .dict[.dz] files) Place files to /usr/share/dictd and run `dictdconfig -w` and restart dictd service -- Stanislav
Re: Security hole in kernel fixed?
ср, 15 мая 2024 г. в 16:55, Hans : > Dear developers, Users. > in April 2024 the security hole CVE-2023-6546 was discovered in linux-image, > and I believe, it is fixed in kernel 6.1.0 (from debian/stable) as soon after > this a new kernel was released. https://security-tracker.debian.org/tracker/CVE-2023-6546 may be help -- Stanislav
Re: Many systemd units do not start anymore
пн, 5 февр. 2024 г. в 20:57, Christoph Pleger : > Unfortunately, there is no useful further information: > > systemctl status > ● autofs.service - Automounts filesystems on demand > Loaded: loaded (/lib/systemd/system/autofs.service; enabled; > vendor preset> > Active: inactive (dead) >Docs: man:autofs(8) I don't know about other services (thread skipped), but autofs MUST be configured before start. And does not start without configuration, -- Stanislav
Re: File systems mounted under `/media/root/` ?
2023-12-10 19:49 GMT+05:00, Max Nikulin : > On 10/12/2023 02:49, Stefan Monnier wrote: >> "magically" mounted as >> `/media/root/`. > [...] >> Any idea who/what does that, and how/where I can control it? > > This path is used by udisks, however I am unsure what may cause > automounting for root. > In /media/ disks mounts by GUI. Stefan use root in gui login. -- Stanislav
Re: Documentation for KVM/QEMU?
2023-11-06 12:45 GMT+05:00, Michael Kjörling <2695bd53d...@ewoof.net>: > The three biggest differences I have run across (I used VirtualBox > before): > > 1. Storage pools for disk images. With VirtualBox, you can put a disk > image file anywhere. With KVM, they go into one of a defined set of > pools, which in turn map to file system directories. Depending on what > kind of setup you prefer, this can be anything from actually > beneficial through a non-issue to a nuisance. I run qemu binary with parameters and place disk image in any place and can use any physical disk as qemu image, if need. In old scripts it was something like: qemu-system-x86_64 -m 1024M -hda /path/disk.img -cdrom /another/path/image.iso -boot cdrom So, it is not qemu, only your gui wrapper/interface limitation. > 3. KVM virtualized NAT networking doesn't play nice with nftables on > the host with a restrictive policy. Took me a while to find a solution > but I eventually came up with this, which has worked reliably for me: > https://michael.kjorling.se/blog/2022/linux-kvm-host-nftables-guest-networking/ this is not qemu/kvm thing, only libvirt, which is not part of qemu, but only wrapper on it. Sometimes useful, good for beginning, bad, if you need something non-standard. qemu as virtual machine does not create/use firewall rules at all and can use user mode net, which work without firewall rules — see man qemu for -net parameter (use -net nic -net user if you need only output network requests). -- Stanislav
Re: Anybody familiar with dd (copy)?
2023-11-04 0:37 GMT+05:00, Schwibinger Michael : > Good evening > I want to copy a problem-DVD to HD with DD. > Or is there any other software which can do it in an easy way? try gddrescue Created for disks with bads. In 1st pass get readable data, make source map and in next passes try to read rest. -- Stanislav
Re: "locate" easier to use than "find"
чт, 24 авг. 2023 г. в 18:17, Nicolas George : > > With a really large amount of files there will be overflow of process > > environment (or too large cmdline). > If I expect a very large amount of files, I can use it another way. Sometimes it's unexpected :-) -- Stanislav
Re: "locate" easier to use than "find"
чт, 24 авг. 2023 г. в 17:06, Nicolas George : > > to...@tuxteam.de (12023-08-24): > > Dunno. I use find nearly every day. Seeing it as "just a recursive > > grep" doesn't cover a fraction of its usefulness. > > > > A couple of days ago I was searching for dangling symlinks. > > > > find . -follow -lname "*" > > ls **/*(N@-@) With a really large amount of files there will be overflow of process environment (or too large cmdline). locate and find does not store filenames in memory. -- Stanislav
Re: file server
ср, 12 июл. 2023 г. в 14:45, lina : > I want to have 100 TB capacity to store/analyze data. > I am thinking of adding 5 hard drives, each is 18TB, Some primitive calcs: 5*18T = 90T, not 100T. Maybe you need 6 hdd? > and then merge them into one volume? If your hardware supports 6 hard drives (5*18T + your 2T), you can use lvm for merging 5 of them to one volume, or create raid0 by mdadm. Some risks with plain disk merging - if one of your drives die, entire volume dies. It may be mitigated by use raid5 with 1 additional drive or raid6 with 2 (see https://en.wikipedia.org/wiki/RAIDhttps://en.wikipedia.org/wiki/RAID) -- Stanislav
Re: Transport endpoint is not connected
вт, 4 июл. 2023 г. в 13:25, hlyg : > i have installed deb12 in usb disk by kingston, it's slow > > today i install it in sandisk's, it's normal(fast) > > i don't know how to use tool to test usb disk speed Try fio with config copied from /usr/share/doc/fio/examples/ssd-test.fio In config set appropriate size and directory and run `fio new_config` -- Stanislav
Re: When to sudo apt clean?
2023-06-23 4:44 GMT+05:00, Default User : > Other than that, is there any good reason not to do sudo apt clean? Only if you have many machines which share /var/cache/apt (via nfs for example) You may use `apt-get autoclean` for cleanup non-donwloadable .deb's, if you want store packages for offline reinstall -- Stanislav
Re: Bug with audio muting - which package?
пн, 5 июн. 2023 г. в 05:36, Paul Martz : > If I mute audio in the desktop, then reboot into console mode, the SpeakUp > screen reading software is also muted. I think this is a bug - muting the > desktop should be a desktop property and should not affect the console screen > reader. But I’m not sure which package I should file the bug against. Any > help would be appreciated. Thanks. You may try to bugreport for pulseaudio, but i think this bug will be rejected — pulseaudio (sound service) and alsa (hardware interface) is systemwide, not desktop-only. -- Stanislav
Re: A hypervisor for a headless server?
пт, 2 июн. 2023 г. в 12:38, Victor Sudakov : > > > Running "apt install qemu-kvm" on a Debian 11 AWS EC2 instance which has > > > never had any X-Window or desktop environment in its entire life, > > > tries to install qemu-system-gui, adwaita-icon-theme, libgtk-3-common > > > and a lot of similar stuff. > > > > Even with `--no-install-recommends`? > > qemu-system-x86 package _recommends_ qemu-system-gui, but you may > > install without. > > But Andy Smith wrote recently that "installing without recommends is not a > supported use > case" and I believe him. It may be unsupported, but it work for me and my servers and I did not break any system with it. I don't use libvirt/virtmanager (hosting control panel was written before virtmanager in debian), but qemu/kvm work fine without gui wrappers with console on vnc. > On the other hand, https://wiki.debian.org/KVM#Installation advises it: > > "When installing on a server, you can add the --no-install-recommends > apt option, to prevent the installation of extraneous graphical > packages" > > The truth is definitly out there somewhere. I think Debian's wiki and Debian's official manuals (https://www.debian.org/doc/user-manuals) are enough in this case. In the installation guide you can see how to install without recommends. -- Stanislav
Re: A hypervisor for a headless server?
пт, 2 июн. 2023 г. в 12:18, Victor Sudakov : > Running "apt install qemu-kvm" on a Debian 11 AWS EC2 instance which has > never had any X-Window or desktop environment in its entire life, > tries to install qemu-system-gui, adwaita-icon-theme, libgtk-3-common > and a lot of similar stuff. Even with `--no-install-recommends`? qemu-system-x86 package _recommends_ qemu-system-gui, but you may install without. -- Stanislav
Re: Apache or Nginx on debian
пн, 29 мая 2023 г. в 12:14, Tom Reed : > Though the question is not directly related to debian. > But since most of you are sysadmin expects, may I ask that for running a > simple web service, should I choose nginx or apache, and why? The service > is combined by some php and python scripts, with redis as backend DB. How you plan run your app? Important questions for choice: Do your app use .htaccess/.htpasswd and .ht* must be reconfigured in runtime by user? Do your app use cgi or mod_php and can't be run as fastcgi/fpm/wsgi? If any answer 'yes' or 'don't know' - apache. Or better nginx as reverse proxy in front of apache as application server. nginx may replace apache, but their configs have no user access and another format + it's not an application server, their capabilities - to proxy requests to another app and serve static files. -- Stanislav
Re: is nft running? how do I get info?
вт, 25 апр. 2023 г. в 13:32, Bonno Bloksma : > > Debian's nftables package includes a systemd service to run nftables. You > > might want to run systemctl status nftables first and then enable and to > > start the service. > Unfortunately nft is not a service. Trying the service command with nft gives > an error. > linbookwormtest:~# service nft status > Unit nft.service could not be found. > linbookwormtest:~# $ sudo systemctl status nftables.service ● nftables.service - nftables Loaded: loaded (/lib/systemd/system/nftables.service; disabled; vendor preset: enabled) Active: inactive (dead) Docs: man:nft(8) http://wiki.nftables.org This is not true service, but only loader for /etc/nftables.conf rules at boot, if enabled. > Also trying command completion with the nft, or even nf, show no results. > Using just the n for completion gives just the networking service. nftables: /usr/sbin/nft This is package, which can be installed or not. And, if you use 'su' command, please use it right: su - > > I wonder how you used iptables? I always used a script for that but I had > > to run it too for changes... > I allways had a script too. I had it hooked in /etc/network/interfaces via > either a pre-up or post-up rule depending if there was a fixed ip or a dhcp > line in the interfaces file. > A default Debian install has an executable /etc/nftables.conf file. If > nothing is looking at that file then what is the "normal" wat to start the > firewall? see above > Do I hook it up via one of the old /etc/init.d/ scripts? Do I create a script > in one of the /etc/rc?.d/ directories? No. You may write some scripts in /etc/network subdirs, if you REALLY need custom rules at interface up or down. > Is this a bug? No. But docs need to be read. /usr/share/doc/nftables/README.Debian - good starting point. -- Stanislav
Re: Is perl still the No.1 language for sysadmin?
2023-04-03 21:36 GMT+05:00, Jeffrey Walton : > Next, you might ask which is the best editor to use on Unix & Linux. > That should really stir the pot :) Emacs for the win! Emacs will not win, because this OS does not have good editor even with M-x viper :-) Used it at their 21-23 versions. It's not editor, it's really os and in this os best mail/news reader. You can config anything with it. But you will config everything in it. After end of fidonet to news gate i was dropped emacs because too lazy for every day configuration without stimul :-) -- Stanislav P.S. Now I use vi (not vim), vi (really vim-tiny), vim, mcedit (from mc), or something installed by default, edit network settings and with working network use puppet-like software, which configs/data edited by Geany with git or directly in Gitlab webinterface. Not ideal, but working.
Re: Is perl still the No.1 language for sysadmin?
2023-04-03 18:31 GMT+05:00, Vincent Lefevre : > On 2023-04-03 11:48:42 +0500, Stanislav Vlasov wrote: >> And I saw perl5 scripts from past (about 5.6 or lower), which can't >> run on perl5 from current (5.22 or so at the moment). > > I would say that's quite rare (or these scripts were using > experimental features). I started with perl 5.000 in early 1995, > I think (the oldest Perl script I still have in my archives is > from 1995-02-12), and wrote many Perl scripts, and couldn't see > any incompatibility, except some rare warnings on poorly written > code (very easy to fix). For my work, I'm still running large > complex scripts I started to write in January 1999. In my case it was not my scripts (also works years), but client's website with additional libraries. > Practical incompatibilities in the C language are much worse with > modern optimizations. Agree. -- Stanislav
Re: Is perl still the No.1 language for sysadmin?
пн, 3 апр. 2023 г. в 12:29, David Christensen : > On 4/2/23 23:48, Stanislav Vlasov wrote: > > пн, 3 апр. 2023 г. в 09:23, : > >> I think python3 is much different to python2, but it's still naming as > >> python. > > > > Not so much different as perl5 vs raku. I'm not a programmer, but can > > write large (more than 10kB) scripth, which can run with python2 or > > python3 on different systems. > > And I saw perl5 scripts from past (about 5.6 or lower), which can't > > run on perl5 from current (5.22 or so at the moment). > The latest Perl stable release is 5.36.0: i know, version 5.22 - time mark, when i meet old script. > Perl has become > faster and more robust over the years, and the syntax checking, > warnings, error messages, and documentation have improved. yes, but how about something like python's pep8/flake8 or any other clean code guide for newbie? Sometimes more than one way will be disadvantage. For short, simple and selfdocumented scripts using perl is a best way, but for something more complicated... Only if can't use something other. Also I will not recommend perl as first language. Only after python and C (or any other low level compiling lang). 'There is more than one way' is good, but not for real newbie. -- Stanislav
Re: Is perl still the No.1 language for sysadmin?
пн, 3 апр. 2023 г. в 09:23, : > I think python3 is much different to python2, but it's still naming as > python. Not so much different as perl5 vs raku. I'm not a programmer, but can write large (more than 10kB) scripth, which can run with python2 or python3 on different systems. And I saw perl5 scripts from past (about 5.6 or lower), which can't run on perl5 from current (5.22 or so at the moment). -- Stanislav
Re: debian 11 vs ubuntu 22
2023-03-29 5:49 GMT+05:00, cor...@free.fr : > Though I have been using debian 11 for long days, I want to give a try > on ubuntu 22.04. > Do you know what's the main difference for these two systems on dev/ops > environment? Ubuntu more quickly upgrades to fresh versions and have longer lts support, in Debian i'm get more expectable results. I tried _minimal_ installation option of ubuntu server 22.04 iso and it not so minimal as in debian — about 6G on disk with unexpected soft in memory. After that — use only debootstrap when installing ubuntu. Two docker servers, debootstrapped same manner works identically. -- Stanislav
Re: debian server with two public IPs
пн, 20 мар. 2023 г. в 12:33, : > I have a networking question that I can't understand for. > I have the Debian 11 host with two ethernet cards. > There is public IP and gateway for each ethernet card. > (they are public IPs from two different net address blocks.) [...] > When clients from outside access eth1 ip (such as HTTP access), they can > reach there. > But, the returned packages from debian server to clients are always > coming from eth0 gw. > I expect the returned package also come from eth1 gw (since clients are > accessing eth1 address). > How can I setup this? Thanks for any hints. > https://lartc.org/ will help you. Exactly https://lartc.org/howto/lartc.rpdb.multiple-links.html In my same setup i was add some 'up ip rule add ...' lines into /etc/network/interfaces -- Stanislav
Re: Passwords
вт, 17 янв. 2023 г. в 11:01, David : > I have forgotten my password to a Debian PC using an SD stick as it's > main drive. > Looking on the internet it says the passwords are stored in /etc/passwd > and /etc/shadow In /etc/shadow only password's hashes, some data, one-way calculated from password string. > The password string in /etc/shadow looks as if it's encoded, how can I > read this string? You can't. But you can set new password, if you boot from live-usb/live-cd, mount your system to dir and run `chroot dir && passwd $user` -- Stanislav
Re: Cheap NAS
2022-10-16 21:58 GMT+05:00, Andrew M.A. Cater : >> > What about just putting some drives in a desktop, and installing some >> > free >> > nas software like >> > https://linuxhint.com/best-nas-software-linux >> >> OpenMediaVault work fine even on Orange Pi 3 LTS with usb drives. > > USB connected drives work fine - until they don't ... I learned that the > hard way 15 years ago [LVM done that way and you'd lose a drive ...]. I know. Mitigate it by installing all to wooden board and don't use LVM on external drives. Orange Pi 3 LTS does not have another interfaces for really big non-network drives, only one usb3.0 (up to 100-110MB/s on my hdd drives, does not test on ssd) and two usb2.0 (up to 30MB/s) > Also, most of the USB connected solutions rapidly become very, very slow > with > throughput - USB is not the best I/O solution for drives. [Very expensive > USB3 drives perhaps - Corsair flash voyager GTX] Yes, but for home use one hdd in usb3.0 is enough. I have no cables to my notebooks, only single wifi point, so 1Gbit of storage connection and 100MB/s of primary hdd does not main speed limiting factor. It was very budget solution and will work until replaced to more reliable but more expensive one. Or not replaced -- it's work and data somtimes duplicates to another place. All is ok, but you miss some info: "even on Orange Pi". Even. It's worst case for OpenMediaVault. On normal PC with intel/amd processor it work better. I does not recommend to do office storage on this board (in office server must be softraid on mdadm or hardware raid and normal backup with checks for restoration), but for home it work and most time work fine (but create backup of microsd). -- Stanislav
Re: Cheap NAS
2022-10-16 19:11 GMT+05:00, Wayne Sallee : > What about just putting some drives in a desktop, and installing some free > nas software like > https://linuxhint.com/best-nas-software-linux OpenMediaVault work fine even on Orange Pi 3 LTS with usb drives. -- Stanislav
Re: Currently on x11vnc, looking for reliable VNC solution?
ср, 7 сент. 2022 г. в 13:41, piorunz : > > anydesk.com > >> [1] https://www.nomachine.com/ > > Thanks for your replies guys. These solutions are overkill to my needs, > I just need reliable LAN access from one machine to another, as for WAN > access I already have ssh tunnel which tunnels all traffic I want if > need be. So, I don't think I need external, commercial, not open source > solution for my simple remote access. I'd rather fix VNC server I have > right now, or switch to different VNC server. Anyone has experience with > VNC, or similar LAN protocols, which work? Thanks in advance. You can try x2go as opensource child of nomachine, if DE in compatibility list (https://wiki.x2go.org/doku.php/doc:de-compat) Work over ssh, can and do screen compression, forward sound (was try only in browser), printers (from local to remote) and partially clipboard (may be not partially, my instance outdated). May use LAN with excellent image quality and edge modem with very low bandwidth with low fps and jpeg aliases on image. I'm use it on remote desktop server, so have no info on connecting to normal session, but theirs wiki contain page https://wiki.x2go.org/doku.php/doc:usage:desktop-sharing Some colleagues use SPICE protocol, but i have no experience with it. -- Stanislav
Re: which X11 app can show wifi info
пт, 10 июн. 2022 г. в 05:12, lou : > i want a small app that show wifi info, including connected network > name (wpa-ssid) You may try gkrellm with gkrellmwireless plugin I don't use it some years, so it may be wrong answer. > hopefully it doesn't depend on qt as i don't use kde ( i use twm for buster) It is DE-independed. -- Stanislav
Re: i386 or AMD64 - Which is currently running?
2022-02-01 17:20 GMT+05:00, Curt : > On 2022-01-31, Stefan Monnier wrote: >>> Technically correct, but Curt's response was good enough for Richard >>> Owlett to make progress. Richard Owlett is very unlikely to be using >>> a 64-bit kernel with 32-bit userspace. >> >> BTW, for the twisted-minded it's probably possible to run a 64bit >> userspace on a 32bit kernel. Me used that some years ago - 4GB ram was accessible only with 64bit kernel and proprietary 32bit software. > Oh nuts. I was going to say I was at least half correct. This will print what you need dpkg --print-architecture -- Stanislav
Re: is it possible to install bullseye by copy whole disk?
2022-01-22 12:36 GMT+05:00, lou : > i've installed bullseye on usb disk > > can i copy it to hard disk (sda2) and make necessary change in > /etc/fstab and > > then update grub of usb disk to boot sda2? yes, i do this: 1) make neccessary partitions and fs and mount them -- man parted, man mkfs, may be man pvcreate, man vgcreate, man lvcreate, man mount) 2) copy files with xattrs, selabels, capabilities to new place (/boot to new boot partition, / to new root partition, etc) -- man cp or man rsync 3) change fstab on new system -- man vi or man nano 4) mount / and after that /boot (if exists) into /mnt and /mnt/boot respectively 5) mount --bind /dev /mnt/dev; mount --bind /sys /mnt/sys; mount --bind /proc /mnt/proc 6) grub-install /dev/disk # /dev/disk is a device with new /boot part 7) umount all from /mnt About 15 years ago similar process was used to deploy several hundreds of new workstations from prepared tar of master image - simply boot from livecd and unpack system to prepared mountpoint. If you ask such questions - get some practice on virtual machine before install on real computer. -- Stanislav
Re: oddjob-mkhomedir question
2021-12-08 17:07 GMT+05:00, charlie derr : > On this relatively new platform, i was able to quite trivially get pam-ldap > functionality (for SSH logins) working. However, after installing the oddjob > package(s), a user who does not yet have a home directory on the server is > still not getting one autocreated upon SSHing in. Years ago in 2009 with users in LDAP (with pam_ldap) i use pam_mkhomedir on debian and some russian rpm-based distro. pam_mkhomedir will be work now as in 2009. I think, most RH-only services must be used only if most of your servers are RH-based and you vendor-locked on RH. If datacenter not RH-based, then i prefer more universal solutions, which work on RH too. > I've looked in log files, bumped sshd_config loglevel up to DEBUG, and > restarted dbus, ssh and the oddjobd services. > Should any of you have any advice about where to look in order to > troubleshoot (there seems to be no evidence that any attempt was even made > to create a homedir upon the user logging in), i'd love to have you share > it. I think, you shoud look to /etc/pam.d Not all configs work as expected, when need some strange (e.g. not localhost desktop or alone server) -- Stanislav
Re: question about different software versions on Debian 10 and 11
2021-12-08 15:51 GMT+05:00, Piper H : > On Debian 10, can I force install the software which is released on Debian > 11? > For example, a given software has default installation version 1.0 for > debian 10, but has version 2.0 for debian 11. > I want to use the version 2.0 on debian 10, how will I do it? 1) you may try backports, may be your software already backported and available on debian 10. If software backported - quick and easy way. 2) you may backport software by self (get sources, sometimes fix debian/* in sources dir, build package) -- my preffered way to take new software before debian testing not frozen. 3) you may set repos from debian 11 and install software AND dependencies - your debian will be partially upgraded and some another soft may be broken. Don't recommend this way, system may be broken and need reinstall in worst case. 4) you may upgrade to debian 11. If you does not see your software in backports and can't build package - use this way. -- Stanislav
Re: question about a .deb file
2021-12-08 13:21 GMT+05:00, Piper H : > I downloaded the JDBC drive from mysql website: > https://dev.mysql.com/downloads/connector/j/ > > And got a file name: > (mysql-connector-java_8.0.27-1debian10_all.deb) > Then I run: > sudo dpkg -i mysql-connector-java_8.0.27-1debian10_all.deb > > And what's the next step? > I expect to get a *.jar file which will be used as the Mysql JDBC drive. > Until now I don't know where to get this jar file from the .deb file above. You can see content of installed package by command: dpkg -L mysql-connector-java And i recommend you do not install packages by hand before searching in repo. May be this package for you: https://packages.debian.org/buster/libmariadb-java -- Stanislav
Re: OT: SSL Negotiation Failed
2021-12-05 18:18 GMT+05:00, rhkra...@gmail.com : > For the last couple of days, when I try to open a link (to a web page) from > an > email in my older version of kmail I get a message that says: > > Could not connect to host . SSL negotiation failed. > > If I paste the same link directly in the address bar of Firefox, the link > works fine. > > The kmail I use is an older version Wheezy (1.13.7 in kde 4.8.4) (and yes, I openssl in wheezy very outdated and was outdated even when wheezy was been ELTS - when i work on hosting provider, i need to add some ciphers to nginx config for talking with wheezy client in 2017. Now wheezy abandoned and nobody will be port new ciphers to very outdated openssl version. If you want quick and working result, recommend you upgrade to something new version with clean install - direct update to actual version does not possible, step-by-step to current stable release with 4 steps may take you "frankendebian" result or you will need to cleanup system from old packages after every step. If you want experience with updating very outdated system to simply outdated system - use archive.debian.org for 1st upgrade step. -- Stanislav
Re: set the number of inodes during FS creation via pressed
2021-11-13 5:31 GMT+05:00, phoebus phoebus : > Do you know if it possible to set the number of inodes to create in the > filesystem during the installalation with the pressed file? You may try create fs in another console and use in without formatting. -- Stanislav
Re: dead lock
2021-10-14 17:54 GMT+05:00, Pierre Frenkiel : > hi > After a Debian install on my amd64 laptop, I'm faced to what looks like > a beautiful dead lock: > I wanted to set a root account, but that was refused because I'm not > in /etc/sudoers, and to put me in this file, I need root privilege! > I suppose that there is a solution, but I couldn't find it. > Any idea? My standard actions in such situations (unknown root password + no sudo rights): A) boot from livecd, mount root partition into /mnt, chroot /mnt, passwd, umount /mnt, reboot from hdd. or B) at boot add line to kernel parameters: init=/bin/sh after boot at prompt: mount / -o remount,rw passwd # change root password sync; sync mount / -o remount,ro and reboot (may be via reset button or power switch) -- Stanislav
Re: why smart phone can't show song's Title and Artist?
2021-10-06 12:06 GMT+05:00, lou : > i use stretch to create mp3 song, use gmp3info to add info on Title and > Artist As i can see at https://packages.debian.org/stretch/mp3info-gtk mp3info create id3 v1 tags, but utf8 in tags appears in v2.4 > these info are in Chinese and i guess it use utf encoding > > then i copy song to smart phone, but phone can't show song's Title and > Artist Try exfalso as tags editor. -- Stanislav
Re: How i can resolve the problem of packages?
2021-10-03 7:28 GMT+05:00, William Torrez Corea : > I try update and upgrade the package with the tool APT but get the > following error: [...] > ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Read-only > file system Either remount filesystems to rw, if you mount it in ro before run apt, or reboot and repair filesystem. Also this may be hardware problem with disks. And please next time send diagnostic in english: LANG=C apt update -- Stanislav
Re: foolish problem with installer: can't load firmware
2021-09-20 14:04 GMT+05:00, lou : > installer using hard disk method can read firmware in ext3 partition May you take installer with integrated firmware? https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/ -- Stanislav
Re: help new install debian via WiFi
2021-09-13 17:28 GMT+05:00, 황병희 : > How can i connect WiFi zone (not DHCP) at new install (Debian 11)? Try https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/ It's help me on Lenovo netbook and many HP servers. -- Stanislav