Re: [Debian]:root mit tcsh
On Sat, Aug 28, 1999 at 06:11:36PM +0200, Frank Knappe wrote:
>
> Hallo !
>
> Bei meinem Updateproblem ist wir vorher noch ein anderes Problem
> aufgefallen. Ich bin mittlerweile an die tcsh gewoehnt und habe deshalb
> auch root diese Shell gegeben.
> Mir ist auch bisher nichts weiter aufgefallen.
> Als ich heute aber einmal anstatt su ssh -l root localhost benutzt
> habe fiel mir bei der Benutzung von dselect folgende Meldung auf.
>
> The following NEW packages will be installed:
> samba-common
> 2 packages upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
> Need to get 736kB of archives. After unpacking 1443kB will be used.
> Do you want to continue? [Y/n] y
> Get:1 ftp://ftp.tu-clausthal.de dists/proposed-updates/ samba-common
> 2.0.5a-1 [112kB]
> Get:2 ftp://ftp.tu-clausthal.de dists/proposed-updates/ smbfs 2.0.5a-1
> [313kB]
> Get:3 ftp://ftp.tu-clausthal.de dists/proposed-updates/ samba 2.0.5a-1
> [311kB]
> Fetched 736kB in 5s (145kB/s)
> dpkg: `ldconfig' not found on PATH.
> dpkg: `start-stop-daemon' not found on PATH.
> dpkg: `install-info' not found on PATH.
> dpkg: `update-rc.d' not found on PATH.
> dpkg: 4 expected program(s) not found on PATH.
> NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and
> /sbin.
> E: Sub-process returned an error code (2)
> Some errors occurred while unpacking. I'm going to configure the
> packages that were installed. This may result in duplicate errors
> or errors caused by missing dependencies. This is OK, only the errors
> above this message are important. Please fix them and run [I]nstall again
> Press enter to continue.
>
> In der ssl-Sitzung kannte root auch kein shutdown, bei einem su jedoch.
>
> Was habe ich hier uebersehen und wie kann ich root ohne solche Probleme
> eine tcsh geben? Oder sollte man dies nicht?
Ich denke nicht, daß es mit der tcsh zusammenhängt. Wird eventuell in
/etc/environment PATH so gesetzt, daß /usr/sbin und /sbin darin nicht
mehr vorkommen?
Ich hätte eher andersrum mit Problemen gerechnet, da man bei einem su
ja extra 'su -' machen muß. ssh ist da in der Regel problemlos.
--
marko schulz
"Alles hat man herausgefunden, nur nicht, wie man lebt"
Jean Paul Sartre
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder: 714
Reply to: