Re: Use of telinit by regular users
Cameron Dale said:
> I am not a member of this mailing list, so please copy me on all replies.
>
> I have a 4 year old laptop running potato (2.2r6). I use the various
> runlevels to
> control the services that are running. I want a regular user to be able to
> switch runlevels, but telinit seems to be able to only be run by root.
>
> Is there a way to get around this?
since security is not a concern, have you tried making /sbin/init
setuid? or have you tried using sudo something like sudo init 3
or something?
I don't have a system myself that I can test this on at the moment
but I'm sure at least the sudo method would work(you can set it to
not prompt for a password). the setuid method should probably work
too.
nate
Reply to: