Mailinglist Archive: yast-commit (1056 mails)
| < Previous | Next > |
[yast-commit] r44189 - in /branches/SuSE-SLE-10-SP2-Branch/product-creator: VERSION package/yast2-product-creator.changes src/Kiwi.ycp src/kiwi_dialogs.ycp
- From: jsuchome@xxxxxxxxxxxxxxxx
- Date: Wed, 06 Feb 2008 12:39:26 -0000
- Message-id: <20080206123926.A718F240B7@xxxxxxxxxxxxxxxx>
Author: jsuchome
Date: Wed Feb 6 13:39:26 2008
New Revision: 44189
URL: http://svn.opensuse.org/viewcvs/yast?rev=44189&view=rev
Log:
- save user password when importing configuration (bnc#357922)
- 2.13.30
Modified:
branches/SuSE-SLE-10-SP2-Branch/product-creator/VERSION
branches/SuSE-SLE-10-SP2-Branch/product-creator/package/yast2-product-creator.changes
branches/SuSE-SLE-10-SP2-Branch/product-creator/src/Kiwi.ycp
branches/SuSE-SLE-10-SP2-Branch/product-creator/src/kiwi_dialogs.ycp
Modified: branches/SuSE-SLE-10-SP2-Branch/product-creator/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/product-creator/VERSION?rev=44189&r1=44188&r2=44189&view=diff
==============================================================================
--- branches/SuSE-SLE-10-SP2-Branch/product-creator/VERSION (original)
+++ branches/SuSE-SLE-10-SP2-Branch/product-creator/VERSION Wed Feb 6 13:39:26
2008
@@ -1 +1 @@
-2.13.29
+2.13.30
Modified:
branches/SuSE-SLE-10-SP2-Branch/product-creator/package/yast2-product-creator.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/product-creator/package/yast2-product-creator.changes?rev=44189&r1=44188&r2=44189&view=diff
==============================================================================
---
branches/SuSE-SLE-10-SP2-Branch/product-creator/package/yast2-product-creator.changes
(original)
+++
branches/SuSE-SLE-10-SP2-Branch/product-creator/package/yast2-product-creator.changes
Wed Feb 6 13:39:26 2008
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Wed Feb 6 13:33:32 CET 2008 - jsuchome@xxxxxxx
+
+- save user password when importing configuration (bnc#357922)
+- 2.13.30
+
+-------------------------------------------------------------------
Fri Jan 25 15:40:06 CET 2008 - jsuchome@xxxxxxx
- added support for keytable and timezone keys; save preferences
Modified: branches/SuSE-SLE-10-SP2-Branch/product-creator/src/Kiwi.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/product-creator/src/Kiwi.ycp?rev=44189&r1=44188&r2=44189&view=diff
==============================================================================
--- branches/SuSE-SLE-10-SP2-Branch/product-creator/src/Kiwi.ycp (original)
+++ branches/SuSE-SLE-10-SP2-Branch/product-creator/src/Kiwi.ycp Wed Feb 6
13:39:26 2008
@@ -331,9 +331,12 @@
foreach (string user, map usermap, (map<string,map>) config["users"]:$[], {
if (!haskey (ret, "users"))
ret["users"] = $[];
+ string pwd = usermap["pwd"]:"";
+ boolean crypted = (pwd != "");
ret["users",user] = $[
"home" : usermap["home"]:sformat ("/home/%1", user),
- "pwd" : user,
+ "pwd" : (pwd == "") ? user : pwd,
+ "encrypted" : crypted,
"group" : usermap["group"]:"",
"username" : user,
];
@@ -522,7 +525,7 @@
$[
"__key" : "user",
"name" : usermap["username"]:"",
- "pwd" : crypt_password (usermap["pwd"]:""),
+ "pwd" : (usermap["encrypted"]:false) ?
usermap["pwd"]:"" : crypt_password (usermap["pwd"]:""),
"home" : usermap["home"]:"",
]
))
Modified: branches/SuSE-SLE-10-SP2-Branch/product-creator/src/kiwi_dialogs.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/product-creator/src/kiwi_dialogs.ycp?rev=44189&r1=44188&r2=44189&view=diff
==============================================================================
--- branches/SuSE-SLE-10-SP2-Branch/product-creator/src/kiwi_dialogs.ycp
(original)
+++ branches/SuSE-SLE-10-SP2-Branch/product-creator/src/kiwi_dialogs.ycp Wed
Feb 6 13:39:26 2008
@@ -415,6 +415,7 @@
group = username == "root" ? "root" : "users";
KiwiConfig["users", username] = $[
"pwd" : pwd,
+ "encrypted" : false,
"home" : UI::QueryWidget (`id(`home), `Value),
"group" : group,
"username" : username,
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
Date: Wed Feb 6 13:39:26 2008
New Revision: 44189
URL: http://svn.opensuse.org/viewcvs/yast?rev=44189&view=rev
Log:
- save user password when importing configuration (bnc#357922)
- 2.13.30
Modified:
branches/SuSE-SLE-10-SP2-Branch/product-creator/VERSION
branches/SuSE-SLE-10-SP2-Branch/product-creator/package/yast2-product-creator.changes
branches/SuSE-SLE-10-SP2-Branch/product-creator/src/Kiwi.ycp
branches/SuSE-SLE-10-SP2-Branch/product-creator/src/kiwi_dialogs.ycp
Modified: branches/SuSE-SLE-10-SP2-Branch/product-creator/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/product-creator/VERSION?rev=44189&r1=44188&r2=44189&view=diff
==============================================================================
--- branches/SuSE-SLE-10-SP2-Branch/product-creator/VERSION (original)
+++ branches/SuSE-SLE-10-SP2-Branch/product-creator/VERSION Wed Feb 6 13:39:26
2008
@@ -1 +1 @@
-2.13.29
+2.13.30
Modified:
branches/SuSE-SLE-10-SP2-Branch/product-creator/package/yast2-product-creator.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/product-creator/package/yast2-product-creator.changes?rev=44189&r1=44188&r2=44189&view=diff
==============================================================================
---
branches/SuSE-SLE-10-SP2-Branch/product-creator/package/yast2-product-creator.changes
(original)
+++
branches/SuSE-SLE-10-SP2-Branch/product-creator/package/yast2-product-creator.changes
Wed Feb 6 13:39:26 2008
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Wed Feb 6 13:33:32 CET 2008 - jsuchome@xxxxxxx
+
+- save user password when importing configuration (bnc#357922)
+- 2.13.30
+
+-------------------------------------------------------------------
Fri Jan 25 15:40:06 CET 2008 - jsuchome@xxxxxxx
- added support for keytable and timezone keys; save preferences
Modified: branches/SuSE-SLE-10-SP2-Branch/product-creator/src/Kiwi.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/product-creator/src/Kiwi.ycp?rev=44189&r1=44188&r2=44189&view=diff
==============================================================================
--- branches/SuSE-SLE-10-SP2-Branch/product-creator/src/Kiwi.ycp (original)
+++ branches/SuSE-SLE-10-SP2-Branch/product-creator/src/Kiwi.ycp Wed Feb 6
13:39:26 2008
@@ -331,9 +331,12 @@
foreach (string user, map usermap, (map<string,map>) config["users"]:$[], {
if (!haskey (ret, "users"))
ret["users"] = $[];
+ string pwd = usermap["pwd"]:"";
+ boolean crypted = (pwd != "");
ret["users",user] = $[
"home" : usermap["home"]:sformat ("/home/%1", user),
- "pwd" : user,
+ "pwd" : (pwd == "") ? user : pwd,
+ "encrypted" : crypted,
"group" : usermap["group"]:"",
"username" : user,
];
@@ -522,7 +525,7 @@
$[
"__key" : "user",
"name" : usermap["username"]:"",
- "pwd" : crypt_password (usermap["pwd"]:""),
+ "pwd" : (usermap["encrypted"]:false) ?
usermap["pwd"]:"" : crypt_password (usermap["pwd"]:""),
"home" : usermap["home"]:"",
]
))
Modified: branches/SuSE-SLE-10-SP2-Branch/product-creator/src/kiwi_dialogs.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/product-creator/src/kiwi_dialogs.ycp?rev=44189&r1=44188&r2=44189&view=diff
==============================================================================
--- branches/SuSE-SLE-10-SP2-Branch/product-creator/src/kiwi_dialogs.ycp
(original)
+++ branches/SuSE-SLE-10-SP2-Branch/product-creator/src/kiwi_dialogs.ycp Wed
Feb 6 13:39:26 2008
@@ -415,6 +415,7 @@
group = username == "root" ? "root" : "users";
KiwiConfig["users", username] = $[
"pwd" : pwd,
+ "encrypted" : false,
"home" : UI::QueryWidget (`id(`home), `Value),
"group" : group,
"username" : username,
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |