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


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_____________________________________________________________________
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