History log of /haiku/src/bin/multiuser/login.cpp
Revision Date Author Comments
# 319c399d 17-Jul-2019 Murai Takashi <tmurai01@gmail.com>

PVS V739: EOF compared with a value of the char type.

Change-Id: Icfaff590359381fbdd3bbd7993dab92111da3ed1
Reviewed-on: https://review.haiku-os.org/c/1618
Reviewed-by: waddlesplash <waddlesplash@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>


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

login: Use read_password from multiuser_utils.

Also fix some extant bugs.


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

multiuser: Move setup_environment from login to multiuser_utils.


# 5d5be299 26-May-2017 James Woodcock <tiphphin@gmail.com>

multiuser: login process should call setuid() and setgid().

The login process didn't call setuid() or setgid() so all users were
logged in as the super user.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Fixes #13533.


# 63d557f0 15-Jul-2009 Michael Lotz <mmlr@mlotz.ch>

Fixing random GCC4 warnings. Mostly missing consts, some parentheses, some braces... Should all be harmless and not change anything.

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


# 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


# 63d557f06f41c0aef30f8a0fcc5b8d2c47981b33 15-Jul-2009 Michael Lotz <mmlr@mlotz.ch>

Fixing random GCC4 warnings. Mostly missing consts, some parentheses, some braces... Should all be harmless and not change anything.

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


# 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