Welcome
|
FAQ
|
Downloads
|
Wiki
Tiny Core Linux
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Need an
Introduction
to Tiny Core? Or peruse
Core Concepts
.
Home
Help
Login
Register
Tiny Core Linux
»
dCore Import Debian Packages to Mountable SCE extensions
»
dCore X86
»
passwd (not) updated successfully
« previous
next »
Print
Pages: [
1
]
2
Go Down
Author
Topic: passwd (not) updated successfully (Read 6994 times)
hiro
Hero Member
Posts: 1229
passwd (not) updated successfully
«
on:
August 25, 2015, 09:39:34 PM »
First time I'm trying out dcore, wondering...
root@box:~# passwd
passwd: password updated successfully
root@box:~# ls -l `which passwd`
lrwxrwxrwx 1 root root 41 Aug 26 00:39 /usr/bin/passwd -> /tmp/tcloop/openssh-server/usr/bin/passwd
Would you also use that huge openssh package with all those dependencies from debian, or is there a way to easily use the extensions from tc6 repo if they are preferred?
Logged
hiro
Hero Member
Posts: 1229
Re: passwd (not) updated successfully
«
Reply #1 on:
August 27, 2015, 05:00:38 AM »
There are also other problems. Sometimes I get segfaults when passwords get queried.
Logged
Jason W
Retired Admins
Hero Member
Posts: 9730
Re: passwd (not) updated successfully
«
Reply #2 on:
August 27, 2015, 10:05:39 AM »
Busybox passwd has the features dCore needs, so for now I can remove the passwd command from being installed from Debian. I will work on finding the issue in the passwd package.
I import and use the ssh package from Debian. For things that the Debian versions either are not available or do not work, we keep a prebuilt section. We can't mix the tcz repo alongside our prebuilt or Debian repo packages.
Logged
hiro
Hero Member
Posts: 1229
Re: passwd (not) updated successfully
«
Reply #3 on:
August 27, 2015, 10:54:59 AM »
removing debian password sounds like the right thing to me, yeah.
i'm curious whether i'm really the only one who experienced these problems due to fear of having done something wrong...
Logged
Jason W
Retired Admins
Hero Member
Posts: 9730
Re: passwd (not) updated successfully
«
Reply #4 on:
August 27, 2015, 11:51:25 AM »
We use our own startup scripts to deal with problems that the native script does not take care of. Or, we can upload a prebuilt version of the package, or delete/add files. Thanks for testing, the more folks that use dCore the more issues and solutions we will find.
Logged
hiro
Hero Member
Posts: 1229
Re: passwd (not) updated successfully
«
Reply #5 on:
September 02, 2015, 01:18:24 PM »
I haven't upgraded yet, so I'm not sure if you fixed it already. Either way I would really like to understand what's going on.
When I run su the one being used is /tmp/tcloop/openssh-server/bin/su
When I do that I don't get a password prompt. It always succeeds for every user.
I don't think this should happen
Logged
Jason W
Retired Admins
Hero Member
Posts: 9730
Re: passwd (not) updated successfully
«
Reply #6 on:
September 02, 2015, 03:48:04 PM »
I see the issue, will fix it tonight.
Logged
Jason W
Retired Admins
Hero Member
Posts: 9730
Re: passwd (not) updated successfully
«
Reply #7 on:
September 02, 2015, 07:47:31 PM »
should be fixed, please re-import any SCEs that contain the passwd package and test.
Logged
hiro
Hero Member
Posts: 1229
Re: passwd (not) updated successfully
«
Reply #8 on:
September 03, 2015, 09:50:58 AM »
openssh-server now has as dependencies:
adduser
coreutils
debconf
debianutils
dpkg
findutils
gcc-4.9-base
init-system-helpers
initscripts
insserv
libacl1
libattr1
libaudit-common
libaudit1
libblkid1
libbsd0
libbz2-1.0
libc6
libcomerr2
libedit2
libgcc1
libgssapi-krb5-2
libk5crypto3
libkeyutils1
libkrb5-3
libkrb5support0
libmount1
libncurses5
libncursesw5
libpam-modules
libpam-runtime
libpam0g
libpcre3
libprocps3
libselinux1
libsemanage-common
libsemanage1
libsepol1
libsmartcols1
libssl1.0.0
libtinfo5
libudev1
libustr-1.0-1
libuuid1
libwrap0
login
lsb-base
mount
ncurses-base
openssh-client
openssh-server
openssh-sftp-server
passwd
perl-base
procps
sensible-utils
startpar
sysv-rc
sysvinit-utils
zlib1g
Seems like debian needs a lot of babysitting from you guys to do anything
Have to reboot the system an other time to test. It's running stuff I need right this moment.
«
Last Edit: September 03, 2015, 09:52:45 AM by hiro
»
Logged
Jason W
Retired Admins
Hero Member
Posts: 9730
Re: passwd (not) updated successfully
«
Reply #9 on:
September 03, 2015, 11:21:05 AM »
But out of 20,000+ packages, very few need any adjustment on our end as most just work. And once adjusted, then the fix applies to all dCore ports and across many releases. The work is by far done by them, not me. :-)
Logged
hiro
Hero Member
Posts: 1229
Re: passwd (not) updated successfully
«
Reply #10 on:
September 03, 2015, 11:35:56 AM »
yeah, all those graphical apps that people use are probably fine as long as the base works.
I like not having to force all this software to fit into tinycorelinux package repos, seems like duplicated effort especially when every package anyways depends on every other package (not distribution-specific, but typical for big programs)
it does freak me out though that a basic program like openssh gets all those dependencies by default in debian. dcore showcases that fact quite well. so perhaps it's helpful in rising awareness
Logged
hiro
Hero Member
Posts: 1229
Re: passwd (not) updated successfully
«
Reply #11 on:
September 22, 2015, 06:17:45 PM »
Quote from: Jason W on September 02, 2015, 03:48:04 PM
I see the issue, will fix it tonight.
can you tell me what you saw/fixed?
I rebooted my server now but i still have the old problem.
Should running sce-update before rebooting have been enough?
Logged
Jason W
Retired Admins
Hero Member
Posts: 9730
Re: passwd (not) updated successfully
«
Reply #12 on:
September 22, 2015, 06:53:37 PM »
I moved to using busybox passwd.
What is the output of the command -
which passwd
Logged
hiro
Hero Member
Posts: 1229
Re: passwd (not) updated successfully
«
Reply #13 on:
September 23, 2015, 11:40:24 PM »
$ ls -l `which passwd`
lrwxrwxrwx 1 root root 41 Sep 22 22:26 /usr/bin/passwd -> /tmp/tcloop/openssh-server/usr/bin/passwd
also, even more concerning:
$ ls -l `which su`
lrwxrwxrwx 1 root root 33 Sep 22 22:26 /bin/su -> /tmp/tcloop/openssh-server/bin/su
Can you explain what's technically happening here? Why is the debian su failing to protect us in any way and doesn't ask for a password?
«
Last Edit: September 24, 2015, 12:07:33 AM by hiro
»
Logged
hiro
Hero Member
Posts: 1229
Re: passwd (not) updated successfully
«
Reply #14 on:
September 24, 2015, 12:05:57 AM »
I also noticed that when I do sce-update -a I keep on getting an update of
libgnutls-deb0-28 debian jessie main
It results in this to be downloaded every time over again:
Connecting to security.debian.org (212.211.132.250:80)
libgnutls-deb0-28_3. 100% |******************************************************************************************************************************************************************| 692k 0:00:00 ETA
Merging libgnutls-deb0-28
Logged
Print
Pages: [
1
]
2
Go Up
« previous
next »
Tiny Core Linux
»
dCore Import Debian Packages to Mountable SCE extensions
»
dCore X86
»
passwd (not) updated successfully