Ticket #1497 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

Name input screen should be deactivable

Reported by: quidam Owned by: tomeu
Priority: Unspecified by Maintainer Milestone: 0.88
Component: sugar Version: 0.86.x
Severity: Unspecified Keywords: r+
Cc: alsroot Distribution/OS: Unspecified
Bug Status: New

Description

The "enter your name" screen is only needed in live environments. If Sugar is ran in a normal installed to disk environment, the user will need to provide a name and password to start the session, so asking for a name again is not needed (as it could be loaded from $USER).

A configuration file enabling or disabling the screen would be the best way to do this, as it would allow the session loader to avoid distribution-dependent checks.

Attachments

sugar-1497.patch Download (2.4 KB) - added by alsroot 4 years ago.

Change History

  Changed 4 years ago by alsroot

  • version changed from Git as of bugdate to 0.86.x
  • milestone changed from Unspecified by Release Team to 0.88

  Changed 4 years ago by alsroot

  • keywords r? added

Changed 4 years ago by alsroot

follow-up: ↓ 4   Changed 4 years ago by alsroot

predefined values:
* "disabled" ask nick on initialization
* "passwd" use gecos/name from passwd file
* otherwise use prop value as is for nick value

in reply to: ↑ 3 ; follow-up: ↓ 5   Changed 4 years ago by sascha_silbe

Replying to alsroot:

predefined values:
* "disabled" ask nick on initialization
* "passwd" use gecos/name from passwd file
* otherwise use prop value as is for nick value

This is just about the default text for the name prompt, right? The name prompt will still get shown?

in reply to: ↑ 4   Changed 4 years ago by alsroot

Replying to sascha_silbe:

Replying to alsroot:

predefined values:
* "disabled" ask nick on initialization
* "passwd" use gecos/name from passwd file
* otherwise use prop value as is for nick value

This is just about the default text for the name prompt, right? The name prompt will still get shown?

In attached patch, the name prompt will be shown only if default_nick is disabled.

  Changed 3 years ago by tomeu

  • keywords r+ added; r? removed

Sounds good to me, some comments:

- s/passwd/system?

- can we use a more descriptive name than 'pw'?

Thanks, please push.

  Changed 3 years ago by alsroot

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.