Questions tagged [unix]

Unix is a multitasking, multi-user computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs.

Filter by
Sorted by
Tagged with
-3
votes
0answers
31 views

How to see PID from hidden botnet?

So i'm using a couple of servers on certain providers (prefer to not say their names for obvious reasons) and while i know i should probably first talk to them about this first, i'd thought i would ...
-1
votes
0answers
22 views

Openssl notAfter date differ

I've dive through openssl and certificates, and I have a problem with a customer website, when use of echo | openssl s_client -connect [cwebsite]:443 -servername [cwebsite] 2>/dev/null | openssl ...
0
votes
0answers
9 views

how to run multiple instances of asterisk on one server

hope everybody is safe during challenging time i have a task to automate our demo installation process. Our software is mainly a GUI that operates with asterisk via AGI and stores all data to MySQL / ...
0
votes
1answer
56 views

My Server is sending malicious SSH requests [duplicate]

I am facing weird issue on my server (Unix). There are couple vendors reported me that my server is sending malicious requests to their server by using SSH Protocol. I have already checked the system ...
1
vote
1answer
24 views

MYSQL Start unit not found

Im using AWS Linux 2 AMI Currently I have AWS EC2 Recently the mysql doesn't work anymore but it worked before. when I tried to do this sudo service mysql start or sudo service mysqld start It ...
0
votes
0answers
29 views

Trying to get SSH output from within a for loop in a script

I'm trying to SSH into a bunch of hosts in order, and run a command to get a list of users on each one. Outside of a for loop, the output shows up just fine one-by-one. Inside a for loop, it ...
0
votes
1answer
22 views

Does tar create point-in-time snapshots?

I know that tar can be used to create a backup. However I wonder if the operation creates point-in-time backups or not. Basically I wonder if it grants consistency if the directory and files are ...
-3
votes
1answer
53 views

Bad Mask /29 for address 172.24.59.0 255.255.255.248 cisco packet tracer [closed]

I received this error Bad Mask /29 for address 172.24.59.0 255.255.255.248 Why was this error produced? and what is the valid host range for the 255.255.255.248 subnet? would the correct answer ...
0
votes
0answers
15 views

Rsyslog not saving logs from another servers into custom directories

I am receving logs on UDP 514 from another server and i have configured rsyslog.conf to save the logs to another custom directory but i am unable to do so, i confirmed through tcpdump logs are getting ...
0
votes
0answers
18 views

How to disable nagios service check at a specific interval

I'm monitoring nagios services with daily checks using nrpe and check_procs. I need to disable the check from 17:00 to 08:00 . I tried to use timeperiod defined in timperiod.cfg but the problem is ...
0
votes
0answers
15 views

nginx best practie: Listen to IP wildcard or public IP only

So I was wondering on which one of these was considered to be best practice IP Wildcard server { listen 80; listen [::]:80 ipv6only=on; # I know ipv6only=on isn't needed on older ...
0
votes
1answer
23 views

How do I list long running shell script?

Currently we are running lot of UNIX shell scripts in HP-UX. We want to track which scripts are running long time (more than 1 day), how can we track that?
0
votes
1answer
102 views

Which the Lowest Possible Solaris Version which supports TLS 1.2?

I am currently using Solaris 5.8,with TLS 1.0, but now i would like to upgrade to TLS 1.2. Since Solaris 5.8 doesnt support TLS 1.2. What is the minimal upgrade i need to do( solaris Version) to use ...
0
votes
1answer
21 views

Guaranteed rename logfile AFTER logfile is no longer being written to

I have the following set up. In a remote machine I have a process continuously running which subscribes to some data and writes it to stdout (lets call the process the subscriber). I call the ...
0
votes
1answer
77 views

Using su with service account for management

We're going through the arduous process of configuring sudoers for least privilege. We were going over what was needed in a meeting and our manager recommended that rather than use our own account ...
0
votes
2answers
95 views

how do i extend pv when extending vmware disk?

I extend the disk in vmware after doing so I get the configuration but how to extend the pv /dev/sda1 at 30G to later extend the vg? I don't want to extend the partition with fdisk I just want to ...
1
vote
1answer
378 views

NTP time sync failures on Debian

This is on HypriotOS (Debian GNU/Linux 10) running on RaPi. $ timedatectl show-timesync Failed to parse bus message: Connection timed out Then do this with sudo: $ sudo timedatectl timesync-status ...
0
votes
1answer
24 views

can logstash package individual log types into packages an scp them over to a central node?

I am curious whether logstash only processes logs and streams them at the event/line level or can it package all apache access logs for example and send them over zipped up to a central node?
0
votes
1answer
64 views

FEDORA IPTABLES Block specific IP Address

The below is the rule that i had added to my iptables.. Still the result of the below rules for me is ssh is blocked from everywhere.. Chain INPUT (policy ACCEPT) target prot opt source ...
0
votes
0answers
14 views

How to put any value in blank line while getting no value for line from linux terminal

For example cat userdata User name: x Email: Passchange: LastPassSuccess: This is one sample entry there is similar 350 in single row Some user has the line and some has not so i want to add any null ...
0
votes
2answers
32 views

Copy binary file from other system with builtin shell commands only

I accidentally just have removed critical shared library and no one dynamically linked executable can't be run now. For example, even /bin/ls shows error while loading shared libraries: libunwind.so....
1
vote
1answer
83 views

IPv6 ULA ( Unique Local Address ) Generation

RFC4193 contains pseudo code for generation of IPv6 ULA (Unique Local Address). Do I have to follow this algorithm or is an arbitrary ULA valid? 3.2.2. Sample Code for Pseudo-Random Global ID ...
1
vote
0answers
46 views

SmartOS “/ filesystem full”

Last week I had issue where SmartOS wouldn't boot suddenly(off USB), it just hanged there after "mDNSPlatformRawTime went backwards by 3684530 ticks..." warning. I think this one used to appear at ...
0
votes
0answers
16 views

What is the difference between a Pipe and setting mailbox_command

I'm quite new to Postfix and I'm starting reading documentation, books, blogs and everything I can find. What I need to achieve is to send all the received emails to a script. I've been reading and I ...
0
votes
0answers
105 views

Installed KVM but not recognised during virtual machine installation

I have installed qemu kvm in physical server with CentOS 7. The version is QEMU KVM 1.5.3. When I try to install CentOS in the virtual machine with the CentOS 7 iso, I get the following error. host ...
0
votes
0answers
376 views

vsftpd: ftp: setsockopt (ignored): Permission denied

I'm trying to upload things to my server however I'm unable to ls inside a directory or upload a file to it. I'm using CentOS 8, SELinux set on permisssive. The directory I want to operate on has 777 ...
0
votes
0answers
16 views

unable to start libvirtd daemon as root user and normal user

I am trying to start libvirtd daemon with following command. systemctl enable --now libvirtd As normal user, I am asked for authentication to manage system service or unit files. So, I tried after ...
-7
votes
1answer
57 views

What happens when I perform this as root [closed]

(don't try this!) lsof -i | head 100 | xargs rm-r After executing this I'm not able to login as it removed /bin/bash. Reboot also don't work. Shows kernel error and server crashed.
0
votes
0answers
61 views

Newly added Actividirectory unix enabled users are not listed with ypcat command

We have a setup with the Active Directory server as the Master and several Linux NIS servers as a slave. This was working fine and recently the new abusers ( configured with Unix attributes) are ...
0
votes
0answers
18 views

BigFix Relevance Queries on Unix

Context I am working on writing BigFix Fixlets to comply with CIS Benchmarks for Unix clients. The CIS Benchmarks are provided in a "run this command, and if the output doesn't match this, run this ...
0
votes
0answers
32 views

netstat result pid truncated column

Running netstat -p in Debian 9 i get truncated PID/Process name column on terminal, like: unix 2 [ ] STREAM CONNECTED 836933 7709/sshd: user [pr it's cut after 100 ...
0
votes
1answer
117 views

A process (Nginx) run on port 80 but I can't find where the command is

I am on Mac OS 10.14.5. I want to use the port 80 for doing Docker work. But on my Mac, the port 80 is already used, and surprisingly for me, it's not Apache but Nginx (at least, the page displays ...
0
votes
2answers
52 views

Not able to start tomcat 7.0 on my server

I am not able to start my tomcat (7.0) on my server. While starting it is giving below error message. FAIL,Resource start failed [Context: Failure Reason=PID not found;Code=SCLD-LRM-4022; I don't ...
1
vote
1answer
74 views

Set up a shared folder for users on a Linux server

I have a folder /mnt/disk/folder. I want user1 and user2 to both have full recursive read+write access to any current and future directories and files. I want to symlink the folder to /home/user1/...
0
votes
0answers
60 views

find command returns nonexistent files on macOS 10.15

macOS has introduced new partitioning scheme where / is now read-only, and /System/Volumes/Data is now a separate partition: /dev/disk1s5 on / (apfs, local, read-only, journaled) devfs on /dev (devfs,...
0
votes
0answers
43 views

High load average with low activity

This is a mail server which is running Apache2 and Postfix as services. It's been up for 135 days and nothing has been changed to the services since then. The usual load average was about 0.xx but it ...
0
votes
0answers
13 views

Detect and clean nymaim on Ubuntu server? [duplicate]

I'm trying to figure out why our server has been block at Spamhaus. It comes up with: 139.162.208.xxx is listed in the XBL, because it appears in: CBL Lookup Following the link, it says: ...
2
votes
2answers
314 views

PAM dynamic LDAP Authorization with groups

At the moment my PAM is integrated through LDAP with a custom authentication stack in the /etc/pam.d/systhem-auth: auth required pam_env.so auth required pam_faildelay.so ...
1
vote
1answer
138 views

Iptables --to-ports option with REDIRECT target (bug ?)

I'm trying to redirect a incoming udp traffic (514) to two ports (10514 and 10515) with iptables. On the man page of iptables-extensions for the target REDIRECT the syntax is "--to-ports port[-port]" ...
0
votes
0answers
58 views

Using iptables to limit httpd, ssh and icmp

I want to block ICMP and limit SSH and HTTPD traffic to eth0 My original iptables looks like this filter :INPUT DROP [0:0] :FORWARD DROP [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -m state --state ...
1
vote
3answers
82 views

How do i copy N images from server to my local machine using rsync?

I want to copy n images from my server to local machine i hve tried the command : rsync -P <Source>(.om[1,100]) <localmachine> but using this is not working
2
votes
1answer
317 views

Someone is scanning my postfix/dovecot

There is someone scanning my mail server. What can i do to block them? i tried adding this and is not helping: /etc/hosts.deny ALL: 80.82.77.18 i see this in the log: ... Aug 23 03:34:40 auth-...
1
vote
1answer
54 views

UNIX Copy/Move files in same directory preserving timestamp

Following is the scenario. There are multiple files in a directory created by users belonging to same unix group. Unix Group: Prod. User in Prod Unix Group: User1 User2 User3. All 3 users have same ...
0
votes
0answers
21 views

How to change nofile parameter?

few days back i was getting Too many open files:keystore.jks error in my server. After searching in google i found that we have to increase the hard limit value(in my server both hard and soft are ...
0
votes
0answers
51 views

Why am i seeing Dstat disk-util is very high? How to Interpret it?

"system","total cpu usage",,,,,,"load avg",,,"dsk/xvdb",,"io/xvdb",,"xvdb" "date/time","usr","sys","idl","wai","hiq","siq","1m","5m","15m","read","writ","read","writ","util" 01-08 19:57:07,0.010,0.022,...
0
votes
1answer
65 views

Does redhat system admin and engineering certificate (RHCSA) and (RHCE) work for all Unix-like operating systems? [closed]

Does redhat system admin and engineering certificate (RHCSA) and (RHCE) work for all Unix-like operating systems? or Can a Redhat Engineer or System admin work for a debian based companies or systems?
1
vote
1answer
43 views

UNIX ACL Permissions Different when file is copied from Windows Explorer compared to unix cp command

Please share your inputs on the following scenario. Unix Path 1. Permissions for /source/dir1/test.txt are -rw-rw----+ Scenarios Case 1: When this file is copied from Windows Explorer to the ...
0
votes
1answer
76 views

Bash command to execute a foreground set of background commands

I got 2 commands that run blocking the input in the console, so they must be ended with CTRL+C. I don't like running them in background, since I lost control for interruption. But otherwise I cannot ...
1
vote
1answer
61 views

Determine Kernel Version based on File

I have a bunch of different Linux Operating Systems for many different architectures and for each of them I would like to determine their Linux kernel version. I can only access the filesystem but I ...
0
votes
0answers
34 views

How do you log file descriptor requests?

System.IO.IOException: The process cannot access the file because it is being used by another process. I have a need for a historical log of file descriptor requests. The purpose is to determine ...

1
2 3 4 5
38