Re: Can we triple boot


Subject: Re: Can we triple boot
From: Andre (charly22@sympatico.ca)
Date: Fri Jun 22 2001 - 01:50:06 MDT


I fixed some permissions (go figure).

Now if I am USER in /usr/sbin and type ./ybin it return:

     ybin : /dev/hda9 : Permission denied
     ybin : /dev/nvram : Permission denied
     ybin : Warning nvram will not be updated

And as ROOT it return the command line and does absolutly nothing!

Andre the totaly confused newbie

"Dr. Alfonso F. Agnew" a *crit :

> Were you the root user? Some commands are only visible to the root user. What are
> the permissions on it? Did you try the command form ./ybin while you were in
> /usr/sbin ?
>
> I know these things were already brought up, but it's not clear to me what's
> happening if you did try these things.
>
> Cheers,
>
> Alfonso
>
> Andre wrote:
>
> > Found it in /usr/sbin but boot or not I am still getting command not found.
> >
> > Andre
> >
> > John Canning a *crit :
> >
> > > On Thu Jun 21 20:14:48 2001 David C. Hacker, DVM wrote:
> > > >
> > > > You have to log in as root if you want to just type ybin at any command
> > > > prompt and get it to run. Otherwise you have to cd to the directory it is
> > > > in and type ./ybin. I think it is in /usr/sbin. Not at my linux box now so
> > > > don't know for sure.
> > >
> > > Under Unix/Linux, you have an environment variable called PATH. This
> > > tells your shell where to look for commands that you enter on the
> > > command line or that are called by other shell scripts.
> > >
> > > When you log in as root, your PATH is set to include /sbin and /usr/sbin.
> > > When you log in as a general user, your PATH is not set to include
> > > these "system" directories. However, you can edit your profile (the
> > > name of the file varies based on your shell) to set your PATH to
> > > have different directories included in it.
> > >
> > > If a program is not on your path, you can change directories, as David
> > > mentioned, or you can just enter a full path name (/usr/sbin/whatever).
> > >
> > > You can also set your PATH variable to look in the current directory
> > > for a command. To do that, add either a :.: or :: to your PATH variable
> > > (again, it depends on your shell).
> > >
> > > I'm old Unix person, so I live in the world of sh and ksh; since most
> > > Linux folks use bash, I am being unspecific about the shell.
> > >
> > > John



This archive was generated by hypermail 2a24 : Fri Jun 22 2001 - 00:55:52 MDT