02-02-2015
It means 'don't print error messages'.
I don't suppose htpasswd needs root to be found on this system...
This User Gave Thanks to Corona688 For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there any good resources for setting up a unix web server, I mean starting with the basics for a extremely new newbie.
Thanks Scott (1 Reply)
Discussion started by: supastar
1 Replies
2. UNIX for Dummies Questions & Answers
hi I was successful in installing redhat 7.2 with no problems or error =) (first try) and It took me about 40 minutes to install it on a p233 mmx. It's running Gnome. I have some issues which I'm unsure of how to deal with.
1.How do I install an apache server, or is there one simular that... (11 Replies)
Discussion started by: Special K
11 Replies
3. UNIX for Dummies Questions & Answers
Hiya All,
Hope you can help!
I need a Dummies guide to setting up a Web server. I hope you have some good URLs or advice etc.
I now finally have:
1. "Web Server" - Fedora Core3 onto my Spare PC.
2. Windows XP laptop
3. Basic Web site set up via Front Page - to upload onto Web... (5 Replies)
Discussion started by: marty 600
5 Replies
4. Shell Programming and Scripting
Hello. I'm trying to write a shell script that will take files that have .tar, .tar.gz, .tar.Z, .gz, .Z and .zip file extensions and uncompress and unarchive them. The script should be able to take multiple arguments. So far I can write a script using the case command that will do this but it will... (3 Replies)
Discussion started by: SeanWuzHere
3 Replies
5. Ubuntu
Saw an error while setting up an application called i2phex:
# ./run.sh
java.lang.RuntimeException: Failed to initialize phex.net.repres.i2p.I2PPresentationManager
at phex.common.ManagerController.initializeManagers(ManagerController.java:78)
at phex.Main.main(Main.java:161)After... (0 Replies)
Discussion started by: Israel213
0 Replies
6. UNIX for Dummies Questions & Answers
I'm trying to set up a folder in my home directory that will be shared with another user but for some reason it is not working this is what I've done, I have tried two different ways using ACL's and chown/chgrp etc
I set up a group called say: sharedgroup and added both my user (john) and fred... (3 Replies)
Discussion started by: 14952john
3 Replies
7. Shell Programming and Scripting
Hi I have this command that when put on the command line it returns the output the way I want it.
/opt/quest/bin/vastool list -a groups | grep testdev_li | grep dev | awk -F"" 'NF>2{print $2}' | cut -c2- | tr '\n' '|'
The output of this is
... (2 Replies)
Discussion started by: ajetangay
2 Replies
8. What is on Your Mind?
Visualizing MySQL Session - Web Server User Behavior
The video in this post shows unix.com forum user session information in a way that has never been visualized before.
I plan to enrich this visualization significantly in the future - it's currently just a first beta.
RWBeylgjOqs (0 Replies)
Discussion started by: Neo
0 Replies
9. Solaris
Based on the NIS migration tests I did and another question I posted earlier on.
https://www.unix.com/solaris/272021-solaris-8-md5-encryption-support.html
I tried to downgrade NIS linux encryption to DES to support solaris connection.
So I modified /etc/pam.d/system-auth as below,
password... (0 Replies)
Discussion started by: bestard
0 Replies
LEARN ABOUT DEBIAN
get_progname
ERRORMSG(3pub) ERRORMSG(3pub)
NAME
errormsg, set_progname, get_progname - printing error messages
SYNOPSIS
#include <errormsg.h>
void errormsg(int exitp, int eno, const char *fmt, ...);
void set_progname(const char *argv0, const char *def);
const char *get_progname(void);
DESCRIPTION
The errormsg function is used for printing error messages. It is a like a combination of fprintf(3) and perror(3), in that it makes it
easy to add arbitrary, printf-like formatted text to the output, and makes it easy to include the system's error message (the error string
corresponding to the eno parameter). Unlike perror, this function does not get the error code directly from errno, thus making it easier
to do something else that might set it before printing out the error message. errormsg also adds the name of the program to the output, if
known.
The first argument to errormsg should be 0 (don't exit program), 1 (exit program with exit(EXIT_FAILURE)) or 2 (with abort()). The second
one should be 0 (don't print system error message), positive (print error message corresponding to the error code), or -1 (print the error
message corresponding to errno).
The set_progname function sets the program name. You need to call this function with at least one non-NULL parameter to get the program
names included in the output. If either argument is non-NULL, it should point at strings that have static duration, i.e. they exist until
the program terminates (or at least until the last error message has been printed); this is so that it is not necessary to create a copy of
the name. (Either or both arguments can also be NULL.)
If the first argument is non-NULL, that is used as the name, otherwise the seconds argument is used. If both are NULL, no program name is
included in the output. The reason for having two arguments is so that the caller doesn't have to do the test, and can just call
set_progname(argv[0], "default_name");
(it is valid for argv[0] to be NULL, under ISO C).
The get_progname function returns a pointer to the current name of the program, as set by set_progname. If get_progname returns NULL, then
no name has been set and none is included in the output. This function is included for completeness, it is not really expected to be use-
ful.
SEE ALSO
publib(3)
AUTHOR
Lars Wirzenius (lars.wirzenius@helsinki.fi)
ERRORMSG(3pub)