LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-12-2002, 06:36 AM   #1
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Rep: Reputation: 32
loginscript running at bootup


hy!

i have written a loginscript which mounts several dirves to my local pc.

at the moment i have to log in as root at console an start this script.

what about autmatically starting this script ? the problem is this script has to be started as root !!

any ideas ?

cu
 
Old 11-12-2002, 06:58 AM   #2
vladkrack
Member
 
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

Rep: Reputation: 30
The right place to mount anything at startup, including network points, is /etc/fstab.

If you need something else that is in your script to run as root, put in /etc/rc.d/rc.local.

Hope that helps ....
 
Old 11-12-2002, 07:15 AM   #3
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Original Poster
Rep: Reputation: 32
thanx

i`ll trie that!
 
  


Reply



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
running sfxload <soundfont> at bootup farpoint Debian 2 05-09-2005 06:03 AM
Loginscript for Debian Sarge GSX Linux - Newbie 1 02-25-2005 12:12 AM
Problems trying to get Network running on bootup jimmilly Linux - Networking 1 08-02-2003 01:42 PM
Running Java Socket Program in a shell during bootup TomCruise2002 Linux - Newbie 1 10-15-2002 10:28 PM
Running commands on bootup robeb Linux - General 7 08-11-2002 08:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:54 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
Open Source Consulting | Domain Registration