Re: run root script at start-up

2002-07-17 Thread Kevin Myers
On Wed, 17 Jul 2002 09:28:18 +0300, Caner wrote: >> That is what I did. THe problem is, its a root task and I get permission >> denied. > >oh, yes, yes, yes > >chmod +s /bin/mount > Not a good security move. Read man mount, man sudo for better alternatives. __

Re:Re: run root script at start-up

2002-07-16 Thread Caner Baydemir
> That is what I did. THe problem is, its a root task and I get permission > denied. oh, yes, yes, yes chmod +s /bin/mount ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list

Re: run root script at start-up

2002-07-16 Thread Todd A. Jacobs
On Tue, 16 Jul 2002, Matt McElreath wrote: > I have a couple scripts that mount my windows c: and d: drives. How can > I get them to run at start-up for a non-root user? Why not just add them to your /etc/fstab? You can use the "users" option, which will let users mount and unmount the partitio

Re: run root script at start-up

2002-07-16 Thread Gordon Messmer
On Tue, 2002-07-16 at 08:13, John P Verel wrote: > On 07/16/02 16:48 +0200, Banze, Andreas wrote: > > > I have a couple scripts that mount my windows c: and d: > > > drives. How can I get them to run at start-up for a non-root user? > > > Simply put them in /etc/fstab thusly: > > /dev/hda1 /mnt

Re:Re: run root script at start-up

2002-07-16 Thread Matt McElreath
That is what I did. THe problem is, its a root task and I get permission denied. -- Caner Baydemir <[EMAIL PROTECTED]> writes: From: Caner Baydemir <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: run root script at start-up Date: Tue, 16 Jul 2002 17:50:28 +0300

Re: run root script at start-up

2002-07-16 Thread John P Verel
On 07/16/02 16:48 +0200, Banze, Andreas wrote: > > I have a couple scripts that mount my windows c: and d: > > drives. How can I get them to run at start-up for a non-root user? > Simply put them in /etc/fstab thusly: /dev/hda1 /mnt/vfatvfat user,owner,exec,dev,suid,rw,conv=binary,uid=500,

Re: run root script at start-up

2002-07-16 Thread Caner Baydemir
> I have a couple scripts that mount my windows c: and d: drives. How can I > get them to run at start-up for a non-root user? try this: 1- create a bash script file, example: script_file. insert the following lines: #!/bin/bash your scripts save and quit. 2- chmod +x script_file 3- mv

RE: run root script at start-up

2002-07-16 Thread Banze, Andreas
> I have a couple scripts that mount my windows c: and d: > drives. How can I get them to run at start-up for a non-root user? do you really need to start them at start-up or is login sufficient? login: put them in ~/.bashrc (in case you're using bash). if all users should have these scripts

run root script at start-up

2002-07-16 Thread Matt McElreath
I have a couple scripts that mount my windows c: and d: drives. How can I get them to run at start-up for a non-root user? Matt GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno toda