From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200006211709.NAA16852@akbar.nevex.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] plan9 networking trouble. In-reply-to: Your message of "Wed, 21 Jun 2000 15:58:40 GMT." <8iqnet$15k0$1@pandora.alkar.net> Date: Wed, 21 Jun 2000 13:09:44 -0400 From: Steve Kotsopoulos Topicbox-Message-UUID: c682c52a-eac8-11e9-9e20-41e7f4b1d025 Wladimir Mutel wrote: > > On a terminal, boot completes by exec'ing /$objtype/init -t > > On a cpuserver, it exec's /$objtype/init -c > > This causes init to run termrc or cpurc > > Thank you, I read all related mans and now understand booting process > some better. But in order to set 'service', do we need to rebuild > the kernel or we may simply write this setting in plan9.ini ? If you wanted to change this, you'd have to modify the kernel source. I really can't understand why you'd want to change it, though as you'll likely break things farther down the chain. Look at /sys/src/9/pc/main.c, you'll find: if(cpuserver) ksetenv("service", "cpu"); else ksetenv("service", "terminal"); The value of cpuserver gets set in the kernel config file, /sys/src/9/pc/pc or /sys/src/9/pc/pccpu > And to help the beginner, is there any way to restart only > terminal server and log on as another user, without rebooting the > complete system ? no, you must reboot the terminal to login as a different user the terminal's username (and their password) is prompted for by boot(8) and then used to connect to the fileserver.