[Bug 431685] New: yast2-user ; password required in the command line interface
https://bugzilla.novell.com/show_bug.cgi?id=431685 Summary: yast2-user ; password required in the command line interface Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: jsuchome@novell.com ReportedBy: schubi@novell.com QAContact: jsrain@novell.com Found By: --- If the password has not been set in the parameters the user will be asked for on the console. The module should be finished with an error message. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=431685 User jsuchome@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=431685#c1 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |visnov@novell.com --- Comment #1 from Jiří Suchomel <jsuchome@novell.com> 2008-10-03 01:13:24 MDT --- Well, it's intended for a couple of releases and was reggarded as a feature. Is it wrong? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=431685 User visnov@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=431685#c2 Stanislav Visnovsky <visnov@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |visnov@novell.com Status|NEEDINFO |NEW Info Provider|visnov@novell.com | --- Comment #2 from Stanislav Visnovsky <visnov@novell.com> 2008-10-03 02:45:53 MDT --- I think this is OK. Stefan, is this a problem for your commandline gathering? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=431685 User schubi@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=431685#c3 Stefan Schubert <schubi@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jsuchome@novell.com |schubi@novell.com Status|NEW |ASSIGNED --- Comment #3 from Stefan Schubert <schubi@novell.com> 2008-10-03 02:51:34 MDT --- Yes, it is cause the server hangs at that moment. It is the same problem as a popup. But if this is a feature for other cases I will solve it on my side to ask for a password before I call the YaST module. Thanks ! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=431685 User jsuchome@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=431685#c4 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsuchome@novell.com --- Comment #4 from Jiří Suchomel <jsuchome@novell.com> 2008-10-03 03:15:55 MDT --- There's also one more trap in yast2-users: if you're modifying LDAP users and do not provide password to LDAP server, it will ask you as well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=431685 User schubi@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=431685#c5 --- Comment #5 from Stefan Schubert <schubi@novell.com> 2008-10-03 03:21:34 MDT --- Thank you for the hint, I will regard this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=431685 User schubi@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=431685#c6 Stefan Schubert <schubi@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |jsuchome@novell.com --- Comment #6 from Stefan Schubert <schubi@novell.com> 2008-10-03 04:39:37 MDT --- Hm, I am using the commandline interface in two ways: - With the webservice API where I check the parameters. So here is no problem returning an error message already in YaST webservice. - Generic YaST command line. There will be checked no parameter cause it is generic and YaST webservice does not know about. For the second case I have two solutions: - Do not allow the line modus of the user module in the generic YaST interface of the YaST service. - An additional parameter in the YaST user commandline interface, that an error will be returned instead a user action if any user input is required. (like "noUserInputPossible=1" Jiri, Stano please select ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=431685 User visnov@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=431685#c7 --- Comment #7 from Stanislav Visnovsky <visnov@novell.com> 2008-10-03 04:44:35 MDT --- Do you mean something like "batchmode=1" ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=431685 User schubi@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=431685#c8 --- Comment #8 from Stefan Schubert <schubi@novell.com> 2008-10-03 05:37:33 MDT --- Ähm, Yes !!! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=431685 User jsuchome@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=431685#c9 --- Comment #9 from Jiří Suchomel <jsuchome@novell.com> 2008-10-13 08:05:44 MDT --- Created an attachment (id=245164) --> (https://bugzilla.novell.com/attachment.cgi?id=245164) patch for yast2-users Please patch users.ycp, groups.ycp (of /usr/share/YaST2/clients) and cmdline.ycp (in .../include/users) and test if it is good enough. Additional option is: (see yast2 users help) batchmode Don't ask for missing data; return error instead. Without the password, the module only prints an error to stderr. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=431685 User schubi@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=431685#c10 Stefan Schubert <schubi@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|jsuchome@novell.com | Resolution| |FIXED --- Comment #10 from Stefan Schubert <schubi@novell.com> 2008-10-13 09:03:39 MDT --- It works fine. Please check in. Thank you for the help !!! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=431685 User jsuchome@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=431685#c11 --- Comment #11 from Jiří Suchomel <jsuchome@novell.com> 2008-10-13 09:04:54 MDT --- yast2-users-2.17.17 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com