View previous topic :: View next topic |
Author |
Message |
ryan.n Tux's lil' helper
Joined: 07 Jul 2004 Posts: 110
|
Posted: Sat Apr 30, 2005 9:42 pm Post subject: What package is passwd in? |
|
|
Installing gentoo on section 8c of the handbook, tells me to set the root password, however, the passwd command isn't found. So what package do I need to emerge to get it? |
|
Back to top |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Sat Apr 30, 2005 9:45 pm Post subject: |
|
|
Code: |
qpkg -f /bin/passwd
sys-apps/shadow *
|
Nice little util that qpkg! |
|
Back to top |
|
|
ryan.n Tux's lil' helper
Joined: 07 Jul 2004 Posts: 110
|
Posted: Sat Apr 30, 2005 10:15 pm Post subject: |
|
|
platojones wrote: | Code: |
qpkg -f /bin/passwd
sys-apps/shadow *
|
Nice little util that qpkg! |
worked, thanks. |
|
Back to top |
|
|
IvanYosifov l33t
Joined: 15 Oct 2004 Posts: 778 Location: Bulgaria
|
Posted: Sat Apr 30, 2005 10:49 pm Post subject: |
|
|
Code: |
obelix@home ~ $ equery belongs /bin/passwd
[ Searching for file(s) /bin/passwd in *... ]
sys-apps/shadow-4.0.7-r1 (/bin/passwd)
|
qpkg is no more in the current ~x86 gentoolkit. |
|
Back to top |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Sat Apr 30, 2005 10:51 pm Post subject: |
|
|
Quote: |
qpkg is no more in the current ~x86 gentoolkit.
|
Wow things fast in "Gentoo land". Time to learn a new tool I guess. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sat Apr 30, 2005 10:56 pm Post subject: |
|
|
platojones wrote: | Wow things fast in "Gentoo land". Time to learn a new tool I guess. |
qpkg -h wrote: | NOTICE: This tool will be phased out at some point in the
future, please use equery instead.
Bugs are still fixed but new features won't be added. | Been there for a while. |
|
Back to top |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Sat Apr 30, 2005 10:59 pm Post subject: |
|
|
Quote: |
qpkg -h
....
Been there for a while.
|
I'm sure it has. Once I learned how to use qpkg a while back, though, I didn't need to do qpkg -h very often. |
|
Back to top |
|
|
arnold-f n00b
Joined: 09 Mar 2005 Posts: 46
|
Posted: Sun May 01, 2005 4:49 pm Post subject: passwd ?? where is it ?? |
|
|
I have the same problem, passwd is not found (on 2005.0 release, section 8.c of the installation manual). The qpkg -f ... doesn't work. Shall I emerge it ? Is it a more serious problem in my install ?
Thanks
AF |
|
Back to top |
|
|
smitten n00b
Joined: 19 Sep 2004 Posts: 51
|
Posted: Sun May 01, 2005 7:23 pm Post subject: |
|
|
I believe the new tool is called equery.
Check it out:
smitten@home smitten $ equery belongs /bin/passwd
[ Searching for file(s) /bin/passwd in *... ]
sys-apps/shadow-4.0.5-r3 (/bin/passwd)
smitten@home smitten $
smitten@home smitten $ equery files gentoolkit
[ Searching for packages matching gentoolkit... ]
app-portage/gentoolkit-0.2.0
* Contents of app-portage/gentoolkit-0.2.0:
/usr
/usr/bin
/usr/bin/equery
/usr/bin/etcat
/usr/bin/euse
/usr/bin/glsa-check
/usr/bin/qpkg
/usr/bin/revdep-rebuild
... |
|
Back to top |
|
|
arnold-f n00b
Joined: 09 Mar 2005 Posts: 46
|
Posted: Mon May 02, 2005 4:33 am Post subject: psswd not found |
|
|
In the 2004.3 (in stage 3) this problem didn't exist.
Question 1: Do you think think problem linked to stage 2 (more than the fact it's 2005.0)?
Anyway, I tried "equery belongs /bin/passwd" but it didn't work (equery is not known).
Question 2: I guess I have to emerge it ?
Thanks |
|
Back to top |
|
|
arnold-f n00b
Joined: 09 Mar 2005 Posts: 46
|
Posted: Mon May 02, 2005 5:24 am Post subject: [solved] passwd not found : explainations for newbies like m |
|
|
In this thread there were explainations about the way to find the package which contains passwd.
So, for dummies, like me, do only:
emerge shadow
the passwd command will be installed
Thanks to all contributors |
|
Back to top |
|
|
|