Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tty authorities

Status
Not open for further replies.

Midrange

Vendor
Aug 28, 2002
135
SG
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?

Thanks..
 
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 ?

Thanks...
 
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:2:eek:nce:/etc/rc.modtty > /dev/console2>&1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top