LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   printing permission problem. (https://www.linuxquestions.org/questions/linux-newbie-8/printing-permission-problem-666561/)

visitnag 08-30-2008 07:26 PM

printing permission problem.
 
Recently we migrated to RHEL4es from RH8. We are using a line printer on the server. But whenever the server is restarted the /dev/lp0 (which we use to printer) permissions are getting changed and for every reboot we have are changing the permissions by using chmod 777 /dev/lp0 through root. When we kept this command in bash profile, whenever we restart the server it is giving the error 'command not authorised chmod 777 /dev/lp0' but it is changing the /dev/lp0 permissions to 777 and without any problem we are using the printer. How to overcome the error message?

Fantasio 08-31-2008 04:46 AM

see in /etc/udev ...
There, you 'll be able to force access rights

visitnag 09-02-2008 12:12 PM

i saw /etc/udev there udev.conf... but i am unable to understand how to force /dev/lp0 to 777 permissions. I kept chmod 777 /dev/lp0 in /etc/profile. But Whenever i login it is giving error as i told earlier. My question is it safe to keep this command in roots bash profile. We were told that not to change roots bash profile. Is it safe or not?


All times are GMT -5. The time now is 04:28 AM.