rc.local, Permission denied

Germer Peter pgermer at www.zeon.hu
Thu Jun 2 07:56:03 UTC 2005


> On Thu, 2005-06-02 at 00:13 +0200, Germer Peter wrote:
>> Hi all!
>>
>> Since last update I have some problems in my FC4 (using FC4test2
>> 1366smp):
>>
>> I have these lines in rc.local file:
>>
>> su -lc "vncserver :1" user1
>> su -lc "vncserver :2" user2
>> su -lc "vncserver :3" user3
>>
>> but all of them I get this error message:
>>
>> su: Permission denied /bin/bash
>>
>> I still call from rc.local proftpd too, but permission denied error
>> occurs, can't load /etc/proftpd.conf.
>> (-rw-r--r--  1 root root 1867 máj 18 21:49 proftpd.conf)
>>
>> I installed proftpd and the other lines after the last update.
>> What should be the problem?
>
> What are the permissions on rc.local?
>
> Thomas
>

Permissions are:
-rwxr-xr-x  1 root root 411 jun  1 17:05 /etc/rc.d/rc.local







More information about the fedora-test-list mailing list