FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

LinkBack Thread Tools
Old 12-07-2011, 08:31 AM
Leander Jedamus
Default May scripts and tasks invoked via rc.local run with root permissions?

Am 07.12.2011 02:39, schrieb Jay Ridgley:
I have a situation where I would like to run a script every time the
system boots. The requirements are such that it must run as root. If
the owner is specified as root and invoked from rc.local during start
up will the script in effect run the same as it were invoked from the
command line with sudo?
Maybe not. When you are logged in, there's the environment as your
normal user. Now when you run a script with rc.local there is not the
same environment.

Leander Jedamus
empty the bit bucket on /dev/null.

ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Thread Tools

All times are GMT. The time now is 11:16 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org