Unix Technical Forum

kuser corruption in kde-3.4

This is a discussion on kuser corruption in kde-3.4 within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Just in case anyone here is tempted to use kuser in kde-3.4, *DON'T*! When I did (I know, but ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 07:26 AM
Peter Christy
 
Posts: n/a
Default kuser corruption in kde-3.4

Just in case anyone here is tempted to use kuser in kde-3.4, *DON'T*!

When I did (I know, but I was in a hurry) to try and add an extra group to my
user permissions, it completely corrupted my user settings, resulting with me
being locked out of my own home directory!

Luckily the directory was fine, but its taken me a while to figure out what it
had broken, and fix it all!

If anyone else has the same problem, first you need to use usermod as root to
rebuild your user settings, then you'll have to use passwd (as root again) to
get your password settings back. If you don't do the latter, the system won't
let you in, continually telling you your account has expired, even if you
reset the expiry date with usermod!

--
Pete
christy@NOattglobalSPAM.net
(make the obvious amendments to reply!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 07:27 AM
KonMan
 
Posts: n/a
Default Re: kuser corruption in kde-3.4

Peter Christy wrote:

> When I did (I know, but I was in a hurry) to try and add an extra group to
> my user permissions, it completely corrupted my user settings, resulting
> with me being locked out of my own home directory!


Same here!

> then you'll have to use passwd


You can also edit the /etc/shadow file (which is what I did - works
perfectly fine).

../KonMan

--
Feel free
to jabber me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 07:27 AM
Miguel De Anda
 
Posts: n/a
Default Re: kuser corruption in kde-3.4

Peter Christy wrote:
> Just in case anyone here is tempted to use kuser in kde-3.4, *DON'T*!
>
> When I did (I know, but I was in a hurry) to try and add an extra group to my
> user permissions, it completely corrupted my user settings, resulting with me
> being locked out of my own home directory!
>
> Luckily the directory was fine, but its taken me a while to figure out what it
> had broken, and fix it all!
>
> If anyone else has the same problem, first you need to use usermod as root to
> rebuild your user settings, then you'll have to use passwd (as root again) to
> get your password settings back. If you don't do the latter, the system won't
> let you in, continually telling you your account has expired, even if you
> reset the expiry date with usermod!
>


It only seems to mess up my user account on my laptop. Set the uid to 0.
I just removed/added the users and chmod'd the home directory. Not sure
about the rest though.

It probably would have done more harm, but it crashed right away. heh.
What's the deal with 3.4, seems like everything is broken. Luckily it
looks so damn nice, otherwise I'd downgrade. hehe.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 07:27 AM
danube
 
Posts: n/a
Default Re: kuser corruption in kde-3.4


> It probably would have done more harm, but it crashed right away. heh.
> What's the deal with 3.4, seems like everything is broken. Luckily it
> looks so damn nice, otherwise I'd downgrade. hehe.


My word. That's exactly what I feel about KDE general, looks nice but
things are unpredictably broken. It doesn't seem to be a stable
environment to be trusted.
JB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 07:27 AM
Peter Christy
 
Posts: n/a
Default Re: kuser corruption in kde-3.4

Miguel De Anda wrote:

> It only seems to mess up my user account on my laptop. Set the uid to 0.
> I just removed/added the users and chmod'd the home directory. Not sure
> about the rest though.


Yes, it set my user uid to 0, but also removed the login shell, and set all the
password expiry information to 0 (should be -1 for domestic use). It took me a
while to figure out what was going on and reset everything!


> It probably would have done more harm, but it crashed right away. heh.
> What's the deal with 3.4, seems like everything is broken. Luckily it
> looks so damn nice, otherwise I'd downgrade. hehe.


Yes, sounds like you were lucky!

I've found kde to be generally pretty good, but they do get some strange
hiccups occasionally. kuser in 3.3 wouldn't set passwords correctly, though
everything else seems to work, 3.3 would also refuse to release cds or dvds
for ejection even though you'd unmounted them (lsof and kill are your friends
here!) and arts can be a complete pain in the rear! 3.4 has fixed some of the
bugs (cds eject ok now!) but arts is still picky, and kuser best avoided
altogether! So far everything else seems fine.

As usual with bugs, they're only a problem when you don't know about them!

--
Pete
christy@NOattglobalSPAM.net
(make the obvious amendments to reply!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 07:28 AM
Damjan
 
Posts: n/a
Default Re: kuser corruption in kde-3.4

>> It probably would have done more harm, but it crashed right away. heh.
>> What's the deal with 3.4, seems like everything is broken. Luckily it
>> looks so damn nice, otherwise I'd downgrade. hehe.

>
> My word. That's exactly what I feel about KDE general, looks nice but
> things are unpredictably broken. It doesn't seem to be a stable
> environment to be trusted.


Well, the main KDE applications I use can be trusted.
Konsole, kwin, kicker, kmail, knode, amarok, kpdf are all up all the time,
days after days.

--
damjan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:24 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com