On Sun, Aug 19, 2007 at 09:53:20AM -0800, Ken Irving wrote:
> On Sun, Aug 19, 2007 at 07:56:07PM +0300, Andrei Popescu wrote:
> > On Sun, Aug 19, 2007 at 07:09:29AM -0800, Ken Irving wrote:
> >
> > > > > $ sudo sh -c "cd /home ; du -s * ??? sort -rn > USAGE"
> > > > >
> > > > > So, you can do it
On Sun, Aug 19, 2007 at 07:56:07PM +0300, Andrei Popescu wrote:
> On Sun, Aug 19, 2007 at 07:09:29AM -0800, Ken Irving wrote:
>
> > > > $ sudo sh -c "cd /home ; du -s * ??? sort -rn > USAGE"
> > > >
> > > > So, you can do it in on command, sudo is lauching a shell, which is
> > > > responsible
On Sun, Aug 19, 2007 at 07:09:29AM -0800, Ken Irving wrote:
> > > $ sudo sh -c "cd /home ; du -s * ??? sort -rn > USAGE"
> > >
> > > So, you can do it in on command, sudo is lauching a shell, which is
> > > responsible of redirections, pipes, chaining commands...
> >
> > Please correct me if I
>"Douglas A. Tutty" <[EMAIL PROTECTED]>
>Today 08:59:23
>On Sun, Aug 19, 2007 at 01:58:10PM +0300, Andrei Popescu wrote:
> On Sun, Aug 19, 2007 at 11:36:03AM +0200, Gilles Mocellin wrote:
>
> > I've just read the manpage of sudo, and here's what it says :
> >
> > To make a usage listing of
On Sun, Aug 19, 2007 at 01:58:10PM +0300, Andrei Popescu wrote:
> On Sun, Aug 19, 2007 at 11:36:03AM +0200, Gilles Mocellin wrote:
>
> > I've just read the manpage of sudo, and here's what it says :
> >
> > To make a usage listing of the directories in the /home partition. Note
> > that
> > t
On Sun, Aug 19, 2007 at 01:58:10PM +0300, Andrei Popescu wrote:
> On Sun, Aug 19, 2007 at 11:36:03AM +0200, Gilles Mocellin wrote:
>
> > I've just read the manpage of sudo, and here's what it says :
> >
> > To make a usage listing of the directories in the /home partition. Note
> > that
> > t
On Sun, Aug 19, 2007 at 11:36:03AM +0200, Gilles Mocellin wrote:
> I've just read the manpage of sudo, and here's what it says :
>
> To make a usage listing of the directories in the /home partition. Note that
> this runs the commands in a sub-shell to make the cd and file redirection
> work.
Le Sunday 19 August 2007 11:08:42 Gilles Mocellin, vous avez écrit :
> Le Sunday 19 August 2007 01:00:16 Andrei Popescu, vous avez écrit :
> > On Sat, Aug 18, 2007 at 03:35:05PM -0500, Gnu_Raiz wrote:
> > > cat sudo_file
> > > # /etc/sudoers
> > > #
> > > # This file MUST be edited with the 'visud
Le Sunday 19 August 2007 01:00:16 Andrei Popescu, vous avez écrit :
> On Sat, Aug 18, 2007 at 03:35:05PM -0500, Gnu_Raiz wrote:
> > cat sudo_file
> > # /etc/sudoers
> > #
> > # This file MUST be edited with the 'visudo' command as root.
> > #
> > # See the man page for details on how to write a su
On Sat, Aug 18, 2007 at 03:35:05PM -0500, Gnu_Raiz wrote:
> cat sudo_file
> # /etc/sudoers
> #
> # This file MUST be edited with the 'visudo' command as root.
> #
> # See the man page for details on how to write a sudoers file.
> #Defaultsenv_reset
>
> # Host alias specification
>
> # Us
cat sudo_file
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#Defaultsenv_reset
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specificati
On Sat, Aug 18, 2007 at 09:22:00AM -0500, Gnu_Raiz wrote:
> I am writing a shell script that requires sudo so I can hibernate my
> machine, as package hibernate has a bug that disallows its useage. When
> I go to change the permissions using visido to allow no password, and
> access to the /sys
I am writing a shell script that requires sudo so I can hibernate my
machine, as package hibernate has a bug that disallows its useage. When
I go to change the permissions using visido to allow no password, and
access to the /sys/power/state file I still get no permission errors. I
even have s
13 matches
Mail list logo