History log of /haiku/src/bin/multiuser/multiuser_utils.cpp
Revision Date Author Comments
# fce7f3a7 09-Dec-2020 X512 <danger_mail@list.ru>

integrate AutoDeleter's into pointers

Change-Id: I6c3925a7aec4d0647c76c2a03aad7b08985d7166
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3490
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# cdccd323 09-Dec-2020 X512 <danger_mail@list.ru>

use common AutoDeleter types

Change-Id: I115e14b76f3ff049c5f7d9471efd3619a0038fcf
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3483
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>


# 36aafa56 04-Dec-2020 X512 <danger_mail@list.ru>

fix build after CObjectDeleter interface change

Change-Id: I76e217abcd13c22c4d68170e07333cdde4d7a891
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3461
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 0e1b1021 14-Oct-2020 Murai Takashi <tmurai01@gmail.com>

bin/multiuser: Fix -Wformat-secrity

Change-Id: Iee07090f57973d8fc687cd7d9974c7ceb4517571
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3368
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# ef916ff3 11-Jan-2019 Murai Takashi <tmurai01@gmail.com>

bin/multiuser: Fix PVS 1809 and 1896

Replace memset() with explicit_bzero(), since compiler could delete
memset() funnction call.

Change-Id: I6d6ad991951f516cf94b6fdf1772715ef4a42822
Reviewed-on: https://review.haiku-os.org/c/880
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 7985831a 28-Aug-2018 Augustin Cavalier <waddlesplash@gmail.com>

bin/multiuser: Do not exit with an error if stdin is not open.

As the comment says, there are a number of scenarios when this is
the case, e.g. non-interactive SSH sessions.

Change-Id: I3a10043820039f344b3f036f7861c81f6fb7ef05
Reviewed-on: https://review.haiku-os.org/499
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# eed40cb8 23-Jul-2017 Augustin Cavalier <waddlesplash@gmail.com>

multiuser_utils: Add bool chngdir option to setup_environment.


# ec142118 03-Jul-2017 Augustin Cavalier <waddlesplash@gmail.com>

multiuser: Move setup_environment from login to multiuser_utils.


# cb82874e 25-Jun-2015 Axel Dörfler <axeld@pinc-software.de>

multiuser_utils: Fixed verifying empty password.

* verify_password() would accept all passwords if the there was
none set, instead of accepting only an empty password.


# f5e8e689 18-Apr-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added useradd and passwd tools. They allow adding new users and
changing a user's password, like on other platforms (just a bit more
bare-bones :-)).
* Moved login from src/bin/network/login/ to src/bin/multiuser/.
* login correctly checks the shadow password now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25041 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cb82874e920e830064e8529c7462ad0e0bb938ef 25-Jun-2015 Axel Dörfler <axeld@pinc-software.de>

multiuser_utils: Fixed verifying empty password.

* verify_password() would accept all passwords if the there was
none set, instead of accepting only an empty password.


# f5e8e68924566110cb3022c20109dae60aee2c8f 18-Apr-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added useradd and passwd tools. They allow adding new users and
changing a user's password, like on other platforms (just a bit more
bare-bones :-)).
* Moved login from src/bin/network/login/ to src/bin/multiuser/.
* login correctly checks the shadow password now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25041 a95241bf-73f2-0310-859d-f6bbb57e9c96