1847485 Members
3779 Online
110265 Solutions
New Discussion

Re: /dev/console

 
SOLVED
Go to solution
harmt01
Frequent Advisor

/dev/console

Why would the rights on this file change just out of the blue? No patches...No new program...Was 600 changed to 622

Is there a good reson for this happening?
Can I just change it back?

Life isn't about how you survived the storm, it's about how you danced in the rain!
5 REPLIES 5
Pete Randall
Outstanding Contributor
Solution

Re: /dev/console

All my machines have /dev/console permissions of 622. You can change it back but I would be willing to bet that it will end up getting changed again.


Pete

Pete
harmt01
Frequent Advisor

Re: /dev/console

OK, if you have 622 I'm good with that.

Thanks
Life isn't about how you survived the storm, it's about how you danced in the rain!
TTr
Honored Contributor

Re: /dev/console

There is probably someone logged in at console and has the "mesg" setting set to "y". No need for you to change the settings.
TTr
Honored Contributor

Re: /dev/console

The /dev/console permission mode is like that of any file.

622 means
user owner : read/write
group owner : write
others : write

So anybody can write text to the console device by using the "write" command and this can mess up your display in the middle of you doing some critical work.

To turn off write access to the console device use the "mesg" command and set it to "n", i.e. "mesg n". The check the permissions again and they should be set to 600.

You should put the "mesg -n" command in the profile!!!
harmt01
Frequent Advisor

Re: /dev/console

....
Life isn't about how you survived the storm, it's about how you danced in the rain!