Linux Newbie help
 help / color / mirror / Atom feed
From: Ray Olszewski <ray@comarre.com>
To: Paul Kraus <pkraus@pelsupply.com>, linux-newbie@vger.kernel.org
Subject: Re: Script as root
Date: Tue, 01 Oct 2002 08:52:47 -0700	[thread overview]
Message-ID: <5.1.0.14.1.20021001085016.02c818f0@celine> (raw)
In-Reply-To: <003101c26952$2d7ebab0$64fea8c0@pkrausxp>

Yes. You want to set the suid bit on it and have it owned by root. "man 
chmod" (or maybe other chmod documentation) for the details.

At 09:55 AM 10/1/02 -0400, Paul Kraus wrote:
>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?



--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski					-- Han Solo
Palo Alto, California, USA			  ray@comarre.com
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  parent reply	other threads:[~2002-10-01 15:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-01 13:55 Script as root Paul Kraus
2002-10-01 14:23 ` Paul Furness
2002-10-01 14:57   ` File in use Samba ( was Script as root) Paul Kraus
2002-10-01 16:12     ` Ray Olszewski
2002-10-01 14:24 ` Script as root szonyi calin
2002-10-01 14:38 ` pa3gcu
2002-10-01 15:52 ` Ray Olszewski [this message]
2002-10-01 16:11   ` Jim Reimer
2002-10-01 21:10     ` pa3gcu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.1.0.14.1.20021001085016.02c818f0@celine \
    --to=ray@comarre.com \
    --cc=linux-newbie@vger.kernel.org \
    --cc=pkraus@pelsupply.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox