05-25-2014
What did you do, which what outcome?
10 More Discussions You Might Find Interesting
1. IP Networking
Hi
I am using a Solaris 2.5.1 and i am unable to logon on the console.
When i key in say, root on the login prompt, it does not prompt me for password but instead return to the login prompt again.
Please help.
thanks (2 Replies)
Discussion started by: owls
2 Replies
2. Solaris
Hi,
I'm attempting to reinstall a damaged installation of Solaris 9 (on a SunFire). Connected via serial from a PC. Can't get to the "ok" prompt to launch install from CD. Ctrl+break acknowledges my request for a break, but no prompt. "#." gets me an "sc>" prompt, with several options, but... (3 Replies)
Discussion started by: shonenfan
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
When i try to connect to the db2 database from unix solaris 5.8 version by typing "db2" from the .../sqllib/bin/ folder, i am not getting the db2 command prompt. Could anyone help me resolve this? Here the db2 is executable only. But still iam not getting the db2 prompt.
The error i get is... (4 Replies)
Discussion started by: ragavhere
4 Replies
4. Solaris
There is a number before the ok prompt in OBP between brackets {}. It is 0 most of the time but sometimes it is different number
{9} ok
or
{0} ok
What does this number mean and how it gets changed? (3 Replies)
Discussion started by: StarSol
3 Replies
5. Solaris
Hi Gurus,
One of our test servers is unable to come up. Its v240, I am unable to connect to RSC also. when I am trying to ping the IP assign to RSC its coming “no answer from <IP>.
What all can be done to get connect to server RSC?? (2 Replies)
Discussion started by: kumarmani
2 Replies
6. Solaris
Hello Folks,
I am having trouble to login to rsc or serial console of V890.
The rsc2.2.3 has been configured with required parameters, resetrs and even rebooted. When serial port is connected to laptop, The hyper terminal does not get the console or POSt messages when the server is rebooting... (8 Replies)
Discussion started by: defflepord
8 Replies
7. Solaris
Hi All, ;)
I have configured rsc hosted on Sun-Fire-V490.
But I am not able to telnet this machine
Packages installed :
#pkginfo -l | grep SUNWrsc
PKGINST: SUNWrsc
PKGINST: SUNWrscd
PKGINST: SUNWrscj
I rebooted system but still I' not able to take rsc.
I am not... (3 Replies)
Discussion started by: tuxian
3 Replies
8. HP-UX
HPUX does not recognise \h,\w,\u to display the hostname,working directory and username respectively.
So how do i set the PS1 variable to display my current working Directory as my prompt?
I also tried PS1=$PWD,
But it keeps showing the same directory path as prompt which PWD was holding at... (3 Replies)
Discussion started by: Amit Kulkarni
3 Replies
9. Shell Programming and Scripting
This is my script structure
main script calls configure script which needs to be run as a different user and the configure script calls my application installation script. the application instruction script prompts the user for a directory which I need to pass from my main or configure script.
... (4 Replies)
Discussion started by: cmastays
4 Replies
10. UNIX for Dummies Questions & Answers
how to Change the % prompt to - prompt in unix
:wall:
---------- Post updated at 07:40 AM ---------- Previous update was at 07:38 AM ----------
How To display the last modification time of any file in unix
---------- Post updated at 07:40 AM ---------- Previous update was at 07:40 AM... (2 Replies)
Discussion started by: manjiri sawant
2 Replies
LEARN ABOUT NETBSD
pam_get_user
PAM_GET_USER(3) BSD Library Functions Manual PAM_GET_USER(3)
NAME
pam_get_user -- retrieve user name
LIBRARY
Pluggable Authentication Module Library (libpam, -lpam)
SYNOPSIS
#include <sys/types.h>
#include <security/pam_appl.h>
int
pam_get_user(pam_handle_t *pamh, const char **user, const char *prompt);
DESCRIPTION
The pam_get_user function returns the name of the target user, as specified to pam_start(3). If no user was specified, nor set using
pam_set_item(3), pam_get_user will prompt for a user name. Either way, a pointer to the user name is stored in the location pointed to by
the user argument.
The prompt argument specifies a prompt to use if no user name is cached. If it is NULL, the PAM_USER_PROMPT item will be used. If that item
is also NULL, a hardcoded default prompt will be used. Either way, the prompt is expanded using openpam_subst(3) before it is passed to the
conversation function.
If pam_get_user is called from a module and the user_prompt option is set in the policy file, the value of that option takes precedence over
both the prompt argument and the PAM_USER_PROMPT item.
RETURN VALUES
The pam_get_user function returns one of the following values:
[PAM_BUF_ERR] Memory buffer error.
[PAM_CONV_ERR] Conversation failure.
[PAM_SYSTEM_ERR] System error.
SEE ALSO
openpam_subst(3), pam(3), pam_get_authtok(3), pam_get_item(3), pam_set_item(3), pam_start(3), pam_strerror(3)
STANDARDS
X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules, June 1997.
AUTHORS
The pam_get_user function and this manual page were developed for the FreeBSD Project by ThinkSec AS and Network Associates Laboratories, the
Security Research Division of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (``CBOSS''), as part of the DARPA CHATS
research program.
BSD
December 18, 2011 BSD