LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-09-2007, 01:00 PM   #1
fmcauley
LQ Newbie
 
Registered: Sep 2006
Posts: 5

Rep: Reputation: 0
User Privileges to network boot a Linux box


Hi,

I am writing a Shell/Perl Script to allow user to change the IPaddress of a Linux server. I have written the script and it works as long as i am logged in as root. I need to give the login that i created the ability to over write three files and then preform a network boot of the server. How can i give a user account the same or similar permissions are root? Also, how can I setup my login to execute the script first thing?

Thanks,
fmcauley
 
Old 01-09-2007, 02:04 PM   #2
visaris
Member
 
Registered: Dec 2004
Distribution: gentoo
Posts: 190

Rep: Reputation: 30
a properly configured sudo setup could give you the permissions you need. Or, you could make a suid executable. Goggle for sudo a bit, I'm sure you can learn how to use it without too much trouble.

As for the automatic run of the script, look into the .bashrc or similar file your shell executes on startup.
 
Old 01-09-2007, 04:59 PM   #3
fmcauley
LQ Newbie
 
Registered: Sep 2006
Posts: 5

Original Poster
Rep: Reputation: 0
thanks

I will look into those options. Thanks for the fast reply!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to list user in Linux box, add an user to a group! steady_lfcfan Linux - Newbie 12 01-27-2013 02:14 PM
Linux - How to add a new user with the same root/super-user's privileges? asgarcymed Linux - General 8 12-23-2006 08:45 PM
Root privileges for user ar1 Linux - Security 2 01-07-2005 10:33 PM
User with root privileges ShakyJake Linux - Newbie 2 06-18-2004 01:12 PM
user privileges rieta Linux - Newbie 9 08-29-2002 12:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration