08-18-2011
SSH with a nologin account
Is it possible to SSH with an account that has its shell set to /sbin/nologin?
The reason I ask is because I am running an instance of nagios where I need to use SSH keys to run a check, but I am getting connect errors in Nagios. Also, what is the risk I run into if I just simply change my nagios user's shell from nolgin to /sbin/bash
is this not recommended?
Thanks
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
What do I need to do to be able to connect to an IRC server from work?
At work I'm behind a firewall that blocks all IRC connections on standard ports.
I read that I could use a shell account and set something up (which I am searching what) that I could use to connect to and tunnel my... (4 Replies)
Discussion started by: KromiX
4 Replies
2. UNIX for Dummies Questions & Answers
In our country, blogspot.com, twitter.com facebook.com....and more excellent sites are blocked by the Goverment FireWall, who can help me ? thanks a lot for your kind. (2 Replies)
Discussion started by: shuke
2 Replies
3. UNIX for Dummies Questions & Answers
Hello, : )
I have a remote access to the server that hosts my joomla, and it does not have cpanel.
So I have to do everything manually.
I need to have an FTP account to the httpdocs folder because I need to put these info in the config file of joomla (to allow file uploading ...etc)
So,... (8 Replies)
Discussion started by: Hayatt
8 Replies
4. Cybersecurity
Hi all,
I am having some issues with openssh vers OpenSSH_4.6p1 on SCO unixware 7.1.4
when a user accesses the system via ssh and the password is incorrect and more attempts have been made that the lock out limit I find that although there are messages in the syslog the account does not lock... (0 Replies)
Discussion started by: chlawren
0 Replies
5. UNIX for Dummies Questions & Answers
Hi team,
I am not able to configure the ssh settings for a UserA to do ssh or scp to the UserB in the same server , what could be the best way to do the ssh form UserA to UserB.
I've generated the public key in UserA ~/.ssh and kept a copy of that in ~/.ssh of authorized_key of UserB . Still... (1 Reply)
Discussion started by: posix
1 Replies
6. Shell Programming and Scripting
Hi,
Need one clarification..
If suppose, I have disabled the login to a particular user XXX, but not deleted the user.
So the scripts which must be executed using the user XXX can still be executed using that user or is it not possible..?
In our tasks, we are disabling the user XXX, and after... (1 Reply)
Discussion started by: Dpu
1 Replies
7. Red Hat
Hello experts,
Is it possible to have an user account on RHEL 6.3 as a su-only account, but with ssh capability and no interactive login? Let me elaborate.
Say, we have a cluster of 5 RHEL 6.3 servers and an user account (strmadmin) on each of the server as an su-only... (1 Reply)
Discussion started by: naveendronavall
1 Replies
8. UNIX for Beginners Questions & Answers
I have Windows AD server and all of the linux computers are joined to AD.
Recently, 2FA has been activated, I wish to exclude some of the domain service accounts from 2FA
# less /etc/pam_radius_acl.conf
sshd:*
# /etc/pam.d/sshd
auth required pam_sepermit.so
auth requisite... (0 Replies)
Discussion started by: davidpar007
0 Replies
LEARN ABOUT DEBIAN
nagios3stats
nagios3stats(8) nagios nagios3stats(8)
NAME
nagios3stats - report statistics information from the nagios system
SYNOPSIS
nagios3stats [-hVL] [-c config] [-m] [-d]
DESCRIPTION
nagios3stats Is a program designed to provide information on the running nagios system. It can provide a brief summary of information, or
it can be used to export specific information about the nagios system into an MRTG-compatible format. For more information please consult
the nagios online documentation available at http://www.nagios.org or the documentation available with your nagios server's web page.
OPTIONS
-c|--config=FILE
The main configuration file. On debian systems this defaults to /etc/nagios3/nagios.cfg
-m|--mrtg
Print output in MRTG-compatible format. For more details run nagios3stats with --help
-d|--data=VARS
Comma-seperated list of variables to output in MRTG format. For more details run nagios3stats with --help.
-h|--help
A helpful usage message
-V|--version
Print version information
-L|--license
Print license details
FILES
/etc/nagios3
Default configuration directory for nagios3
AUTHOR
nagios3 is written and maintained by Ethan Galstad <nagios@nagios.org>. This manual page was written by sean finney <seanius@debian.org>
for the Debian GNU/Linux operating system (but it may be freely used, modified, and redistributed by others).
sean finney February 2006 nagios3stats(8)