home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!sun-barr!sh.wide!wnoc-tyo-news!ccut!s.u-tokyo!kekux!apricot.kek.jp!furukawa
- From: furukawa@apricot.kek.jp (Kazuro Furukawa)
- Subject: Re: WANTED: Upon boot login a user in
- Message-ID: <1992Nov5.121345.13280@kekux.kek.ac.jp>
- Sender: news@kekux.kek.ac.jp (USENET News System)
- Nntp-Posting-Host: apricot
- Organization: National Laboratory for High Energy Physics (KEK)
- References: <1992Nov2.200731.6099@dale.ksc.nasa.gov>
- Distribution: comp
- Date: Thu, 5 Nov 1992 12:13:45 GMT
- Lines: 31
-
- Hello,
-
- In article <1992Nov2.200731.6099@dale.ksc.nasa.gov> rhill@dale.ksc.nasa.gov (Russ Hill) writes:
- >Hi,
- >I need a way when a decstation boots it automatically logs in a default user.
- >I imagine that this is a major hack or total change to Xprompter.
-
- How about using undocumented feature of "su" command in /etc/ttys or
- /etc/rc?
-
- su - {username} -c {command}
-
- For example, in /etc/ttys, you can specify
-
- :0 "/bin/su - ken -c /ken/starter" none on secure window="/usr/bin/Xws"
-
- to start X server "Xws" with command "/ken/starter" by user "ken".
- You can manually start X server and commands from /etc/rc modifying
- /etc/ttys as
- :0 none none
-
- These set-up's are useful for a console desk of some plant. I hope this
- helps.
-
- >Russ Hill
- >rhill@dale.ksc.nasa.gov
- >(407) 633-3950
- --
- Kazuro Furukawa
- National Laboratory for High Energy Physics (KEK), Japan
- furukawa@kek.jp furukawa@jpnkekvx.bitnet kekvax::furukawa (hepnet)
-