Hi there, I've changed the authorities of some of my tty to 666 but when i reboot the machine the tty authorities will chaged to default. How can I get rid of this?
You can't. The permissions are hardcoded and will get reset every time a penable/pdisable/getty does anything.
If you need to dail out from the system put the user into the uucp group or make the binary you are using setgid uucp.
My problem was the tty was configured for the remote printing and I need to change the tty authorities to 666 to let the other users to print. But after the reboot the tty authorities back to default (600)..If that will be the case and file or program on the inittab where in I can add the command chmod for the tty ?
Are you printing straight to the tty instead of using an aix print queue? I think using a queue would be much better.
If you want to chmod the tty just create a script (ie, /etc/rc.modtty) and put in an entry at the end of /etc/inittab like:
modtty:2nce:/etc/rc.modtty > /dev/console2>&1
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.