Success! Thank you so much for pointing me in the right direction. Your
advice was spot-on. Here's the steps I took:

[10:01:04 root]$ uname -a
SunOS sunray2 5.10 Generic_147441-07 i86pc i386 i86pc
[/root]
[10:01:06 root]$ cat /etc/release
                       Solaris 10 10/09 s10x_u8wos_08a X86
           Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                           Assembled 16 September 2009

[08:06:03 root]$ useradd dummy
UX: useradd: ERROR: Inconsistent password files.  See pwconv(1M).
* similar results with userdel (not captured)
* Here I see that /etc/passwd and /etc/shadow have a different number of
linesŠ
[08:07:34 root]$ wc -l /etc/passwd /etc/shadow
     326 /etc/passwd
     328 /etc/shadow
     654 total
[/]
[08:10:24 root]$ pwconv
[/]
* pwconv fixed itŠ
[08:10:41 root]$ wc -l /etc/passwd /etc/shadow
     326 /etc/passwd
     326 /etc/shadow
     652 total
* Backing up /etc/passwd and /etc/groupŠ
[08:20:31 root]$ cp -p /etc/passwd /etc/passwd.orig
[/]
[08:23:05 root]$ cp -p /etc/group /etc/group.orig
[/]
[08:23:21 root]$ /opt/SUNWkio/bin/kioskuseradm leakcheck
Stale Kiosk user entries:
utku0
utku1
utku2
utku3
utku4
* and now the cleanup works
[08:25:40 root]$ /opt/SUNWkio/bin/kioskuseradm cleanup
Removed account: utku0
Removed account: utku1
Removed account: utku2
Removed account: utku3
Removed account: utku4
[08:25:57 root]$ /opt/SUNWkio/bin/kioskuseradm leakcheck
No lost Kiosk user accounts found
* Created new kiosk accounts, specifying previously used group id (106) --
which may have not been neccesary.
* Started at a higher range to avoid any conflicts
[08:30:59 root]$ /opt/SUNWkio/bin/kioskuseradm create -l utku -g utkiosk
-i 106 -u 150500 -c 300
Validating new user ids.
Validating new user accounts.
Creating kiosk group utkiosk
Configuring new kiosk user accounts:
...........................................................................
...........................................................................
...........................................................................
...........................................................................
300 users configured
* then restarted SR services and ran this:
/opt/SUNWkio/bin/kioskuseradm status -v
* was confused that it showed 0 kiosk accounts in use
* then realized I had to re-enable kiosk sessions for non-card users
(under admin gui)
Then the DTUs got their sessions as normal.

Thanks again! 

Daniel


On 7/4/12 6:44 AM, "Jörg Barfurth" <[email protected]> wrote:

>Am 04.07.12 08:55, schrieb Beckman, Daniel:
>>
>> I just upgraded from 5.2.5 to 5.3.1. Here's what shows up in the
>> installation log, on both (2) servers in the FOG:
>>
>> (It goes up to utku299 ‹ snipped out for brevityŠ)
>>
>> ****
>> Restoring Kiosk Mode configuration ...
>>
>>
>> Restoring Kiosk Mode user accounts ...
>>
>> Removing Kiosk user account utku0 failed
>> Removing Kiosk user account utku1 failed
>> Removing Kiosk user account utku2 failed
>> Removing Kiosk user account utku3 failed
>> Removing Kiosk user account utku4 failed
>> Removing Kiosk user account utku5 failed
>> Removing Kiosk user account utku6 failed
>> Removing Kiosk user account utku7 failed
>> Removing Kiosk user account utku8 failed
>> Removing Kiosk user account utku9 failed
>> Removing Kiosk user account utku10 failed
>>
>> Failed to remove:
>> utku0
>> utku1
>> utku2
>> utku3
>> utku4
>> utku5
>> utku6
>> utku7
>> utku8
>> utku9
>> utku10
>> Removal of leftover Kiosk Mode user accounts failed!
>>
>> Kiosk Mode user account configuration has been saved in file
>> /etc/opt/SUNWut/kioskuser.preserved.
>>
>> Please use 'utconfig -k' to configure Kiosk Mode user accounts.
>> ------------------------------------------------------------------------
>>
>> Here is what the .preserved file looks like:
>> cat /etc/opt/SUNWut/kioskuser.preserved
>> -l utku -g utkiosk -i auto -u 150000 -c 300
>> ------------------------------------------------------------------------
>>
>> I looked in /etc/group and there was no longer a utkiosk; I re-added
>>via:
>> groupadd -g 106 utkiosk
>>
>[..]
>> [02:39:39 root]$ /opt/SUNWkio/bin/kioskuseradm cleanup
>> Removing Kiosk user account utku0 failed
>> Removing Kiosk user account utku1 failed
>> Removing Kiosk user account utku2 failed
>> Removing Kiosk user account utku3 failed
>> Removing Kiosk user account utku4 failed
>> Removing Kiosk user account utku5 failed
>> Removing Kiosk user account utku6 failed
>> Removing Kiosk user account utku7 failed
>> Removing Kiosk user account utku8 failed
>> Removing Kiosk user account utku9 failed
>> Removing Kiosk user account utku10 failed
>> Š
>
>> What would be the best course of action? Do I need to manually remove
>> these accounts from /etc/passwd?
>
>- What platform is this?
>
>- Do you get any error messages from
>     # userdel utku299
>
>Once problems that prevent userdel from working are resolved,
>"kioskuseradm cleanup" should do the right thing.
>
>
>> Should I remove the "utkiosk" that I
>> manually re-added to /etc/group?
>>
>
>Not strictly needed.
>
>HTH
>
>- Jörg
>
>-- 
>Jörg Barfurth                     http://blogs.oracle.com/joergb
>
>Disclaimer: I am employed by Oracle. The statements and opinions
>expressed here are my own and do not necessarily represent those
>of Oracle Corporation.
>_______________________________________________
>SunRay-Users mailing list
>[email protected]
>http://www.filibeto.org/mailman/listinfo/sunray-users

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to