03-09-2016
Where is a good source to go to for beginners for C used with Linux
This User Gave Thanks to zbest1966 For This Post:
9 More Discussions You Might Find Interesting
1. Linux
Hi ! Can C -langauge interface with Unix/Linux?
Currently i have written a application for SMS using C programing. I would like to know if i am able to receive information from Unix/Linux so that it can activate the application. (5 Replies)
Discussion started by: JOHNSON
5 Replies
2. UNIX for Dummies Questions & Answers
Hi all, I'm glad there's a section called UNIX for dummies on this forum cause when it comes to UNIX, I am certainly a dummie. I honestly don't have a clue about 98% of the UNIX commands out there so forgive me if this is a really stupid question.
I'm trying to set up a MySQL server on my Mac... (7 Replies)
Discussion started by: kguenther
7 Replies
3. Programming
is there any difference between "char*" and "char *" (1 Reply)
Discussion started by: amol munde
1 Replies
4. Programming
Hello, Ive got to amke a script to calculate how many emails are in the servers mailbox, how many times each IP address appears in the mailbox and to search for keywords, tehn produce the results in HTML report. The thing is I dont know where to start and what the best language to use would be.
... (4 Replies)
Discussion started by: clueless
4 Replies
5. Programming
Hi.
I want to write a C Program that get a user name and password , then compare it with encrypted password in /etc/shadow.
I start with below program:
#define _XOPEN_SOURCE
#include <stdio.h>
#include <time.h>
#include <unistd.h>
#include <crypt.h>
int main (void)
{
char... (7 Replies)
Discussion started by: htabesh
7 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Just got handed this script
set def = HLA_DR.pockets
set data = DRB1_1501.dat
foreach a ( 'cat $data | args 3 |sort -u' )
cat $def | xC | grep -v $a > $$.def
cat $data | grep $a | args 1,2 > $a.dat
set pseudo = `cat MHCDR_pseudo.dat | grep HLA | grep $a | args 2`... (8 Replies)
Discussion started by: lost
8 Replies
7. Shell Programming and Scripting
I do not know UNIX shell scripting so as an alternative which language would you think is better for daily System Administration tasks. Perl or PHP? I know a little about both. (5 Replies)
Discussion started by: blackopus
5 Replies
8. Programming
I'am writing a program in C language and my code is working perfectly i just need to add a search to it ...
My code lets users add companies, and then display them on screen...
i would like to add a search that allows user to type company name and then displayall its info on the screen !!
THANK... (1 Reply)
Discussion started by: aloushi
1 Replies
9. UNIX for Beginners Questions & Answers
hi,
I want that a language change in windows won't effect Linux language (which should be always English).
I had that feature but A Windows update changed it.
How can I fix it? (7 Replies)
Discussion started by: daivon
7 Replies
LEARN ABOUT DEBIAN
pam_echo
PAM_ECHO(8) Linux-PAM Manual PAM_ECHO(8)
NAME
pam_echo - PAM module for printing text messages
SYNOPSIS
pam_echo.so [file=/path/message]
DESCRIPTION
The pam_echo PAM module is for printing text messages to inform user about special things. Sequences starting with the % character are
interpreted in the following way:
%H
The name of the remote host (PAM_RHOST).
%h
The name of the local host.
%s
The service name (PAM_SERVICE).
%t
The name of the controlling terminal (PAM_TTY).
%U
The remote user name (PAM_RUSER).
%u
The local user name (PAM_USER).
All other sequences beginning with % expands to the characters following the % character.
OPTIONS
file=/path/message
The content of the file /path/message will be printed with the PAM conversion function as PAM_TEXT_INFO.
MODULE TYPES PROVIDED
All module types (auth, account, password and session) are provided.
RETURN VALUES
PAM_BUF_ERR
Memory buffer error.
PAM_SUCCESS
Message was successful printed.
PAM_IGNORE
PAM_SILENT flag was given or message file does not exist, no message printed.
EXAMPLES
For an example of the use of this module, we show how it may be used to print information about good passwords:
password optional pam_echo.so file=/usr/share/doc/good-password.txt
password required pam_unix.so
SEE ALSO
pam.conf(8), pam.d(5), pam(7)
AUTHOR
Thorsten Kukuk <kukuk@thkukuk.de>
Linux-PAM Manual 06/04/2011 PAM_ECHO(8)