Re: Auto login

From: tns1 (tns1_at_cox.net)
Date: 10/01/03

  • Next message: Paul Taylor: "Re: PC/104 bridge"
    Date: Wed, 01 Oct 2003 09:03:17 -0700
    
    

    So how do I execute different commands depending on where the login came
    from (same user in each case)?

    Ideally this would be something in .bashrc that would let me launch one
    program if the login came from the serial console, and another if it was
    the main console, yet another if it was an ssh login.
    thanks


  • Next message: Paul Taylor: "Re: PC/104 bridge"

    Relevant Pages

    • Re: Serial console trouble: loader and login works, but no kernel messages
      ... machine running 8.0-BETA2 and one running WinXP using Hyperterminal. ... On the serial console, I go from the screen with the FreeBSD logo, ... until a login tty pops up. ... A serial-only device that has no VGA ...
      (freebsd-questions)
    • Re: Serial console trouble: loader and login works, but no kernel messages
      ... Perhaps the vidconsole is favored when a keyboard is ... during kernel load and then get a login once the OS was up, ... I had to add a kernel argument to my Grub config ... On the serial console, I go from the screen with the FreeBSD logo, ...
      (freebsd-questions)
    • Re: Serial console trouble: loader and login works, but no kernel messages
      ... machine running 8.0-BETA2 and one running WinXP using Hyperterminal. ... On the serial console, I go from the screen with the FreeBSD logo, ... until a login tty pops up. ... A serial-only device that has no VGA ...
      (freebsd-questions)
    • Re: 7.2 serial console/getty problem
      ... to keep things simple (BIOS, loader, getty). ... Prior to logging in, flow control isn't used. ... serial console, prior to logging in, that characters could be lost, even ...
      (freebsd-stable)
    • Re: Control characters at login prompt
      ... I am using a em64t target with Linux operating system. ... connected through a serial console. ... In my board, after OS boots, at login prompt if I press up arrow while ... We have invoked getty process from /etc/inittab. ...
      (comp.os.linux.misc)