07-27-2001
You're not trying to log in as root, are you? Most of the time, "root" cannot log in from places other than the console... even then some setups may not even allow you to log in at the console. Be one with the sudo and the su commands... They are your friends...
Just a guess, but given my limited SunOS/Solaris knowledge, that'd be my first guess...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I am connecting to a unix host from NT workstation via telnet. After working for around two hours I get the message "connection to host lost" What could the problem be? (1 Reply)
Discussion started by: nbiketi
1 Replies
2. UNIX for Dummies Questions & Answers
This morning I was working by Xwindow to my unix server (hp-ux, 11 version), without any problem but this afteernoon, the connections was refused, and triying to connect using telnet, sometimes I can establish the connection and refuses me in a minute, the error message that appears is "your... (1 Reply)
Discussion started by: fvicente
1 Replies
3. UNIX for Dummies Questions & Answers
I keep receiving this message when trying to connect using telnet to SunOS 5.8 running Solaris 8 from W2k.
I checked system and inetd.conf and they seem to be ok.
I can ping the host ok.
ftp also works fine.
Any suggestion would be greatly appreciated. (2 Replies)
Discussion started by: goose
2 Replies
4. UNIX for Dummies Questions & Answers
I have a ultra 2 enterprise server without a video card. I tried to connect my PC to the sun box through console ports using hyperterminal with the standard setting(9600, 8, N, 1) but failed. The cable I used is a DB9 female--DB25 male null modem cable. Using the same setting and cable, I could... (1 Reply)
Discussion started by: yongmeic
1 Replies
5. Debian
Hi All
Is there a command (or set of commands) that can be used to kill a connection listed in the netstat table? Say there is a host connected to a certain port on your machine, and it is listed via a 'netstat -an', is there a way to issue some commands to 'disconnect' or kill that connection?
... (5 Replies)
Discussion started by: saabir
5 Replies
6. HP-UX
Hello,
We try to do an SCP of a Sybase dump file of 4Go between two production HP-UX servers.
Each time the transfer stopn at 299Mo and we have the message "connection lost".
The destination FS has largefiles option activated.
Could you help ? (7 Replies)
Discussion started by: ohemeg
7 Replies
7. UNIX for Dummies Questions & Answers
Hi Everyone,
Good day.
Scenario:
2 unix servers -- A (SunOS) and B (AIX)
I have an ftp script to sftp 30 files from A to B which happen almost instantaneously i.e 30 sftp's happen at the same time.
Some of these sftp's fail with the following error:
ssh_exchange_identification: Connection... (1 Reply)
Discussion started by: jeevan_fimare
1 Replies
8. Solaris
Hello,
In my server Sun Enterprise T5140 I have unusual problem with ILOM.
After several, several days, I can not connect to the ILOM.
For connection to the ILOM I turn off the server power and then turn it on.
Where is the problem?
Regards (10 Replies)
Discussion started by: bieszczaders
10 Replies
9. Solaris
I'm having a problem establishing a console connection between a V240 and a V440. I verified and re verified the connection was in the correct places.
Commands:
# tip hardwire
connected
Nothing happens after that. Other V440's work fine with the receiving the connection. Is there a... (8 Replies)
Discussion started by: adelsin
8 Replies
10. Ubuntu
I'm on Ubuntu – but it's the same on Debian.
I'm using tcpdump in order to track the connection of computers on my private network. At some point, the internet connection of the computers launching the script is lost as well as the targeted computers.
Here's the command line:
tcpdump -i wlan0... (0 Replies)
Discussion started by: Skirmjan
0 Replies
LEARN ABOUT CENTOS
pam_console
pam_console(8) System Administrator's Manual pam_console(8)
NAME
pam_console - determine user owning the system console
SYNOPSIS
session optional pam_console.so
auth required pam_console.so
DESCRIPTION
pam_console.so is designed to give users at the physical console (virtual terminals and local xdm-managed X sessions by default, but that
is configurable) capabilities that they would not otherwise have, and to take those capabilities away when the are no longer logged in at
the console. It provides two main kinds of capabilities: file permissions and authentication.
When a user logs in at the console and no other user is currently logged in at the console, pam_console.so will run handler programs speci-
fied in the file /etc/security/console.handlers such as pam_console_apply which changes permissions and ownership of files as described in
the file /etc/security/console.perms. That user may then log in on other terminals that are considered part of the console, and as long as
the user is still logged in at any one of those terminals, that user will own those devices. When the user logs out of the last terminal,
the console may be taken by the next user to log in. Other users who have logged in at the console during the time that the first user was
logged in will not be given ownership of the devices unless they log in on one of the terminals; having done so on any one terminal, the
next user will own those devices until he or she has logged out of every terminal that is part of the physical console. Then the race can
start for the next user. In practice, this is not a problem; the physical console is not generally in use by many people at the same time,
and pam_console.so just tries to do the right thing in weird cases.
When an application attempts to authenticate the user and this user is already logged in at the console, pam_console.so checks whether
there is a file in /etc/security/console.apps/ directory with the same name as the application servicename, and if such a file exists,
authentication succeeds. This way pam_console may be utilized to run some system applications (reboots, config tools) without root pass-
word, or to enter user password on the first system login only.
ARGUMENTS
debug turns on debugging
allow_nonroot_tty
gain console locks and change permissions even if the TTY's owner is not root.
handlersfile=filename
tells pam_console.so to get the list of the handlers from a different file than /etc/security/console.handlers
EXAMPLE
/etc/pam.d/some-system-tool:
auth sufficient pam_rootok.so
auth required pam_console.so
/etc/pam.d/some-login-service:
auth sufficient pam_console.so
auth required pam_unix.so
session required pam_unix.so
session optional pam_console.so
FILES
/var/run/console/
/var/run/console/console.lock
/etc/security/console.apps
/etc/security/console.handlers
SECURITY NOTES
When pam_console "auth" is used for login services which provide possibility of remote login, it is necessary to make sure the application
correctly sets PAM_RHOST variable, or to deny remote logins completely. Currently, /bin/login (invoked from telnetd) and gdm is OK, others
may be not.
SEE ALSO
console.perms(5)
console.apps(5)
console.handlers(5)
pam_console_apply(8)
/usr/share/doc/pam*/html/index.html
BUGS
Let's hope not, but if you find any, please report them via the "Bug Track" link at http://bugzilla.redhat.com/bugzilla/
AUTHORS
Michael K. Johnson <johnsonm@redhat.com>
Support of console.handlers and other improvements by Tomas Mraz <tmraz@redhat.com>
Red Hat 2005/10/4 pam_console(8)