Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [administration]

The tag has no usage guidance.

0
votes
1answer
27 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 ...
0
votes
0answers
29 views

What is admin://<filepath>?

recently I've used the next command xed admin://<filepath> and not sudo xed <filepath>. I've tried to find some infos about the first command but I've do not found anything. I presume ...
1
vote
1answer
23 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
179 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
252 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
25 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
47 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
178 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 ...
2
votes
3answers
86 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, ...
4
votes
4answers
390 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
60 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
133 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
133 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?) ...
3
votes
1answer
646 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 ...
1
vote
3answers
3k 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
1k 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% / ...
4
votes
3answers
519 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
838 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
41 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 ...
9
votes
2answers
2k 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
100 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
661 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
22 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
149 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
39 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
837 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
96 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
932 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
1k 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
82 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 ...
-1
votes
1answer
121 views

Change MAC address immediately after system activation

I have few computers each with same ethernet MAC address. I want to change ethernet MAC address on each computer as soon as network card is detected so I do not have any conflicts in the network. My ...
4
votes
4answers
15k 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 is a 16 ...
0
votes
1answer
47 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
60 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 ...
2
votes
3answers
230 views

Creating recovarable disk image [closed]

Laptop I want to buy comes with preinstalled windows 10. I want to install linux on this laptop but I want to have option to recover windows (reset to factory settings). Because of that I want to make ...
1
vote
1answer
73 views

Assigning Privileges to System Accounts

I'm trying to move away from running cron-scheduled jobs with root, so the thought process is to create a system account with no login (/dev/null home, /sbin/nologin shell) to run each cron job we ...
3
votes
1answer
132 views

How do I give a user shell access that requires a key

This might be a stupid question, but what process should be taken to add a user to a system and provide them access when the system requires the use of a ssh keys? For example on a system that doesn'...
3
votes
1answer
3k views

how to install alpine on CentOS with Yum?

How do I update/refresh or add repos to Yum to install the alpine mail client? thufir@arrakis:~ $ thufir@arrakis:~ $ ll /etc/yum.repos.d/ total 20 -rw-r--r-- 1 root root 2139 Sep 28 2013 CentOS-...
1
vote
1answer
845 views

Grant group A's members 'sudo su' access to group B's user accounts

Assume I have a collection of unprivileged users (user01, user02, user03, ...) who are members of a Linux security group called 'x_users': $ groups user01 user01 : user01 x_users Further, assume I ...
-2
votes
1answer
352 views

Windows anti-virus and anti-malware available on Linux? [closed]

In relation to scanning a Windows partition for malware I see that both AVG and Avast install on Linux painlessly. Is there a full list of free-as-in-beer Windows anti-virus, or general anti-malware ...
73
votes
3answers
12k views

Server admin sent me a private key to use. Why?

I'm supposed to be accessing a server in order to link a company's staging and live servers into our deployment loop. An admin over on their side set up the two instances and then created a user on ...
3
votes
1answer
62 views

Disable accounts and print info message on attempted login

Other people log into my Raspberry Pi via SSH. It runs Ubuntu Mate 16.04 with OpenSSH. I want to disable some of the accounts but not delete them. Now, I could just delete the passwords (which ...
1
vote
1answer
311 views

Where is the rpath utility, or how do I install it?

I installed an updated OpenSSL on Solaris 11.3 running on Intel hardware. OpenSSL needs its path adjusted because the gear was installed in /usr/local. According to Changing ELF Runpaths on the ...
1
vote
1answer
245 views

Which package do I need for libtool on Solaris?

We are a free and open source project, and we are part of Oracle's developer program. We have access to the online developer packages. Solaris 11/64-bit Intel does not include libtool in its GNU gear: ...
0
votes
1answer
71 views

Centos 7 --> Track if users attempt to access a folder/directory they do not have access too?

If Bob tries to access something like /home/Code/TopSecret for example. The system wouldn't allow him to access this without having the permission. I would like to know about these attempts. Is ...
0
votes
1answer
348 views

how to find the logged in user in linux running oracle session

i like to find out the logged in user to linux and running some session . we cannot use the os_user option as we all use sudo user before login to oracle. so how to find out the super user who logged ...
57
votes
3answers
8k views

I've just “mv”ed a 49GB directory to a bad file path, is it possible to restore the original state of the files?

I have (well, I had) a directory: /media/admin/my_data It was approximately 49GB in size and had tens of thousands of files in it. The directory is the mount point of an active LUKS partition. I ...
1
vote
1answer
54 views

How did my Hosts file change?

Let me start this by saying I do not or never have had Admin access to my Mac. Issue: Recently when I tried to navigate to the URL dev.local.com which was mapped to a specific IP address in my Hosts ...
2
votes
3answers
6k views

Pulling IP address from ping command with sed? [duplicate]

I have crafted a Bash tool that runs on a server. This tool will block certain IP addresses for a certain time range (i.e. from 5 A.M. to 3:30 P.M.). As of currently, the tool works fine, but I have ...
1
vote
0answers
80 views

system admin problem simulator (like GNS3 for networking)

some month ago I read an article with advices for linux system administrators candidate and it referred to some kind of virtual machine with common problems for system admin to solve. The point is ...