Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #240670 > unrolled thread
| Started by | frantal@libero.it |
|---|---|
| First post | 2021-09-30 19:30 +0200 |
| Last post | 2021-09-30 20:30 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.user
About user and password on Debian 10 frantal@libero.it - 2021-09-30 19:30 +0200
Re: About user and password on Debian 10 David Wright <deblis@lionunicorn.co.uk> - 2021-09-30 20:30 +0200
| From | frantal@libero.it |
|---|---|
| Date | 2021-09-30 19:30 +0200 |
| Subject | About user and password on Debian 10 |
| Message-ID | <D382B-2jh-1@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Try (as root, at CLI) "passwd <username>" I did. It permits to fill only the old password and then it says your password is changed. But when I reboot I have the same as I told I tried (on terminal of root desktop to write: pupmar@debian:~$ cat /etc/passwd root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin bin:x:2:2:bin:/bin:/usr/sbin/nologin sys:x:3:3:sys:/dev:/usr/sbin/nologin sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/usr/sbin/nologin man:x:6:12:man:/var/cache/man:/usr/sbin/nologin lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin mail:x:8:8:mail:/var/mail:/usr/sbin/nologin news:x:9:9:news:/var/spool/news:/usr/sbin/nologin uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin proxy:x:13:13:proxy:/bin:/usr/sbin/nologin www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin backup:x:34:34:backup:/var/backups:/usr/sbin/nologin list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin _apt:x:100:65534::/nonexistent:/usr/sbin/nologin systemd-timesync:x:101:102:systemd Time Synchronization,,,:/run/systemd:/usr/sbin/nologin systemd-network:x:102:103:systemd Network Management,,,:/run/systemd:/usr/sbin/nologin systemd-resolve:x:103:104:systemd Resolver,,,:/run/systemd:/usr/sbin/nologin messagebus:x:104:110::/nonexistent:/usr/sbin/nologin dnsmasq:x:105:65534:dnsmasq,,,:/var/lib/misc:/usr/sbin/nologin pulse:x:106:113:PulseAudio daemon,,,:/var/run/pulse:/usr/sbin/nologin avahi:x:107:115:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/usr/sbin/nologin lightdm:x:108:116:Light Display Manager:/var/lib/lightdm:/bin/false pupmar:x:1000:1000:pupmar,,,:/home/pupmar:/bin/bash systemd-coredump:x:999:999:systemd Core Dumper:/:/usr/sbin/nologin colord:x:109:119:colord colour management daemon,,,:/var/lib/colord:/usr/sbin/nologin Note: pupmar is username. Francesco
[toc] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2021-09-30 20:30 +0200 |
| Message-ID | <D38YG-2Rh-7@gated-at.bofh.it> |
| In reply to | #240670 |
On Thu 30 Sep 2021 at 19:25:09 (+0200), frantal@libero.it wrote: > Try (as root, at CLI) "passwd <username>" > > > I did. It permits to fill only the old password and then it says your password is changed. But when I reboot I have the same as I told You're misunderstanding something. As root, you don't need to know the old password to set a new password: # passwd flash New password: Retype new password: passwd: password updated successfully # # passwd New password: Retype new password: passwd: password updated successfully # The passwd man page does have a caveat: "Users may not be able to change their password on a system if NIS is enabled and they are not logged into the NIS server." BTW /etc/passwd no longer contains any passwords as it's world-readable. Cheers, David.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web