Mailing List Archive

RE: only root can use console command? (solved it)
I just solved my own problem, and I thought to share it:



The problem was incorrect permissions on the config file console.cf. I
have defined a master other then the default of 'console' in this config
file.



When user's attempted to use the console command, conserver was unable
to read the config file 'console.cf', and instead tried to route the
request to the default host called 'console'. We still have a host
called console because it is part of the legacy version 7.x network. As
you may know, version 8.x clients cannot communicate with version 7.x
masters. I figured it out by manually defining the master using the
'console -M' command, which works.



Thanks for your help and kudos to a great product!



Phillip Pacheco

WIS-UNIX

Genesys







________________________________

From: Harris, David (IT Solutions US)
[mailto:david.k.harris@siemens.com]
Sent: Monday, January 14, 2008 2:30 PM
To: Phillip Pacheco; users@conserver.com
Subject: RE: only root can use console command?



What do you have in the conserver.passwd file? You *DO* have one,
don't you? :-)



Most of my users are set to authenticate with their /etc/passwd file
entry...



-Z-



David 'Zonker' Harris
Silicon Valley Service Delivery Center, Network Operations

Siemens IT Solutions and Services, Inc.
Infrastructure Management Services
39600 Eureka Drive
Newark, CA 94560
Tel: 510 624-5524
Fax: 510 624-5508
mailto: david.k.harris@siemens.com <mailto:david.k.harris@siemens.com>
www.usa.siemens.com/it-solutions
<http://www.usa.siemens.com/it-solutions>



________________________________

From: users-bounces@conserver.com [mailto:users-bounces@conserver.com]
On Behalf Of Phillip Pacheco
Sent: Monday, January 14, 2008 2:21 PM
To: users@conserver.com
Subject: only root can use console command?



Conserver,



I am missing something simple here, I think. I have setup 3 console
servers, and they each work fine, if the user is root. If I attempt to
access the console of a system as a user I get the following:



> console boromir

console: connect(): 782@console: Connection refused



I have this in my conserver.cf file:



default * { logfile /logs/console/&; timestamp 30ma; rw *; }



I thought that setting the 'rw *' in the default config line would allow
any user to connect. What am I doing wrong? Why can't normal user
accounts access the console command?



Console -V output below.



Thanks,



Phil





console: conserver.com version 8.1.11

console: default initial master server `console'

console: default port referenced as `782'

console: default escape sequence `^Ec'

console: default site-wide configuration in `/opt/csw/etc/console.cf'

console: default per-user configuration in `$HOME/.consolerc'

console: options: libwrap, openssl, pam

console: openssl version: OpenSSL 0.9.7d 17 Mar 2004

console: built with `./configure --prefix=/opt/csw
--mandir=/opt/csw/share/man --with-port=782 --with-pam --with-openssl
--with-libwrap --with-logfile=/opt/csw/var/log/conserver'








CONFIDENTIALITY NOTICE: This e-mail and any files attached may contain
confidential and proprietary information of Alcatel-Lucent and/or its
affiliated entities. Access by the intended recipient only is
authorized. Any liability arising from any party acting, or refraining
from acting, on any information contained in this e-mail is hereby
excluded. If you are not the intended recipient, please notify the
sender immediately, destroy the original transmission and its
attachments and do not disclose the contents to any other person, use it
for any purpose, or store or copy the information in any medium.
Copyright in this e-mail and any attachments belongs to Alcatel-Lucent
and/or its affiliated entities.



-------------------------------------------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: This e-mail and any files attached may contain confidential and proprietary information of Alcatel-Lucent and/or its affiliated entities. Access by the intended recipient only is authorized. Any liability arising from any party acting, or refraining from acting, on any information contained in this e-mail is hereby excluded. If you are not the intended recipient, please notify the sender immediately, destroy the original transmission and its attachments and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Copyright in this e-mail and any attachments belongs to Alcatel-Lucent and/or its affiliated entities.