James,

Thank You for your answer.

>Your rc file does not need to su! it IS root.

I made the rc script launch the fah script as root and it works.

>My ltsp-4 does not have a su command!

Well, this is what happens when I su when ssh logged at w00:

[EMAIL PROTECTED] w00]$ ssh w00
[EMAIL PROTECTED]'s password:
[EMAIL PROTECTED] cpn]$ su
su: incorrect password

I suppose that last message is from su. Isn't it?

I don't remember, but perhaps I installed it myself.

Regards,
Clodoaldo Pinto


Hi

> screen.d? There is a sample file at /opt/ltsp/i386/etc/rc.d. So I placed
> fahw00.sh there.
> How to make the ssh login not ask for a password?
> Are there any logs?
> 
> Clodoaldo Pinto
> 
> >>I'm trying to run a local program at startup.
> >> 
> >> This is my lts.conf:
> >> [Default]
> >>         SERVER             = 192.168.0.2
> >>         XSERVER            = auto
> >>         X_MOUSE_PROTOCOL   = "PS/2"
> >>         X_MOUSE_DEVICE     = "/dev/psaux"
> >>         X_MOUSE_RESOLUTION = 400
> >>         X_MOUSE_BUTTONS    = 3
> >>         USE_XFS            = N
> >>         LOCAL_APPS         = Y
> >>         NIS_DOMAIN         = cpn
> >>         NIS_SERVER         = 192.168.0.2
> >>         SCREEN_01          = shell
> >>         RCFILE_02          = get_time
> >>         RUNLEVEL        = 3
> >> [w00]
> >>         RCFILE_01          = fahw00.sh
> >> 
> >> And this is fahw00.sh:
> >> 
> >> #!/bin/bash
> >> su -c 'cd /home/cpn/fah/w00; ./fahb' -l cpn
> >> 
> >> I can login at the workstation with ssh from the server, although it asks
> for
> >> the password. Is it what is keeping the startup su from working?
> >> 
> >> Where are the logs so I can take a look at what is happening?
> >> 

Read the discussion on ssh keys in the ltsp-4 setup.

Executive Summary:
You can login as root by making a (/opt/ltsp/i386)/root/.ssh/authorized_keys
file with the public key(s) of the user(s) you want to login as.

ie [jam]% ssh [EMAIL PROTECTED]

You must setup the system keys as per the discussion

My ltsp-4 does not have a su command!

I don't use NIS so the details of other-than-root users is not clear.

Your rc file does not need to su! it IS root.

Your logs are on the LOG_SERVER usually your SERVER.
James

______________________________________________________________________

Participe da pesquisa global sobre o Yahoo! Mail: 
http://br.surveys.yahoo.com/global_mail_survey_br


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to