Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

linux

How do I force a user to change a password at the first time login using ssh?

August 9, 2022 by Magenaut

I’m trying to force a newly created user to change a password at the first time login using ssh. For security reasons I want to give him a secure password until he logs in for the first time. I did the following so far:

Categories Q&A, Unix & Linux Tags bash, linux, login, pam, ssh Leave a comment

Dual boot windows on second harddrive, UEFI/GPT system

August 9, 2022 by Magenaut

I’d like to install linux, but I don’t want to risk damaging my current windows installation as I have heard a lot of horror stories. Fortunately, I have an extra hard drive. Can I install linux onto that and then dual boot windows without having to modify the windows drive?

Categories Q&A, Unix & Linux Tags dual-boot, gpt, linux, uefi, windows Leave a comment

How do SO (shared object) numbers work?

August 9, 2022 by Magenaut

I’m aware that shared objects under Linux use “so numbers”, namely that different versions of a shared object are given different extensions, for example:

Categories Q&A, Unix & Linux Tags dynamic-linking, linux Leave a comment

What is “mail”, and how is it navigated?

August 9, 2022 by Magenaut

The program is located in /usr/bin/mail. Upon execution, Version 8.1.2 01/15/2001 is shown.

Categories Q&A, Unix & Linux Tags linux, mail-command Leave a comment

System hanging when it runs out of memory

August 9, 2022 by Magenaut

I’ve got an eeePC 900a: it has a 8GB flash as disk and only 1GB of RAM. The Linux distribution installed on it is ArchLinux.

Categories Q&A, Unix & Linux Tags freeze, linux, memory Leave a comment

What are the standard error codes in Linux?

August 9, 2022 by Magenaut

When I write Bash code, for example to copy files, if a file doesn’t exist, in the terminal I see an error similar to file not found. If the user running the script doesn’t have the necessary permissions, the error is similar to permission denied.

Categories Q&A, Unix & Linux Tags command-line, error-handling, linux Leave a comment

How do i make this script print out multiple boxes?

August 9, 2022 by Magenaut

I have this script that prints out a box frame with Asterisk signs, and I need to make it so that the script prints out multiple boxes under each other. How can I do it?

Categories Q&A, Unix & Linux Tags bash, linux, scripting Leave a comment

Diagram of Linux kernel vs. performance tools?

August 9, 2022 by Magenaut

Is there a diagram that shows how the various performance tools such as ip, netstat, perf, top, ps, etc. interact with the various subsystems within the Linux kernel?

Categories Q&A, Unix & Linux Tags linux, performance Leave a comment

What is the difference between ./script and . ./script?

August 9, 2022 by Magenaut

Possible Duplicate:
Using ‘.’ to execute files in bash

Categories Q&A, Unix & Linux Tags bashrc, environment-variables, linux, scripting Leave a comment

Real-time file synchronization

August 9, 2022 by Magenaut

Is there any tool available to sync files between two or more linux servers immediately after writing the file in the disk? The rsync command does not suit me on this, because if I set rsync in cron, the minimum time I can set is 1 minute, but I need it on real-time basis.

Categories Q&A, Unix & Linux Tags files, linux, synchronization Leave a comment
Older posts
Newer posts
← Previous Page1 … Page29 Page30 Page31 … Page63 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress