Re: su and passwd

2012-10-17 Thread Massimo Pignoloni
Hi you can use passwd root, after su, or use su - that simulate a full login and the command passwd. Massimo Il 12/11/2012 16.38, Alessandro Baggi ha scritto: Hi list, today, I've logged on my openbsd box, and when I change the root password I get this: $ uname -pmrsv OpenBSD 5.1

su and passwd

2012-09-14 Thread Alessandro Baggi
Hi list, today, I've logged on my openbsd box, and when I change the root password I get this: $ uname -pmrsv OpenBSD 5.1 GENERIC.MP#207 amd64 amd64 $ whoami userlog $ echo $USER userlog $ su Password: # passwd Changing local password for userlog. New password: Password unchanged. # echo

Re: su and passwd

2012-09-14 Thread Ted Unangst
On Mon, Nov 12, 2012 at 16:38, Alessandro Baggi wrote: Logging in with an user called userlog, get su, run passwd as root, it says that i'm changing password for userlog. From manual page I get: By default, the environment is unmodified with the exception of LOGNAME, HOME, SHELL

Re: su and passwd

2012-09-14 Thread Michel Blais
2012-11-12 10:38, Alessandro Baggi a écrit : Hi list, today, I've logged on my openbsd box, and when I change the root password I get this: $ uname -pmrsv OpenBSD 5.1 GENERIC.MP#207 amd64 amd64 $ whoami userlog $ echo $USER userlog $ su Password: # passwd Changing local password for userlog

Re: su and passwd

2012-09-14 Thread Michel Blais
amd64 $ whoami userlog $ echo $USER userlog $ su Password: # passwd Changing local password for userlog. New password: Password unchanged. # echo $USER userlog # Logging in with an user called userlog, get su, run passwd as root, it says that i'm changing password for userlog. From manual page I