site  contact  subhomenews

LoginManager fixed

May 27, 2013 — BarryK
Forum member robwoj44 has been testing running as user 'fido', and found that using the LoginManager to change back to 'root' failed:
http://murga-linux.com/puppy/viewtopic.php?t=86084&start=45

I have modified /usr/sbin/loginmanager, which now calls a new script /usr/sbin/user2root. It now works.

Separating out the code that bumps 'fido' up to 'root' enables the script user2root to be called from any other application, or direct from a terminal.

Woof commit:
http://bkhome.org/fossil/woof2.cgi/info/91e0bc9015

I played briefly with 'fido', noticed a few other things that need fixing, might have a look into it tonight.

Comments

Avatars for fido and spot
Username: BarryK
Just had the thought, it would be good to have avatars for users 'spot' and 'fido'. There are many non-English people who don't realise that spot and fido are dog names, hence the usernames in Puppy. A picture of a spotty dog would clarify that 'spot' is a dog name.

.XLOADED fixed
Username: BarryK
"I think that it was L18L who reported the /etc/.XLOADED mechanism is broken when running non-root (ie fido). I have moved it to /root, so scripts running non-root can create/delete it. Woof commit: http://bkhome.org/fossil/woof2.cgi/info/0d4b891349 Note, the effect of this bug was stopping at the console at bootup, X not starting, then requiring "xwin" to be typed in to run X.

passwords
Username: L 18 L
"Barry wrote: [i]I played briefly with 'fido', noticed a few other things that need fixing, might have a look into it tonight.[/i] I have no solution for the problem There is confusion if one changes password for root [b]or[/b] fido. They both are called "administrators's password" but can also be changed separately (passwd) so that they are not the same. http://puppylinux.info/topic/fido-andor-multi-user-system Or test with recent download: # whoami fido # loginmanager Password: # # OK was root's password # # pmount Sorry, try again. Sorry, try again. Sorry, try again. sudo: 3 incorrect password attempts # was root's password > > ^C # pmount /usr/sbin/pmount: line 299: 4549 Beendet yaf-splash -bg orange -fg black -close never -fontsize large -text "$(gettext 'Please wait, probing hardware...')" # # was fido's password #


Tags: woof