Mailinglist Archive: opensuse (1690 mails)
| < Previous | Next > |
Re: [opensuse] Post installation queries (FIRST successful installation of Linux)
- From: Patrick Shanahan <paka@xxxxxxxxxxxx>
- Date: Fri, 4 Nov 2011 15:56:54 -0400
- Message-id: <20111104195654.GK17834@wahoo.no-ip.org>
* Linux Tyro <opensuse.bkn1@xxxxxxxxx> [11-04-11 13:27]:
this is really simple, when you type a command w/o it's path, your system
searches it's path, $PATH, for the command. It cannot find the command
because your $PATH does not contain /sbin which is a path normally
reserved for "root user", ie: require root password.
you can display your path, $PATH
echo $PATH
--
(paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711
http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org openSUSE Community Member
Registered Linux User #207535 @ http://linuxcounter.net
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx
Not last but a doubt is that when I type:
linuxworld@linux-g34l:~> sudo yast
sudo: yast: command not found
it doesn't work, but when I do type the following:
linuxworld@linux-g34l:~> sudo /sbin/yast
it works, just wanted to know the basic difference, and the same when
I used ' sudo reboot' (didn't work) but 'sudo /sbin/reboot' (worked).
this is really simple, when you type a command w/o it's path, your system
searches it's path, $PATH, for the command. It cannot find the command
because your $PATH does not contain /sbin which is a path normally
reserved for "root user", ie: require root password.
you can display your path, $PATH
echo $PATH
--
(paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711
http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org openSUSE Community Member
Registered Linux User #207535 @ http://linuxcounter.net
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx
| < Previous | Next > |