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
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
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
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
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
5 matches
Mail list logo