[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Remote Console Login



Charlie,

I tried adding pts/[0-9] to the /etc/security/console.perms file, and
this did not seem to enable me to acquire the same type of login as I am
able to obtain when I log into the physical console.

If I remotely login as any user, other than root, and try to run my
application, it still does not play sound as it does when I log into the
"physical" console.

However, when I remotely login as root and launch my application, it
plays sound, etc., just fine on the remote machine.

I have no clue how to solve this problem, other than by logging in
remotely as root, which I was hoping to avoid...

Do you have any other suggestions?

Take care,
Darwin


---

CONFIDENTIALITY NOTICE:  This email and any attachments are for the
exclusive and confidential use of the intended recipient.  If you are
not the intended recipient, please do not read, distribute or take
action in reliance upon this message.  If you have received this in
error, please notify us immediately by return email and promptly delete
this message and its attachments from your computer system.  We do not
waive work product privilege by the transmission of this message.
  



-----Original Message-----
From: Charles Ballowe [mailto:hangman@steelballs.org] 
Sent: Thursday, March 28, 2002 2:03 PM
To: Darwin Airola
Subject: Re: Remote Console Login

the pam_console module re-assigns ownership of console devices (audio,
cdrom,
floppy, etc) when somebody logs in to the physical console. Disabling
this,
putting the audio devices in group audio, and adding your self to group
audio could fix your problems but would break the handling of console
functionality.

You could also add pts/[0-9] to the line in /etc/security/console.perms
that begins with <console> and then it should treat the first 10 remote
logins as console logins. Note: pam_console only changes things for the
first person to log on to console -- i.e. if you're not first, they'll
own it. Once they log out, the next one to log in gets it.

hope this helps
-charlie

(note: man pam_console and console.perms for mor info)

On Thu, Mar 28, 2002 at 01:52:01PM -0600, Darwin Airola wrote:
> Hello, again!
> 
> I just read the message that I sent out to the group and I think that
it
> is unclear what I am trying to do.  Basically, what I want to do is to
> be able to startup (via a remote login) a multimedia X11 application
> that I wrote.  I want the application to run on the machine that I am
> remotely logged into and to be able to access the audio of the machine
> that I am remotely logged into.
> 
> I seem to have the system setup so that my application can access the
> display of the machine that I am remotely logged into, but I cannot
> figure out how to modify the PAM configuration so that my application
> can access the audio device of the machine that I am remotely logged
> into.
> 
> To be able to access the display of the machine that I am remotely
> logged into, I did have to make changes to the PAM configuration
before
> it would allow me to start up the X server on that machine via my
remote
> login to that machine...  Thus, I am quite certain that I need to make
> some other changes to my PAM configuration before I will be able to
> access the audio device on that machine, especially since I can access
> the audio device if I log into the machine via a local console
login...
> 
> Take care,
> Darwin
> 
> 
> 
> -----Original Message-----
> From: pam-list-admin@redhat.com [mailto:pam-list-admin@redhat.com] On
> Behalf Of Darwin Airola
> Sent: Thursday, March 28, 2002 1:40 PM
> To: pam-list@redhat.com
> Subject: Remote Console Login
> 
> Hello!
> 
> I am having some extreme difficulty setting up RedHat V7.2 to accept a
> remote console login that behaves identically to a local console
login.
> 
> If I login to my machine remotely (via ssh) and then run startx on
:0.0
> (the local display), I cannot set run aumix (it returns with errors
> stating that it cannot access the audio device).
> 
> HOWEVER, if I login locally and then run startx on :0.0 and THEN
logout,
> I can immediately login remotely (via the same account that I just
> performed the local login with), run startx on :0.0 and access aumix
of
> the machine that I am logged into.  However, after some period of
time,
> aumix (and the audio device) become inaccessible to me.
> 
> Can one of you smart people please tell me how I can setup RedHat so
> that I can remotely login to a machine and obtain a remote console
login
> that is identical to the standard RedHat local console login?
> 
> Any assistance with this matter would be GREATLY appreciated!
> 
> Take care,
> Darwin
> 
> 
> ---
> 
> CONFIDENTIALITY NOTICE:  This email and any attachments are for the
> exclusive and confidential use of the intended recipient.  If you are
> not the intended recipient, please do not read, distribute or take
> action in reliance upon this message.  If you have received this in
> error, please notify us immediately by return email and promptly
delete
> this message and its attachments from your computer system.  We do not
> waive work product privilege by the transmission of this message.
> 
> 
> 
> 
> 
> _______________________________________________
> Pam-list mailing list
> Pam-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/pam-list
> 
> 
> 
> 
> 
> _______________________________________________
> Pam-list mailing list
> Pam-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/pam-list







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []