9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i vi .profile Set DATE `date +%m%d%Y%H%M`, but after logout/login, echo $DATE, it shows: Fri Mar 23 15:01:53 EDT 2012, i want to show: 032320121501
please ignore.
vi /etc/profile, and export DATE=`date +%m%d%Y%H%M`, worked fine now. (0 Replies)
Discussion started by: lawsongeek
0 Replies
2. Shell Programming and Scripting
Could you please explain me what is the difference between .login, .tcshrc ,.profile file . Can I keep .tcshrc file in two different location .Actually my problem is I have one server in which another server is mounted so I have two programs which refers to two different versions of java and I need... (1 Reply)
Discussion started by: maitree
1 Replies
3. Solaris
Greetings! I'm new here and excited to get aquianted with this site! Seems like a good source of knowledge!
Anyways, my first problem de'jour deals with the following....
We have dual monitors(top/bottom) for our system. The problem is that the solaris login window is split between the top... (7 Replies)
Discussion started by: ruberked
7 Replies
4. UNIX for Dummies Questions & Answers
Hey everyone,
I'am a little new here and experincing Unix for the first time. I was wondering if somone could help me with this question i'am a bit stuck on
Looking at the content of .profile login script
The .profile file is in your login directory. It is a startup script file... (1 Reply)
Discussion started by: worldsoutro
1 Replies
5. UNIX for Dummies Questions & Answers
Hello All,
My Problem is -> How can we get UNIX id from open mail authentication (Windows ID) in UNIX.
In following command we are using domain name, which may change in your reference.
As, if we use following command.
ypcat passwd | grep rohitp | cut -d: -f5 | cut -d, -f1
=> we get... (0 Replies)
Discussion started by: pandey.rohit
0 Replies
6. UNIX and Linux Applications
Dear experts ...
Please any one can describe the diffrence between this three
1) . cshrc
2) .profile
3) .login
cheers
syed (1 Reply)
Discussion started by: smuqtaderali
1 Replies
7. UNIX for Dummies Questions & Answers
I have modified the .profile in my profile and I don't see any effect.
Why the changes don't have effect?
I tried both on the account at a server where I have limited permissions as user and to my local pc (as user).
Is it the .profile overridden by some other file? It looks weird because I... (8 Replies)
Discussion started by: myle
8 Replies
8. UNIX Desktop Questions & Answers
Dear Friends
I'm using Hp-unix release b.11.11 and i'm facing a problem to login through telnet session. i can login only by user root but other users can not login.
but if i use x window application like (reflection X) all users can login with no problem.
please kindly advice me on how to... (0 Replies)
Discussion started by: hai_jab
0 Replies
9. UNIX for Dummies Questions & Answers
Hello again !
Thanks for response of my first question. there is my second quesiton why i have local.profile instead of .profile file ?
my all files in pwd shoes local. before any file.
is anybody can tell me about that ?
Thanks
Abid Malik (5 Replies)
Discussion started by: abidmalik
5 Replies
PWAUTH(8) System Manager's Manual PWAUTH(8)
NAME
pwauth - authenticator for mod_authnz_external and the Apache HTTP Daemon
SYNOPSIS
pwauth
DESCRIPTION
Pwauth is an authenticator designed to be used with mod_auth_external or mod_authnz_external and the Apache HTTP Daemon to support reason-
ably secure web authentication out of the system password database on most versions of Unix. Particulary - secure authentication against
PAM.
The simplest test pwauth is to start a root shell and just run pwauth. It will attempt to read the login and password from standard input,
so type a login name, hit return, then type a password, and hit return (the password will echo on your screen). The check the status code
that was returned (in csh: "echo $status" in sh: "echo $?").
If the login/password were correct you should get a zero status code. If not, you will get some other value. See below the list of status
codes to find the meaning of the various values returned. Any values 50 or greater indicate a configuration error.
STATUS CODES
0 STATUS_OK
Login OK.
1 STATUS_UNKNOWN
Nonexistant login or (for some configurations) incorrect password.
2 STATUS_INVALID
Incorrect password (for some configurations).
3 STATUS_BLOCKED
Uid number is below MIN_UNIX_UID value configured in config.h.
4 STATUS_EXPIRED
Login ID has expired.
5 STATUS_PW_EXPIRED
Login's password has expired.
6 SSTATUS_NOLOGIN
Logins to system have been turned off (usually by /etc/nologin file).
7 STATUS_MANYFAILES
Limit on number of bad logins exceeded.
50 STATUS_INT_USER
pwauth was invoked by a uid not on the SERVER_UIDS list. If you get this error code, you probably have SERVER_UIDS set incorrectly
in pwauth's config.h file.
51 STATUS_INT_ARGS
pwauth was not given a login & password to check. The means the passing of data from mod_auth_external to pwauth is messed up. Most
likely one is trying to pass data via environment variables, while the other is trying to pass data via a pipe.
52 STATUS_INT_ERR
one of several rare and unlikely internal errors occurred. You'll have to read the source code to figure these out.
53 STATUS_INT_NOROOT
pwauth was not able to read the password database. Usually this means it is not running as root. (PAM and login.conf configurations
will return 1 in this case.)
AUTHOR
pwauth was written by Jan Wolter <jan@unixpapa.com>.
This manual page was written by Hai Zaar <haizaar@haizaar.com>, for the Debian project (but may be used by others).
2009-05-02 PWAUTH(8)