Can the LFS/BLFS scripts start as non-root user

Joel Means jmeans at
Wed Apr 18 15:15:31 PDT 2007

John Gnew wrote:
> I am attempting to setup anope as services for Unreal IRC. If I setup a 
> script in init.d to start anope services at boot time, anope complains 
> about running as root and ends. (the anope startup script checks for root)
> So my question is, is there a way to use the LFS/BLFS scripts to start 
> anope as a non-root user?

You should be able to just use 'su - <user> -c "<command>"' in the

> If I can not use the bootscripts to allow anope to run as a non-root 
> user, is there another way to start something at boot time as a non-root 
> user?

Depending on your window manager (if you have one) there are various
ways to start programs on login.


More information about the blfs-support mailing list