Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x

Linux Distributions

26K

Solutions

20K

Contributors

A Linux distribution is an operating system made as a software collection based on the Linux kernel and, often, on a package management system and are available for a variety of systems. A typical Linux distribution comprises a Linux kernel, GNU tools and libraries, additional software, documentation, a window system (the most common being the X Window System), a window manager, and a desktop environment. Most Linux systems are open-source software made available both as compiled binaries and in source code form, allowing modifications to the original software. Over three hundred distributions are in active development, including commercially backed distributions (such as Fedora, openSUSE and Ubuntu) and community-driven distributions (such as Debian, Slackware, Gentoo and Arch Linux).

Share tech news, updates, or what's on your mind.

Sign up to Post

Hello,

We are running  jfs2 file system on redhat 7, but I am not sure how many journals are configured.  Is there a command that I can use to check?
0
How to Use the Help Bell
LVL 10
How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

I have this issue where non-root (ie non-priv) UNIX users or even applications could
alter or create files that are world-writable & this will easily become an audit issue.

As the creator/owner, they can always change the file permission using chmod.
"umask" can set the default settings for files created but this will not stop them
from altering it subsequently.

Q1:
Can provide sample ACLs or any method such that even owners of files can't alter
the UNIX file permission?

Q2:
Is there any way without using paid products (OpenSource is fine) to alert us if
file permissions are being changed?  Sort of File Integrity Monitoring but we
don't want to be alerted/notified if file content or dates are changed, only if
permission is changed.


We run Solaris 10 & 11 (both have ACL features) & AIX 6.x/7.x and RHEL 7.x.

Or is there a "find ..."  command which we can run daily to identify which files'
permissions got changed the last 1 day?
0
Dear experts,

I would like to set access control (IP address) by /etc/hosts.allow and /etc/hosts.deny in Ubuntu. I like to deny all IP address to use ssh except some IP address.

(1) could you please teach me how to do this by editing  /etc/hosts.allow and /etc/hosts.deny. I am kind of confused about the order of use this 2 files. could you please give me examples? If add allow entries in /etc/hosts.allow , does rest of others is denied?

(2) Can /etc/hosts.allow and /etc/hosts.deny also control the access of Xrdp (port 3389)? if yes, how to do it?

Thank you so much!
0
Hello,

I would like to add additional node to existing cluster. I have installed  pcs,  pacemaker and fencing agent on the new node.

How do I add it into the cluster?  Can someone provide the steps?
0
does 755, 777(user, group, everyone) vary from file say xyz.txt and directory say abc?
or same concept for both file and directory
if 755 means give whoever accessing(like users like me or John or Mike  etc) file  (xyz.txt)/directory(abc) partial access ?

if 777 means give whoever accessing(like users like me or John or Mike  etc) file  (xyz.txt)/directory(abc) complete access ?
please advise
0
Hi experts,

My Ubuntu is currently in 14.04.1. I like to upgrade my system to latest LTS version using "do-release-upgrade" command. I am wondering this "do-release-upgrade" will go directly to 16.04 (1-time upgrade) or 15.xx first then 16.04 (need upgrade step by step)?

Do you have an idea how long is for this kind upgrade process?

thank you for your help.
0
winscp how to save shared bookmarks shortcut

i was referring below but no complete info

https://savethehealthy.com/shortcuts-for-winscp-keyboard-shortcuts.html
0
hi,

I connnected to one production inace went to the log directory where bunch of log files there.

how to continuosly monitor logs for any possible errors , exceptions.

how frequently new files created?
do i have to do vi command to open the log file

please advise
0
On a SLES 12.2 system I have a problem with BtrFS, especially with btrfs-balance (and probably btrfs-scrub).

The application running on that server is kind of sensible against server load, especially disk access and probably CPU load.

The system runs on (as recommended by the installer) BtrFS, which needs cyclic maintenance with btrfs-balance and btrfs-scrub. Unfortunately these processes generate excessive disk load and CPU usage for about 40 seconds.

I've done some measures to lower the impact of that - which helped to a certain degree - but one idea is left open:

The system has plenty of CPU cores available, and the idea is to isolate on CPU for running that process. I'm aware that I can restrict a process to one CPU easily with i.e.
taskset -c <CPU#> <command> <options>

Open in new window

which I have tried successfully with btrfs-balance and btrfs-scrub.

Now I'm stuck on how to tell the kernel to spare that CPU core from being used by any other processes ...

Any hint ?
0
i,

i am going through below link

https://www.petefreitag.com/item/426.cfm
when to use fgrep and when to use grep ?
are there any advantages, disadvantages on over other?
please advise
0
Efficient way to get backups off site to Azure
LVL 1
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Hello Folks,

Does anybody have a procedure on how to join Centos PCs to a Windows Domain?

I'm running Windows server 2008
PCs running Centos 6.9

Thanks for looking
0
I am using a variant of blackfin linux.  I am new to it and reading so much documentation.  What is the command needed to reboot.?
0
On SLES 12.2 I do the following as root user:

mkdir -p /some/directory/ramdisk
chown -R simpleuser:users /some
chmod 777 /some/directory
chmod 777 /some/directory/ramdisk

Open in new window


Then I add this to /etc/fstab:
ramfs /some/directory/ramdisk ramfs defaults 0 0

Open in new window

followed by
mount /some/directory/ramdisk

Open in new window


What I expect is a ramfs mounted to /some/director/ramdisk, owned by simpleuser and users, with permissions set to 777.

Surprisingly, after rebooting the machine, the owner of /some/director/ramdisk is root:root, and the permissions have changed to something more restrictive. I deem that more of a feature  than a bug, but that behaviour is really annoying in the environment I use it in.

Currently I do an explicit change of ownership and permissions prior to starting the application that uses the ramdisk (in the respective script, with sudo), but I deem that not very elegant.

Any hint what causes the changes, and how to prevent them ?
0
Where is the Keystone configuration file located?

a. /etc/keystone/keystone.conf
b. /etc/keystone.conf
c. /etc/openstactl/keystone.conf
d. /etc/keystone/service.conf
0
our lab recently has a new Ubuntu (14.04.1) machine but many of software package is out of date.
I try to update it before upgrade to Ubuntu 16.04. However, there is always problems for the command "sudo apt-get update"

I have googled this problem and change "/etc/apt/sources.list" several times, but the error still exists.
I am thinking the error may come from => Could not resolve 'hcapxb01'
I have no idea about the 'hcapxb01'.  My machine has internet connection but I can't ping or nslookup the  'hcapxb01'

Experts, please help me to slove "sudo apt-get update" error. Thank you
Snap1.png
0
what is difference between

wc vs wc -l vs wc -c vs wc -lw


when we say
wc -lw
is it same as
wc -l -w

what is the use of - in any command?
0
hi,

what is difference between
sort vs sort -n  vs sort -M vs sort -rM

please advise
0
Hi,

what is 2> command used for

please advise
what is 2 what is >
0
what is difference betweem

kill PID
versus
kill -9 PID

what is -9 here?
please advise
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE
LVL 4
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

what is difference between below comand

ps
versus
 ps -e
 versuss
 ps -ef
 versuss
 ps -ef|grep xyz

please advise
0
hi,
to learn unix and its command what are best online site, learning videos, training sites that are free available out there including some books.
please advise
0
hi,
what is diference between
Egrep vs grep s zgrep

what are other types of greps there

please advise
0
hi,

i was watching below video
https://www.youtube.com/watch?v=goYjxpnTzFY&list=PL28YtFoet8RUsHxrIsQTkd82vIIZiiSmK&index=4
Instructor seems practicing unix commands on windows machine
how to get similar environmet so that i can practice on my local windows laptop at home?
0
Hi,
how to uninstall mputty or tabbled putty running on my windows machine . please advise

i like to resinstall as initially only it is asking whether to map to your putty or not asking putty path?
how to find putty path to give that path so that it takes all putty sessions automaticaly?
please advise
0
Hi,

While checking the putty logs i see all same color without much indentation

how to make different color for Errors and Exception for colors
how to achieve identation
please advise
0

Linux Distributions

26K

Solutions

20K

Contributors

A Linux distribution is an operating system made as a software collection based on the Linux kernel and, often, on a package management system and are available for a variety of systems. A typical Linux distribution comprises a Linux kernel, GNU tools and libraries, additional software, documentation, a window system (the most common being the X Window System), a window manager, and a desktop environment. Most Linux systems are open-source software made available both as compiled binaries and in source code form, allowing modifications to the original software. Over three hundred distributions are in active development, including commercially backed distributions (such as Fedora, openSUSE and Ubuntu) and community-driven distributions (such as Debian, Slackware, Gentoo and Arch Linux).