Sponsored Content
Full Discussion: wall
Top Forums UNIX for Dummies Questions & Answers wall Post 14491 by LivinFree on Friday 1st of February 2002 06:05:57 AM
Old 02-01-2002
That would work for many systems, but I don't know if it would work for all... Another possibility would be to take it down to single-user via init...

The only problem is that the nologin should prevent anyone from logging in unless you're on the sys console, so if you don't have access to it, and you log out / get logged out, you're screwed.

It's worth a shot though...
djatwork, do you think that idea would work?
What Unix are you working with?
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

wall commands

I would like to know when using the wall command can I send a message to a specific user that is logged in. Thank you (1 Reply)
Discussion started by: nascar.fan
1 Replies

2. UNIX for Dummies Questions & Answers

wall and rwall commands

let's say in my office i have 20 networked sun boxes named host1 through host20. i am currently logged in as root at some random machine, which we will say host13 for this scenario's sake. now, is there any way i can send a text message of some sort over the whole network to all logged in... (1 Reply)
Discussion started by: AMisledDrummer
1 Replies

3. Shell Programming and Scripting

using the wall or write cmd

Hi all, i'm trying to generate a "pop up window" incorporating either the write or wall command or both. Is such a thing possible ? thanks simon2000 (2 Replies)
Discussion started by: simon2000
2 Replies

4. Fedora

wall and write commands are not working

hi friends i am using fedora linux operating system on the server and two clients(with windows os) are connected to it(server ).but here wall and write cmds are not working to send messages from one system to another system . pls help me (4 Replies)
Discussion started by: sankar_vitam
4 Replies

5. Red Hat

Fire wall Check

Is Proxy IP detectable in Firewall??? Can we monitor the Proxy IPs too?? If it is possible then explain me the procedures and How it will. . . (0 Replies)
Discussion started by: Adhi
0 Replies

6. SuSE

Wall execution problems from cron

So I've been tasked with creating a shell script to run in a cron every few minutes to check duplex settings on my eth0 nic card. I would like for the server to send a wall message to whoever is on the console or in a terminal session. Below is what I have so far. 0,10,20,30,40,50 * * * * ... (1 Reply)
Discussion started by: lutador72
1 Replies

7. What is on Your Mind?

Cyber wall? just for me?

I do have a question about the great cyber wall of certain countries, like the UK for example. For years I just fetched once a week a public podcast that recently answered "notukerror", by chance I read just this weekend on slashdot about this topic. Does this mean the efforts enhanced by the EME... (4 Replies)
Discussion started by: 1in10
4 Replies

8. What is on Your Mind?

Up Against a Brick Wall with Cyberspace SA and Unity3D

Well, it's not working out.... ! After spending over a year coding in C# and Unity 3D creating a new way to visualize cyberspace, I recently purchased a fully maxed out 12-core CPU MacPro with 64 GB of RAM so I could gain performance by utilizing the 12-cores (24 virtual cores) waiting for Unity... (1 Reply)
Discussion started by: Neo
1 Replies
PAM_NOLOGIN(8)							 Linux-PAM Manual						    PAM_NOLOGIN(8)

NAME
pam_nologin - Prevent non-root users from login SYNOPSIS
pam_nologin.so [file=/path/nologin] [successok] DESCRIPTION
pam_nologin is a PAM module that prevents users from logging into the system when /var/run/nologin or /etc/nologinexists. The contents of the file are displayed to the user. The pam_nologin module has no effect on the root user's ability to log in. OPTIONS
file=/path/nologin Use this file instead the default /var/run/nologin or /etc/nologin. successok Return PAM_SUCCESS if no file exists, the default is PAM_IGNORE. MODULE TYPES PROVIDED
The auth and acct module types are provided. RETURN VALUES
PAM_AUTH_ERR The user is not root and /etc/nologin exists, so the user is not permitted to log in. PAM_BUF_ERR Memory buffer error. PAM_IGNORE This is the default return value. PAM_SUCCESS Success: either the user is root or the nologin file does not exist. PAM_USER_UNKNOWN User not known to the underlying authentication module. EXAMPLES
The suggested usage for /etc/pam.d/login is: auth required pam_nologin.so NOTES
In order to make this module effective, all login methods should be secured by it. It should be used as a required method listed before any sufficient methods in order to get standard Unix nologin semantics. Note, the use of successok module argument causes the module to return PAM_SUCCESS and as such would break such a configuration - failing sufficient modules would lead to a successful login because the nologin module succeeded. SEE ALSO
nologin(5), pam.conf(5), pam.d(5), pam(7) AUTHOR
pam_nologin was written by Michael K. Johnson <johnsonm@redhat.com>. Linux-PAM Manual 06/04/2011 PAM_NOLOGIN(8)
All times are GMT -4. The time now is 03:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy