Samsung printing fixed, maybe

Mike Oliver moliver-fC0AHe2n+mcIvw5+aKnW+Pd9D2ou9A/h at public.gmane.org
Sat Mar 15 02:14:07 UTC 2008


Quoting phiscock-g851W1bGYuGnS0EtXVNi6w at public.gmane.org:

>
>> On Fri, Mar 14, 2008 at 4:29 PM,  <phiscock-g851W1bGYuGnS0EtXVNi6w at public.gmane.org> wrote:
>>>  Now the question: I'd like this 'sudo aa-complain cupsd' command to
>>>  execute automatically. I tried putting it in .profile, where it gets
>>>  executed at logon, and that doesn't work. I then put it in .bashrc,
>>> which
>>>  gets executed with each new subshell (and, I guess, each new invocation
>>> of
>>>  an application) and that appears to work. However, it also prompts me
>>> for
>>>  a password every time I create an xterm. Any ideas on how to avoid
>>> that?
>>
>> A script in expect could provide password. But that password would
>> have to be sored in script and.. of course one has to learn basics of
>> expect (which is not diffigult at all but reuires some time; I forget
>> myself.)
>>
>> zb.
>
> I'm wondering if some .init script could take care of this and do it
> system wide with root permissions.

Well, you could add a script to /etc/rcS.d/ .  Or the corresponding directory
for a later runlevel in case it depends on some other setup.  A little
brute-forceish, maybe, but it should work.

--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list