Lines Matching refs:user

268 	// revert user and group changes
718 for (int32 i = 0; const BUser* user = users.ItemAt(i); i++)
719 _AddUser(package, *user);
757 CommitTransactionHandler::_AddUser(Package* package, const BUser& user)
759 // Check whether the user already exists.
763 int error = getpwnam_r(user.Name(), &passwdBuffer, buffer,
769 fAddedUsers.insert(user.Name().String());
773 if (!user.RealName().IsEmpty()) {
775 + FSUtils::ShellEscapeString(user.RealName()).String() + " ";
778 if (!user.Home().IsEmpty()) {
780 + FSUtils::ShellEscapeString(user.Home()).String() + " ";
783 if (!user.Shell().IsEmpty()) {
785 + FSUtils::ShellEscapeString(user.Shell()).String() + " ";
788 if (!user.Groups().IsEmpty()) {
790 + FSUtils::ShellEscapeString(user.Groups().First()).String()
794 commandLine += FSUtils::ShellEscapeString(user.Name()).String();
797 fAddedUsers.erase(user.Name().String());
798 ERROR("Failed to add user \"%s\".\n", user.Name().String());
801 .SetString1(user.Name());
806 int32 groupCount = user.Groups().CountStrings();
809 + FSUtils::ShellEscapeString(user.Name()).String()
811 + FSUtils::ShellEscapeString(user.Groups().StringAt(i))
814 fAddedUsers.erase(user.Name().String());
815 ERROR("Failed to add user \"%s\" to group \"%s\".\n",
816 user.Name().String(), user.Groups().StringAt(i).String());
819 .SetString1(user.Name())
820 .SetString2(user.Groups().StringAt(i));
958 // * If changed, leave it to the user for now. When we support merging
1009 // we cannot handle. The user must handle this manually.
1065 // Can't determine the original package. The user must handle this
1102 // type differs from the expected one. The user must handle this
1137 // The comparison failed or the files differ. The user must
1172 // The comparison failed or the symlinks differ. The user must
1368 ERROR("failed to remove user \"%s\"\n", it->c_str());