Skip to content

Magenaut

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

users

How to grant non-root user access to device files

August 9, 2022 by Magenaut

I have device file that appears in /dev when a specific board is plugged in. The read and write operations to it work just fine, but in order to open the device file the program needs to be executed with root priveledges. Is there any way I can all a non-root user to open this one specific device file without having to use sudo?

Categories Q&A, Unix & Linux Tags devices, linux, permissions, users Leave a comment

How can I create automatically expiring user accounts?

August 9, 2022 by Magenaut

This is what I’d like to be able to do:

Categories Q&A, Unix & Linux Tags account-restrictions, accounts, guest-account, users Leave a comment

How can I determine if someone’s SSH key contains an empty passphrase?

August 9, 2022 by Magenaut

Some of my Linux & FreeBSD systems have dozens of users. Staff will use these “ssh gateway” nodes to SSH into other internal servers.

Categories Q&A, Unix & Linux Tags security, ssh, users Leave a comment

Why are there many accounts? I’m the only user

August 9, 2022 by Magenaut

I am running an Ubuntu 12.04 desktop system. So far I have only installed some programs (I have sudo rights).

Categories Q&A, Unix & Linux Tags accounts, process, software-installation, users Leave a comment

What is the regex to validate Linux users?

August 9, 2022 by Magenaut

When adding a new user, how is the string validated?

Categories Q&A, Unix & Linux Tags linux, regular-expression, users Leave a comment

What steps to add a user to a system without using useradd/adduser?

August 9, 2022 by Magenaut

I was browsing through some Linux questions and saw this interesting question.

Categories Q&A, Unix & Linux Tags useradd, users Leave a comment

How can you assign one IP per user?

August 8, 2022 by Magenaut

I’m building a headless Steam gameserver which utilises Steam in-home streaming to let two people play at the same time. The multiseat part of the setup is done and functional, but getting it to work wireless is quite troublesome.

Categories Q&A, Unix & Linux Tags ip, linux, networking, users Leave a comment

How to return the currently active user/session on a graphical Linux desktop session?

August 8, 2022 by Magenaut

My question is how to get the user name on the shell, who is currently using the Linux desktop (on a “normal” desktop system, where you usually only have one active user, i.e. no server system here, but just your usual Laptop etc.). If you really want to imagine a server system, I would be … Read more

Categories Q&A, Unix & Linux Tags shell, shell-script, users Leave a comment

How do I enable auto-login in Mint 18?

August 8, 2022 by Magenaut

Mint 18.2 64b Cinnamon 3.4.3 This is running in a VM on my machine so I’m not worried about login security. I’ve been looking around on the Mint forums and only found a lot of threads about troubleshooting problems with autologin. The setting is not in the Login Window settings screen. The setting is not … Read more

Categories Q&A, Unix & Linux Tags linux-mint, login, users Leave a comment

What are the side effects of having several UNIX users share one UID?

August 8, 2022 by Magenaut

The sys-apps/shadow package on my GNU / Linux system comes with a useradd command that supports an option that I have previously overlooked: --non-unique. For the sake of convenience when shellig home from the university, I have created an alias for my original username (casual name at home) thusly:

Categories Q&A, Unix & Linux Tags alias, login, users Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 … Page14 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