Questions tagged [administration]
The administration tag has no usage guidance.
226
questions
0
votes
1
answer
42
views
Persistent atop across reboots
atop shows total CPU time since the last reboot. How can I have it persist across reboots?
-1
votes
0
answers
9
views
Stack Web scraping from AI [migrated]
What do you think about the possibility of an AI doing web scraping of the contents of Stack Overflow, of Unix stackexchange for example and after understanding the questions applying the best answers?...
0
votes
0
answers
9
views
enumerating user scopes/slices
I need to enumerate programaticaly all user scopes under a systemd instance.
currently i'm doing systemctl --state running list-units user@*
which gives me units such as [email protected]
Then i use ...
0
votes
0
answers
47
views
Creating password protected folders inside password protected samba share
I have already created a password protected samba share which is working fine, but my organizations requirement is as follows:
Separate password protected directories for each department
Inside every ...
1
vote
0
answers
50
views
selinux user_u staff_u .bash_profile permission denied on ssh login
A security rule states
RHEL must prevent non-privileged users from executing privileged functions, including disabling, circumventing, or altering implemented security safeguards/countermeasures.
All ...
0
votes
0
answers
21
views
Cannot add-wants a service to a device even though the device is listed and status is queryable
The LPD8 is a music physical hardware. When plugged, I would like it to start the Fluidsynth synthesizer. On Debian, there is a fluidsynth.service that runs an --user instance of the synth.
Systemd is ...
0
votes
1
answer
20
views
Disable printing on ChromeOS
I have a couple of netbooks running ChromeOS for which I'd like to disable printing entirely. Preferably just for specific accounts (my kids), but if necessary, for the entire device.
I haven't found ...
0
votes
0
answers
88
views
best way to create a non sudo "guest" user with access only to specific applications/services/libraries in ubuntu 18.04
I installed Ubuntu 18.04 with two user accounts:
admin (member of sudo group, initial installed user)
guest (not member of sudo group), it's home directory mounted on a separate partition.
I wish to ...
1
vote
1
answer
303
views
How can I extend a partition on a Linux disk without risking data loss or damage to other partitions?
I have a Linux (Virtual) Machine that is running into a storage problem. There is a disk called vda that is split into three partitions, vda1, vda2, and vda3. Originally, vda only had a storage ...
2
votes
3
answers
4k
views
Copy ssh keys to a new computer
I'm changing between computers.
On an old one I have SSH keys (to remote servers, AWS, etc...)
Is it considered to be a good practice just to copy the .ssh folder to a new computer ?
If not, what is a ...
0
votes
2
answers
198
views
How do I set a password request to connect USB devices?
I need to make it so that when I connect any device to USB, be it a drive, smartphone, printer, etc. The system will ask for a password to authorise this connection, and the device will only connect ...
0
votes
0
answers
13
views
Is there a way to auto seutp ssh dynamic port forwarding base on availability of servers?
if there are two server ( or list of server ) which are able to be connected via SSH, but they are not stable in terms of high latency or not even up or slow to to connected to .
I have to mannualy ...
0
votes
1
answer
92
views
Conventions for the PATH variable's value
I am looking for best practices, or at least conventions, for the PATH variable's value.
In particular, I would like to know
is there any preferred/recommended ordering for the /bin, /usr/bin, and /...
0
votes
2
answers
969
views
How to extend /dev/sda5
How to extend the specified partition in ubuntu 22 dev/sda5
It will help a lot in my case if someone help
Thanks
1
vote
0
answers
220
views
How can I quickly perform a whole-drive dd backup over ssh?
I am trying to periodically back up a machine I am hosting remotely with dd. This is the method that I have found works in the past for machines with small drives. But my new machine has a 75 GiB luks-...
0
votes
0
answers
30
views
How to allow every admin access except viewing and editing a single directory?
We have some servers running our web application as well as nginx, redis and a few other services. I want to grant access to these servers to a system administrator to manage these systems, but I want ...
0
votes
2
answers
615
views
useradd prompt user to change password at first login
what option should I add to my useradd command such that when the user logs in for the first time he's prompted to change the password or something?
I was thinking about this, but not sure if it's the ...
1
vote
2
answers
1k
views
Applications of fakeroot and chroot
Why are there two utilities chroot and fakeroot when both can fake a privileged access to the user?
2
votes
1
answer
305
views
How LVM2 works on low level?
For example i have two disks with sizes 2 and 4 gb. On each of them i create physical volume of the size of the disk and the combine those physical volumes into volume group and create one logical ...
1
vote
3
answers
133
views
Is it possible to prevent all users (including super user) from deleting a specific application? [closed]
Is it possible to turn an application into a kind of a system one (like "Settings" or "GNOME software") so that no user including the super user could delete it?
3
votes
1
answer
9k
views
How to enable 'reboot' and 'shutdown' on a fresh debian install
I just installed a new Debian System from the Testing-Repository:
Operating System: Debian GNU/Linux bookworm/sid
Kernel: Linux 5.15.0-2-amd64
Architecture: x86-64
for some reason ...
2
votes
3
answers
2k
views
What Users should be expected in /etc/group adm: group [closed]
After an upgrade on my server system I saw that the system added a user with name "Debian" to a lot of groups. I checked that it has no password set in /etc/shadow, so I think it's benign.
...
0
votes
1
answer
63
views
When I boot in centOS 8 I get some sign on my screen
After I boot in my centOS 8 I get icon on display. And nothing is changed when I reboot my system.
When I click on this "icon" - left click give nothing, right clik give me option to change ...
0
votes
1
answer
204
views
I need some service that trigger actions once after any file is created, modified, deleted, copied or moved
The problem is that I'm not being able to keep track of all my files and I'm also tired of not telling which ones are important and which ones are a temporary file that some random programmer decided ...
3
votes
2
answers
307
views
Avoiding typing long password repeatedly
I have a remote linux box that I login to with ssh and chrome remote desktop. It is not super critical, mostly used for my hobby projects.
I have a pretty long password created using diceware. But it'...
0
votes
0
answers
83
views
Mount my windows disk partition on a Linux system
The question is whether and how to mount a Win10 partition over the network, so I can access that partition from my Linux machine.
My company uses Linux Redhat 7. The company admin allocated me a ...
0
votes
1
answer
2k
views
How to monitor activity of all WireGuard clients connected to a server?
I've setup a WireGuard server on a Linux server. Is it possible to monitor stuff like bandwidth, DNS requests, websites visited, etc of all wg clients connected to this server?
0
votes
1
answer
264
views
Why is changing password on user account is taking time?
I have created a few accounts on my Linux Mint installation. A few of them have admin privileges. About 30 min ago I changed the password on one of the admin accounts using the Users Settings GUI. But ...
0
votes
0
answers
20
views
How to find information about similar disks and find which is newer, last written, etc?
I have three branched copies of the same disk and I need to know when they have been used, mounted written, last file created, in order to identify and differentiate them.
I know this setup is so ...
0
votes
0
answers
177
views
How to disable user accounts from being able to login to other's users accounts from the same machine
I have an admin user account, in which I am able to login normally and also by ssh having enabled 2 step verification.
I want to create a new user account, say it dummy account, from which I will ...
0
votes
1
answer
67
views
What is the worst thing a usermode (ring3) virus could do to home linux installation?
I am interested to know whether is it a reasonable decision to try and restrict my own user account as much as possible to the point where I would need to use my own password much more frequently (now ...
0
votes
0
answers
224
views
virt-manager GUI is not opening on target machine
I am able to connect virt-manager to a standalone production server from my laptop. When I ssh using virt-manager it's not showing the production server, just the other two VMs I have on the ...
0
votes
1
answer
226
views
Not changing permissions as root on git pull
I've been managing a not very big system for a few months now and there are still a couple of issues that I don't like how they're being dealt with right now.
Currently, there is practically just one ...
1
vote
2
answers
1k
views
Prompt string not set properly in Bash for new user
I'm using Kali Linux for one of my classes, and part of our first assignment is to create a custom user account using our names instead of the default kali login, however when I do this it messes with ...
10
votes
2
answers
4k
views
Why does the dpkg folder contain very old files from 2006?
I know what Debian package management says:
Do not erase or alter files in /var/lib/dpkg/.
However, there are 11,501 files in that folder dating from 2006:
$ ls -l /var/lib/dpkg/info | wc -l
11502
...
1
vote
1
answer
832
views
limits.conf not working for SSH connections on Fedora 33
I am trying to set a limit on a group called rlimited. I have the following in my /etc/security/limits.conf
@rlimited hard cpu 5
The same file exists in the /etc/security/limits.d/ folder.
I've also ...
5
votes
2
answers
5k
views
How can I list all currently logged-in users?
I have a system I'm managing (running RHEL 8) that has multiple users in our small office, who log into it in various ways -- locally at the console, remotely via SSH and NoMachine Workstation. When I ...
0
votes
1
answer
39
views
Creating new user by creating new folder
I would like to ask a doubt regarding the creation of new user in Ubuntu. Normally we use "Users and Group" GUI application, terminal, etc for creating new users. But I would like to know, ...
1
vote
0
answers
1k
views
How to open a text file as administrator in Pop OS 20.04?
I have just installed Pop OS 20.04. Previously I used Ubuntu 18. I need to open a text file in root directory as administrator. In Ubuntu I could do it by installing nautilus-admin, then after right ...
4
votes
0
answers
214
views
Missing space on root partition
I know, there are dozens of similar questions everywhere. I have looked at many of them, and checked what their answers suggested, to no avail.
My root partition (btrfs) is almost full according to df:...
0
votes
1
answer
4k
views
Give a user admin right to run yum on centos 8
I give a user admin access with: usermod -a -G wheel userX
but when I log in with userX, I am not able to run yum. What do I need to do?
Thanks
21
votes
1
answer
64k
views
usermod: group 'sudo' does not exist in CentOS
I want to grant a user sudo access.
I suppose mainly I want to grant privileges to install software, and am not quite sure how to this in CentOS:
https://linuxize.com/post/how-to-add-user-to-sudoers-...
0
votes
0
answers
418
views
How to speed up the usb drives?
Lately I'm using usb 2.0 drives to move things around,in order to free a bit of local traffic, but unfortunately it takes so much time to write things.
A first approach is to use a no sync feature ...
0
votes
0
answers
1k
views
“who/w” command fails to list active user logged in from SSH client session
I (logged in as "user1", has root access) was following this to experiment with kicking a client ssh session logged in as "user2" (has no root access), connected from the same network from a laptop. ...
3
votes
3
answers
20k
views
Is there a GUI to edit/add users and groups
Is there a graphical tool that shows (edits) all users and groups on the system, so that one can avoid editing /etc/passwd and /etc/group directly?
GNOME Settings (gnome-control-center) Users view ...
2
votes
2
answers
167
views
How much safe is to allow a stranger Wordpress admin access to a CentOS node?
I am creating a website with Wordpress 5.2 on a CentOS Linux 7.7.1908 node. PHP version is 7.x.
I have asked assistance to the creator of the theme that I am using. The creator asks me admin access ...
0
votes
1
answer
1k
views
How to switch to another user on the terminal in SLES 12?
I created a user (useradd -d /home/newuser -c "My new user" -s /bin/true newuser), set a password (su newuser), and want to work under this username. But I cannot switch to this user. No error ...
1
vote
0
answers
530
views
DMI table unreliable?
From the dmidecode man page :
the presented information [is] possibly unreliable.
They also add:
More often than not, information contained in the DMI tables is inaccurate, incomplete or ...
1
vote
0
answers
360
views
Debian 'bullseye' - no Terminal without GUI on Function Keys F1-F12
I had some serious problems with a Gnome upgrade from 3.32.0 to 3.34.0. I missed out the upgrades done with apt full-upgrade and my gnome-shell did not start anymore.
However I wanted to fix this ...
2
votes
1
answer
1k
views
How to limit access to websites for one user?
I need to limit all websites for certain user (not a root) but one website should be available for example www.allow-website.com and all subdomains too www.allow-website.com/*.
This lock should work ...