Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

falselogin(1) [debian man page]

FALSELOGIN(1)						      General Commands Manual						     FALSELOGIN(1)

NAME
falselogin - a false login shell SYNOPSIS
/usr/bin/falselogin DESCRIPTION
falselogin is a small application which can deny the user to log in the system displaying a custom message. CONFIGURATION
The configuration file for falselogin is /etc/falselogin.conf. Everything you write into this file will be written at login except for some special strings which will be substituted when they appear in the configuration file. They are: %mail% string Number of mail messages in the user's mailbox. %user% string Username. %sysname% string Sysname from uname. (eg: Linux) %nodename%, %host% strings The hostname. (eg: master) %release% string Linux kernel version number (eg: 2.0.36) %version% string Linux version number (eg: #8 Sun Dec 20 12:02:31 CET 1998) %machine% string Machine type (eg: i686) %debian_version% string Debian version from /etc/debian_version PARAMETERS
--wait, -w waitfor If waitfor is a number, falselogin will sleep waitfor seconds before exiting; if waitfor matches the word 'enter' then falselogin will wait for the user to input the 'enter' key AUTHOR
This manual page was written by Tibor Koleszar <t.koleszar@somogy.hu>, for the Debian GNU/Linux system. FALSELOGIN(1)

Check Out this Related Man Page

VOP_FSYNC(9)						   BSD Kernel Developer's Manual					      VOP_FSYNC(9)

NAME
VOP_FSYNC -- flush file system buffers for a file SYNOPSIS
#include <sys/param.h> #include <sys/vnode.h> int VOP_FSYNC(struct vnode *vp, int waitfor, struct thread *td); DESCRIPTION
This call flushes any dirty file system buffers for the file. It is used to implement the sync(2) and fsync(2) system calls. Its arguments are: vp The vnode of the file. waitfor Whether the function should wait for I/O to complete. Possible values are: MNT_WAIT Synchronously wait for I/O to complete. MNT_NOWAIT Start all I/O, but do not wait for it. MNT_LAZY Push data not written by file system syncer. td The calling thread. The argument waitfor is either MNT_WAIT or MNT_NOWAIT and specifies whether or not the function should wait for the writes to finish before returning. LOCKS
The file should be locked on entry. RETURN VALUES
Zero is returned if the call is successful, otherwise an appropriate error code is returned. ERRORS
[ENOSPC] The file system is full. [EDQUOT] Quota exceeded. SEE ALSO
vnode(9) AUTHORS
This manual page was written by Doug Rabson. BSD
July 24, 1996 BSD
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

making a .sh wait for user input

I need a script to halt at the end and wait for the user to hit a key...could be any ket or enter. I know it can be done but I am just starting out.. Thanks (9 Replies)
Discussion started by: verystupid
9 Replies

2. UNIX for Advanced & Expert Users

telnet for a user

Hi, we are on RED HAT linux: $uname -a Linux myserver.domain.com 2.6.9-42.0.2.ELsmp #1 SMP Thu Aug 17 18:00:32 EDT 2006 i686 i686 i386 GNU/Linux The only user that can connect in telnet is root. How can I authorize another users to do telnet ? Many thanks. (1 Reply)
Discussion started by: big123456
1 Replies

3. Shell Programming and Scripting

Reading input from user

how do we read input from a user e.g i want to ask a user to enter 6 sets of numbers how do i control information from the user? i have this....... #!/bin/bash echo "Please enter six numbers" read number echo $number >> file1 but this stops after the first number..how can i... (2 Replies)
Discussion started by: vadharah
2 Replies

4. Windows & DOS: Issues & Discussions

Need Help on "waitfor" command in net::Telnet Module in PERL

Hi, Can anybody help me in writing command "waitfor" for string "C:\WINNT\Profiles\mfcf0508>" while using net::Telnet module. I tried the below format : $telnet->waitfor('/"C\:\WINNT\Profiles\mfcf0508>".*$/i'); Getting error as : pattern match timed-out Plz help me (3 Replies)
Discussion started by: sudhakaryadav
3 Replies

5. Red Hat

./setup_install_server not working on RHEL5

# uname -a Linux rhel5srv 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux # mount .... /dev/mapper/OsImageVG-rhel5LV on /OSIMAGE/rhel5 type ext3 (rw) /dev/mapper/OsImageVG-solaris10LV on /OSIMAGE/solaris10 type ext3 (rw) /dev/hda on /mnt/cdrom type iso9660 (ro) ... (2 Replies)
Discussion started by: dplinux
2 Replies

6. Shell Programming and Scripting

Sending email from Unix

I am using the following syntax to send an e-mail from Unix (Sun OS). mail -s "hello" abc@yahoo.com But, when I click enter after typing this command, its not exiting and after a while when I give ctrl+c it creates a dead.letter file in my $HOME dir. Can anyone please tell me, if I have to... (7 Replies)
Discussion started by: rajesh8s
7 Replies

7. Shell Programming and Scripting

User Input Shell Script

Hello I am trying to create a user input shell scipt. The objective is user should enter the circuit number and the input is saved in a log file. If the user does not enter anything then the question should prompt it until the circuit no. is entered. Can any one please correct the code below.... (3 Replies)
Discussion started by: sureshcisco
3 Replies

8. Red Hat

Disk performance problem on login

Running CentOS 5.5: I've come across a relatively recent problem, where in the last 2 months or so, the root disk goes to 99% utilization for about 20 seconds when a user logs in. This occurs whether a user logs in locally or via ssh. I have tried using lsof to track down the process that is... (5 Replies)
Discussion started by: dangral
5 Replies

9. Shell Programming and Scripting

Error while connecting to Oracle with Script

Experts, I am using the following Linux version: Linux localhost.localdomain 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:32:14 EDT 2005 i686 i686 i386 GNU/Linux and creating a ksh script with below code in it. clear sqlplus RIB/RIB321@RIB_LOCAL #whenever sqlerror exit failure #set... (2 Replies)
Discussion started by: Oracle_User
2 Replies

10. Red Hat

Unable to use logical partitions

Hi All # uname -a Linux test.testbox.com 2.6.9-67.0.0.0.1.ELhugemem #1 SMP Sun Nov 18 00:31:12 EST 2007 i686 i686 i386 GNU/Linux I have created two logical partition in an extended partition as # fdisk -l /dev/sdb Disk /dev/sdb: 17.1 GB, 17179869184 bytes 255 heads, 63... (2 Replies)
Discussion started by: ankurk
2 Replies

11. Shell Programming and Scripting

Search String and Replace It

Hello, I'm creating a small script where the user will enter a string that is currently in the file, than enter another string that will replace the first string. I'm a little unsure to go about doing this, here is what I've tried so far with no luck. addressfile=~/address_file clear... (2 Replies)
Discussion started by: BTW8892
2 Replies

12. Shell Programming and Scripting

last command

hello I'd like to ask if there's a way to check the systems reboot history. the command last reboot only shows the last reboot of the system (9 Replies)
Discussion started by: vlm
9 Replies

13. Shell Programming and Scripting

Converting string to integer

I have a function that is supposed to check for user processes and wait for 0 count before exiting the function. I am sure I have more than one issue in my code, but the stumbling block right now is that I am trying to convert the value of my variable from a string to integer. process_count... (10 Replies)
Discussion started by: MIA651
10 Replies

14. Solaris

Do Linux "Sleep Mode" Problems Happen on UNIX?

I am an experienced MS Windows user who has tried four different flavors of Linux: Mandriva, Centos, Debian, and Ubantu---each on a different PC. (I always used a dual-boot configuration with Grub and Win XP or Win 7). Each time, I encountered the following two problems: While resuming from... (2 Replies)
Discussion started by: mjdz
2 Replies

15. UNIX for Beginners Questions & Answers

Logs not rotated

I'm fairly new to this... System: Kali Linux - based on Debian (Stretch) uname -a : Linux kali 4.18.0-kali3-amd64 #1 SMP Debian 4.18.20-2kali2 (2018-11-30) x86_64 GNU/Linux I noticed that the space on my root partition was continuously shrinking even though I didn't do much on the machine... (15 Replies)
Discussion started by: Ralph
15 Replies