Questions tagged [administration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 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 ...
3
votes
0answers
46 views

Missing space on root partition

I know, there are dozens of similar questions everywhere. I have looked at them all, and checked what their answers suggested, to no avail. My root partition (btrfs) is almost full according to df: &...
0
votes
1answer
45 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
0
votes
1answer
194 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
0answers
21 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
0answers
22 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. ...
0
votes
2answers
791 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
2answers
106 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
1answer
34 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 ...
0
votes
0answers
26 views

aaPanel - Unable to exclude a directory / file from getting backed up using Cron Jab

I am using aaPanel 6.5.2 on Linux 18.04 LTS. aaPanel is a free alternative to cPanel. aaPanel provides the facility to create Cron Jobs for taking backups out of the box. It's very easy. I have set ...
0
votes
0answers
64 views

ds-389 won't import 10rfc2307bis.ldif

I've installed the ds-389 LDAP server on CentOS7 (package 389-ds-base). I tried extending the schema by adding the file 10rfc2307bis.ldif to the /etc/dirsrv/slapd-auth/schema folder. After the file ...
1
vote
0answers
81 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
0answers
82 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
1answer
322 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
1answer
191 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
1answer
343 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
0answers
30 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
1answer
76 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
1answer
41 views

tmux two seperate 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
1answer
27 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
2answers
1k 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
1answer
5k 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
1answer
40 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
1answer
59 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
1answer
234 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
3answers
283 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, ...
5
votes
4answers
2k 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
1answer
398 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
1answer
331 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 ...
1
vote
2answers
246 views

Where to put computerdescription in linux/unix (like in windows “computer properties”)?

Question: Is there a place in linux (e.g. debian/ubuntu) to put the computer description? Meaning: are there directives or best practices (I didn't see it in the FHS)? (Maybe a file /etc/hostinfo?) ...
4
votes
1answer
2k views

Is it possible to run a bash command from Windows via a samba connection?

Now, before you finish thinking "Dear God! why would you want to allow that?!?", I'm wondering if it's possible. What I'm trying to solve, could be solved in other ways, but this puts it in the ...
2
votes
3answers
14k views

Write access to NTFS drives

Never had this problem before. The drives will not give me write access Drives are ntfs. Fstab was set on default, now tried rw option and nothing. Using Manjaro. How can I get write access to drives?...
0
votes
1answer
2k views

df not update result after lsof search and reboot

I m having a problem with df command, my / fs look like this: Size Used Avail Use% Mounted on /dev/mapper/rootvg-lv_root 945M 811M 69M 93% / ...
3
votes
3answers
2k views

How to see what a user is doing in their ssh session

I logged into a server as root and did w, this let me see that a user was editing a file. someuser pts/5 10.117.0.53 14:03 3:25 1.20s 1.14s vi somefile.py Then I disconnected, and ...
1
vote
0answers
3k views

User denied permission to read his own home directory

Note: Username modified for public post. I have a linux server on which I have root privileges. There is a user account "privuser" which can only be SSHed into using SSH keys. But, due to some user ...
0
votes
1answer
77 views

postfix configuration

I started to use postfix, and configured the /etc/postfix/main.cf file. After that I runed postfix with postfix start command, but got an error parameter mail_owner: unknown user name value. Please ...
10
votes
3answers
5k views

How to disable systemd agressive emergency shell behaviour?

By default systemd drops to an emergency shell at the slightest error. For example, if one of the mounts at fstab fails for some reason the system becomes unbootable immediately. I manage dozens of ...
0
votes
1answer
159 views

Run basic administrative commands on GoDaddy

I've logged into my GoDaddy server through PuTTY, I'm connected as ted67942 which is not the root user. I'm trying to run basic commands like sudo, dpkg, su, etc. but they all return the "command not ...
4
votes
2answers
999 views

What is the Debian counterpart of the admin group, and what group on Debian makes files accessible to only the owner and the administrators?

Debian vs Mac OS X regarding the admin group On Mac OS X, in order to make a file accessible to only the owner and the administrators, I set the group of the file to admin, and set the permission ...
0
votes
0answers
40 views

Commands queueing across different users

I want to be able to queue commands across different users on one machine so calculation resources would be used in order and not simultaniously is there an util for that? I found tsp but I think it ...
2
votes
0answers
256 views

StickyBits NFSv4 ACL to stop user movement of folders

Backstory: Client has a mixed environment of POSIX and NFSv4. The POSIX blows away the underlying NFSv4 ACL every-time they touch it or do anything with it. They say that users are able to take a ...
0
votes
1answer
52 views

How to assign dirfferent allocation ratios to different swap files in linux?

I need two swap files, one on my ssd drive (the ssd-swap file), and the other one my hdd drive (the hdd-swap file). Since the read/write speed on my ssd is about 4 times as fast as my hdd, I need the ...
1
vote
1answer
2k views

Use Yast with a administrator account instead of the root account

I am looking to disable my root account for security purposes only in witch I use sudo for anything I use on my system that I need the root account for. Witch works fine for if I need to do anything ...
0
votes
1answer
148 views

hp-ux admin tool lsof fuser for B.11.31

centrpt:oracle> uname -r B.11.31 We need lsof and fuser as there are unclosed file handler so we cannot reclaim disk space after reboot. Where we can get the tool for this dated version of HP-UX ??...
1
vote
1answer
1k views

Count the number of file descriptors opened by a process with lsof

I need to check the number of file descriptors which are open by a Java process. The output of lsof is almost 40000 lines long. Here's just the beginning: COMMAND PID USER FD TYPE ...
1
vote
1answer
2k views

How do I check the uptime of the system with a certain number [duplicate]

I know how to check uptime of a system with the top or uptime commands. But what if I need to do this for a system with a specific id?
1
vote
1answer
107 views

What Linux distro is the following one? [duplicate]

I have to find out which Linux distribution is running on a server. From uname -a I have the following output: $ uname -a Linux lvmfacelifttap2b 3.10.0-514.6.1.el7.x86_64 #1 SMP SUn Dec 11 12:25:18 ...
8
votes
4answers
23k views

Getting hard disk drive serial number at the terminal - not the WWN [duplicate]

WWN = world wide name Seagate Constellation ES, model ST3500514NS, a 500 GB 3.5" SATA drive It has "serial number", 9WJxxxxx which is eight characters. It has WWN 5000C5002E47xxxx which ...
0
votes
1answer
51 views

How to prevent temporary files from being removed?

I have Ubuntu 14.4 on my machine, and also have downloaded Android-SDK on it. When I install some package in Android-SDK, it does three things: it downloads the package into a temp folder, when ...
0
votes
1answer
76 views

Statistics on IT incidents in Unix and/or Linux environments [closed]

I am interesting in what are the possible most common incidents admins face in day to day Unix/Linux environments (i.e. service down, file system full, cpu spike, memory full) administration. Are ...