--- Paul Kraus <[EMAIL PROTECTED]> a �crit�: > I
have a backup script that mounts a drive on my xp
> workstations. Is
> there a way I can set this script to run as root so
> that I do not have
> to su every time I want to run it?
> 

sudo is used for running commands as a different user.
man sudo

If you want the script to run regullarly you can use
cron.

man crond
man crontab 
Pay attention to the EDITOR variable in your shell 
because this editor is used to edit crontab

You can mount your partition as user.
man fstab

Bye
Calin

> Paul Kraus
> Network Administrator
> PEL Supply Company
> 216.267.5775 Voice
> 216-267-6176 Fax
> www.pelsupply.com
> > BEGIN:VCARD
> VERSION:2.1
> N:Kraus;Paul
> FN:Paul Kraus ([EMAIL PROTECTED])
> ORG:PEL Supply Company
> TITLE:Network Administrator
> TEL;WORK;VOICE:(216) 267-5775
> TEL;CELL;VOICE:(216) 410-5526
> TEL;WORK;FAX:(216) 267-6176
> ADR;WORK:;;4666 Manufacturing
> Road;Cleveland;Ohio;44135;United States of America
> LABEL;WORK;ENCODING=QUOTED-PRINTABLE:4666
> Manufacturing Road=0D=0ACleveland, Ohio
> 44135=0D=0AUnited States of Ame=
> rica
> ADR;HOME:;;;;;;United States
> LABEL;HOME:United States
> URL;WORK:http://www.pelsupply.com
> EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
> REV:20020416T182124Z
> END:VCARD
>  

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to