[QCLUG] Command restrictions
David Bergert
dbergert@gmail.com
Mon, 18 Jun 2007 16:11:48 -0500
looks like jhall is not configured in /etc/sudoers.
The easiest would be just using root:
$su - root
enter password: ******
#mount d2-inst.iso /home/jhall/cdrom -o loop
Jim Hall wrote:
> On 6/18/07, *Jim Hall* <volunteer.jim@gmail.com
> <mailto:volunteer.jim@gmail.com>> wrote:
>
> On 6/18/07, *Jim Hall* <volunteer.jim@gmail.com
> <mailto:volunteer.jim@gmail.com>> wrote:
>
> On 6/18/07, *David Bergert* <dbergert@gmail.com
> <mailto:dbergert@gmail.com>> wrote:
>
> run the command under sudo
>
> i,e.
>
> $sudo mount d2-inst.iso /home/jhall/cdrom -o loop
> enter password: ******
> or as the root user:
>
> $su - root
> enter password: ******
> #mount d2-inst.iso /home/jhall/cdrom -o loop
>
> Ahh .. Diablo 2 :) :) :)
>
> Jim Hall wrote:
> > I'm trying to execute the following command (from the
> directory where
> > the file is):
> > mount d2-inst.iso /home/jhall/cdrom -o loop
> >
> > Bash returns this:
> > mount: only root can do that
> >
> > I've made this user (me) part of the root group; didn't help.
> >
> > What am I missing or doing wrong?
> >
> > Jim
> >
> > --
> > This message has been scanned for viruses and
> > dangerous content by *MailScanner* <
> http://www.mailscanner.info/>, and is
> > believed to be clean.
>
> _______________________________________________
>
>
>
>
> I'll try sudo, as you've both suggested.
>
> Not just D2; D2LOD.
>
> Jim
>
>
>
> Tried sudo, got this:
> Sorry, user jhall is not allowed to execute '/bin/mount d2-inst.iso
> /home/jhall/cdrom -o loop' as root on localhost.localdomain.
>
> Jim
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.