Questions tagged [administration]
The administration tag has no usage guidance.
211
questions
0
votes
0
answers
19
views
Can I install a workstation's clone onto another kind of workstation? HP->Dell? Z4G4->Z6G4?
When installing a cloned image of a system drive (CentOS 7) to a new workstation, what restrictions are there on the new workstation? Can I take a clone made from an HP Z4G4 workstation's system drive ...
2
votes
1
answer
194
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 ...
0
votes
0
answers
38
views
Create a new user in linux that does not have access to old user's applications
I am using Manjaro, I have a admin account with virt-manager installed to it. But I want to make some modifications to virt-manager package and build it again. I want to do this in a new account, ...
1
vote
3
answers
53
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?
1
vote
1
answer
153
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
566
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
38
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
35
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
65
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
28
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
238
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
50
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
18
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
31
views
As admin, can I log all keystrokes for one specific non-root user?
I'm a sudoer. I'd like to set something up that whenever (non-sudoer) user student1 is logged in, all keystrokes are logged so that I can later (sudo) review them; student1 should not be able to kill ...
0
votes
0
answers
37
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
45
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
31
views
Virt-Manger GUI Not Opening on Target Machine
I am able to connect virt-manager to a stand alone production server from laptop. When I ssh using virt-manager is not showing thy production server just the other two VMs I have on the production ...
0
votes
1
answer
102
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 ...
0
votes
1
answer
484
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
363
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
3k
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
32
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
677
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
138
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
2k
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
11
votes
1
answer
31k
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
150
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
54
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
11k
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
156
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
424
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
330
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
213
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
828
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 ...
1
vote
1
answer
591
views
How to equalize byobu vertical split screen size
Note: I may be leaning on an XY Problem; feel free to steer me to a more ideal approach.
I want to keep an eye on multiple remote log files in a small-yet-legible font,
not so much analyzing ...
1
vote
1
answer
1k
views
How do you cleanup after deleting an LDAP user on RHEL 7?
We have a small network using 389 Directory Server for LDAP. We make LDAP users, those users log on to various machines in the network, and then sometimes we delete those users. However, after ...
0
votes
0
answers
31
views
Getting a rolling release just right and then freezing it: a good idea?
I really like how rolling releases offer the latest versions of everything, because sometimes that is important. However, once I have things working well, I am not that anxious to keep updating to the ...
1
vote
1
answer
107
views
Why does the solaris-8 "scadm shownetwork" command show a different IP address that the one that is actually configured?
When I run the scadm command, the IP Address is different than the one I have configured on my server:
55 /usr/platform/SUNW,Sun-Fire-V210/sbin> uname -a
SunOS UI1 5.8 Generic_108528-29 sun4u ...
0
votes
1
answer
214
views
tmux two separate panes with some process
I am working with another developer on the same dedicated server. Currently we have one tmux session with one tmux window and multiple panes on that window. This allows us to have a nice workspace ...
1
vote
1
answer
33
views
A single unified account for all users on a single machine, while preserving separate credentials
So this is more of a reverse-engineering question.
We have this machine at work, where anyone can login using ssh. ssh johndoe@gateway01. However! Once logged in, the user the person is logged in as ...
0
votes
2
answers
3k
views
Unable to mount LV: "mount(2) system call failed: Structure needs cleaning," but e2fsck says clean
I was trying to install an old optical drive into my system, which turned out to be having problems, so I pulled it out again, but upon rebooting back into Ubuntu 18.04, I'm unable to mount my 3-drive ...
1
vote
1
answer
13k
views
Add "domain admins" group in sudo users [duplicate]
I want to give access domain admins group to sudoers access.
I have come across with many commands but nun of works for me.
fname.lname ALL=(ALL) ALL
With this command i can give access to a ...
0
votes
1
answer
55
views
How to find if partition is soft partition or not - Solaris 10
How to find if partition is soft partition or not in solaris 10?
3
votes
1
answer
66
views
Which programs configure the network based on the settings in /etc/network/interfaces?
I have installed Stretch and I find that NetworkManager gets in my way more often than not, and I would rather familiarize myself with network interface administration at a lower level based on the ...
0
votes
1
answer
323
views
useradd with no options
When I create a user with useradd (no option) I can later add his passwd by using passwd new_user.
How can I create his correct home directory (with Desktop and Templates inside) and all other ...
3
votes
3
answers
561
views
Are there any practical reasons for setting a maxlogins limit for users in limits.conf? What are the benefits?
Why should I set a maxlogins limit in /etc/security/limits.conf? In other words, are there any performance-related and security-related benefits to be gained?
I have only three users on my machine, ...
7
votes
4
answers
4k
views
Is it common to install zsh on production servers? [closed]
Question may be not clear and too broad, but any answer, however short or broad it may be, is very appreciated.
Some time ago I've asked to install zsh on our production server. My admins companies ...
0
votes
1
answer
917
views
How to reset router through command line browser? [closed]
I need to reset router and I just get access with ssh to raspberry in local network with router. I'm trying with elinks and w3m browser but I can't see any option, maybe because the router's control ...
0
votes
1
answer
713
views
How to make adduser add home sub directories without GUI login? Make user set password on first login?
I have a client that needs to connect to one of my machines through ssh (Debian stretch). When i create his account with the adduser command, he recieves a home directory but there are no ...