2 Questions - SCO

This is a discussion on 2 Questions - SCO ; Q1. I want to disable the graphical interface which appears in tty02 when I restart the SCO Unix ( Ver 5.0.6). Q2. Our application requires the /dev/tty10 /dev/tty11 /dev/tty12 owner, group and mode to be online nline, read-write for all ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: 2 Questions

  1. 2 Questions

    Q1.
    I want to disable the graphical interface which appears in tty02 when
    I restart the SCO Unix ( Ver 5.0.6).

    Q2.
    Our application requires the /dev/tty10 /dev/tty11 /dev/tty12 owner,
    group and mode to be onlinenline, read-write for all ( chmod 666 ).

    crw-rw-rw- 1 online online 0, 9 Sep 16 08:09 tty10
    crw-rw-rw- 1 online online 0, 10 Sep 16 08:09 tty11
    crw-rw-rw- 1 online online 0, 11 Sep 16 08:09 tty12

    After I change the owner, group and mode and restart the server, the
    device owner, group and mode changes back as below :

    crw------- 1 bin terminal 0, 9 Sep 16 08:09 tty10
    crw------- 1 bin terminal 0, 10 Sep 16 08:09 tty11
    crw------- 1 bin terminal 0, 11 Sep 16 08:09 tty12

    How can I keep the owner, group and mode permanent..

    Please advise urgenlty


  2. Re: 2 Questions


    ----- Original Message -----
    From: "sdhaya"
    Newsgroups: comp.unix.sco.misc
    To:
    Sent: Tuesday, September 16, 2008 1:18 AM
    Subject: 2 Questions


    > Q1.
    > I want to disable the graphical interface which appears in tty02 when
    > I restart the SCO Unix ( Ver 5.0.6).



    scologin disable



    > Q2.
    > Our application requires the /dev/tty10 /dev/tty11 /dev/tty12 owner,
    > group and mode to be onlinenline, read-write for all ( chmod 666 ).
    >
    > crw-rw-rw- 1 online online 0, 9 Sep 16 08:09 tty10
    > crw-rw-rw- 1 online online 0, 10 Sep 16 08:09 tty11
    > crw-rw-rw- 1 online online 0, 11 Sep 16 08:09 tty12
    >
    > After I change the owner, group and mode and restart the server, the
    > device owner, group and mode changes back as below :
    >
    > crw------- 1 bin terminal 0, 9 Sep 16 08:09 tty10
    > crw------- 1 bin terminal 0, 10 Sep 16 08:09 tty11
    > crw------- 1 bin terminal 0, 11 Sep 16 08:09 tty12
    >
    > How can I keep the owner, group and mode permanent..


    If your application requires it, then surely your application vendor supplies directions for arranging it, as part of their install directions?

    disable tty{10,11,12}
    chown onlinenline /dev/tty{10,11,12}



    Then, just to prove it's doing what you want:
    ls -l /dev/tty{10,11,12}
    shutdown -i6 -g0 -y
    ls -l /dev/tty{10,11,12}


    man init
    man getty
    man initcond

    --
    Brian K. White brian@aljex.com http://www.myspace.com/KEYofR
    +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
    filePro BBx Linux SCO FreeBSD #callahans Satriani Filk!


  3. Re: 2 Questions

    In article <8B005451DE864FDBA494C85F91638332@venti>,
    Brian K. White wrote:
    >
    >----- Original Message -----
    >From: "sdhaya"
    >> Our application requires the /dev/tty10 /dev/tty11 /dev/tty12 owner,
    >> group and mode to be onlinenline, read-write for all ( chmod 666 ).
    >>
    >> crw-rw-rw- 1 online online 0, 9 Sep 16 08:09 tty10
    >> crw-rw-rw- 1 online online 0, 10 Sep 16 08:09 tty11
    >> crw-rw-rw- 1 online online 0, 11 Sep 16 08:09 tty12
    >>
    >> After I change the owner, group and mode and restart the server, the
    >> device owner, group and mode changes back as below :
    >>
    >> crw------- 1 bin terminal 0, 9 Sep 16 08:09 tty10
    >> crw------- 1 bin terminal 0, 10 Sep 16 08:09 tty11
    >> crw------- 1 bin terminal 0, 11 Sep 16 08:09 tty12
    >>
    >> How can I keep the owner, group and mode permanent..

    >
    >disable tty{10,11,12}
    >chown onlinenline /dev/tty{10,11,12}


    Also, to retain the ownership/mode beyond the next relink/kernel
    environment rebuild, be sure to change the appropriate values in
    /etc/conf/node.d/cn

    See the idmknod(ADM) man page.

    John
    --
    John DuBois spcecdt@armory.com KC6QKZ/AE http://www.armory.com/~spcecdt/

+ Reply to Thread