Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Thomas Klix <wotokl@web.de> |
|---|---|
| Newsgroups | ger.ct |
| Subject | Re: Pinguinfrage: Sudo mit Passwort füttern |
| Date | 2016-03-01 23:16 +0000 |
| Organization | no |
| Message-ID | <nb57rr$4am$1@kx-nb.kx-net.de> (permalink) |
| References | <nb4jd4.3vs35v9.1!not-for-mail@ufh.invalid.de> <nb50kj$bls$1@news.m-online.net> <nb4uv0$4jr$1@news.bawue.net> |
Gerrit Heitsch wrote at Tue, 1 Mar 2016 22:57:23 +0100: > On 03/01/2016 10:12 PM, Lehmann wrote: >>> >> Der Trick ist ja, dass das Passwort nicht von STDIN gelesen wird, >> sondern, jedenfalls zu der Zeit als ich sowas noch in C programmiert >> habe, über getch() aus der conio Bibliothek direkt vom Terminal. >> Das sorgt auch dafür, dass die eingetippten Zeichen gar nicht erst zum >> Terminal gespiegelt werden. > > Das scheint aber für 'passwd' nicht zu gelten, zumindest nicht für alle > Versionen davon. Folgendes funktioniert in einer IP-Cam um das Password > zu ändern nachdem das System ins RAM kopiert wurde: > > echo -e "password\npassword" | passwd Ich konnte es nicht glauben, stimmt aber - auch mit normalem passwd unter Ubuntu. Fehlt aber was, wenn schon ein Passwort gesetzt ist: echo -e "altespasswort\npassword\npassword" | passwd Evtl. hat das einen Grund bei passwd, den ich gerade nicht erkenne? Normalerweise läuft das eben wirklich nicht über stdin... Für die ursprüngliche Frage (mount) ist aber (sauber!) entweder sudo/sudoers oder user-mount in fstab zu empfehlen. Thomas
Back to ger.ct | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Pinguinfrage: Sudo mit Passwort füttern "Ulrich F. Heidenreich" <from!not-for-mail@tremornet.de> - 2016-03-01 17:26 +0100
Re: Pinguinfrage: Sudo mit Passwort füttern Günter Frenz <usenet-01@guefz.de> - 2016-03-01 18:03 +0100
Re: Pinguinfrage: Sudo mit Passwort füttern "Ulrich F. Heidenreich" <from!not-for-mail@tremornet.de> - 2016-03-02 11:00 +0100
Re: Pinguinfrage: Sudo mit Passwort füttern Herwig Huener AQSR 5 <Herwig.Huener@t-online.de> - 2016-03-04 12:34 +0100
Re: Pinguinfrage: Sudo mit Passwort füttern "Ulrich F. Heidenreich" <from!not-for-mail@tremornet.de> - 2016-03-04 12:51 +0100
Re: Pinguinfrage: Sudo mit Passwort füttern "Ulrich F. Heidenreich" <from!not-for-mail@tremornet.de> - 2016-03-04 13:00 +0100
Re: Pinguinfrage: Sudo mit Passwort füttern Michael Baeuerle <michael.baeuerle@stz-e.de> - 2016-03-04 14:21 +0100
Re: Pinguinfrage: Sudo mit Passwort füttern Dennis Preiser <d__p@d--p.de> - 2016-03-04 19:58 +0000
Re: Pinguinfrage: Sudo mit Passwort füttern "Peter Heitzer" <peter.heitzer@rz.uni-regensburg.de> - 2016-03-01 17:11 +0000
Re: Pinguinfrage: Sudo mit Passwort füttern Gerald Gruner <gerald314@yahoo.de> - 2016-03-03 00:11 +0100
Re: Pinguinfrage: Sudo mit Passwort füttern Diedrich Ehlerding <diedrich.ehlerding@t-online.de> - 2016-03-01 18:50 +0100
Re: Pinguinfrage: Sudo mit Passwort füttern "Ulrich F. Heidenreich" <from!not-for-mail@tremornet.de> - 2016-03-02 10:55 +0100
Re: Pinguinfrage: Sudo mit Passwort füttern Holger Marzen <holger@marzen.de> - 2016-03-01 18:30 +0000
Re: Pinguinfrage: Sudo mit Passwort füttern "Ulrich F. Heidenreich" <from!not-for-mail@tremornet.de> - 2016-03-02 10:53 +0100
Re: Pinguinfrage: Sudo mit Passwort füttern Magnus Walter <magnus.walter@twinmail.de> - 2016-03-01 20:38 +0100
Re: Pinguinfrage: Sudo mit Passwort füttern "Ulrich F. Heidenreich" <from!not-for-mail@tremornet.de> - 2016-03-02 11:41 +0100
Re: Pinguinfrage: Sudo mit Passwort füttern Lehmann <blehmann@gmx.de> - 2016-03-01 22:12 +0100
Re: Pinguinfrage: Sudo mit Passwort füttern Gerrit Heitsch <gerrit@laosinh.s.bawue.de> - 2016-03-01 22:57 +0100
Re: Pinguinfrage: Sudo mit Passwort füttern Thomas Klix <wotokl@web.de> - 2016-03-01 23:16 +0000
Re: Pinguinfrage: Sudo mit Passwort füttern Gerrit Heitsch <gerrit@laosinh.s.bawue.de> - 2016-03-02 07:35 +0100
Re: Pinguinfrage: Sudo mit Passwort füttern Lehmann <blehmann@gmx.de> - 2016-03-03 00:39 +0100
Re: Pinguinfrage: Sudo mit Passwort füttern Gerrit Heitsch <gerrit@laosinh.s.bawue.de> - 2016-03-03 08:33 +0100
csiph-web