Sabayon 4.1 K; do not use kuser

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

Re: Sabayon 4.1 K; do not use kuser

Postby stevencomerthornley » Mon Aug 10, 2009 1:27

I failed to fix my installation after this kuser issue messed me up.

The upgrade pathway that eventually led me to reinstall included losing my identity on the log in screen, I became sabayonuser---I had to manually put my log in name every time....that was a about 4 months ago, then little errors, KDE mostly during log in, then when I decided I'd had enough and wanted my user name back I created a failure that I could not fix. I deleted stuff, I tried to recreate it, I couldn't log into certain types of sessions.....
I got mixed up and messed up.
so
I reinstalled the latest KDE because Sabayon is still the best linux out there.

OK, installation is complete, time to reboot.
Dual boot XP/Sabayon64bit
amd64 4200+ x2
GeForce 7900GS 256MB
MSI K8N Neo4-F 939 NVIDIA nForce4 ATX AMD MB
PC Power & Cooling Silencer 610 610W PSU
OCZ Platinum 2G DDR 400
Creative X-Fi / on board AC'97sound
4 hdd-->xp/multimedia/storage/linux
stevencomerthornley
Growing Hen
 
Posts: 167
Joined: Fri Jan 11, 2008 4:50
Location: Pennsylvania-USA

Re: Sabayon 4.1 K; do not use kuser

Postby peispud » Tue Aug 11, 2009 14:36

I used Kuser to change my user password and lost my root password. This, along with the hiccup changing package managers, I found very maddening and unnecessary. Here's what worked for me-

-ctrl + Alt + f1
-sudo passwd
-ctrl + Alt + f7
peispud
Baby Hen
 
Posts: 9
Joined: Wed Jul 08, 2009 3:09

Re: Sabayon 4.1 K; do not use kuser

Postby mynameisbogdan » Mon Nov 09, 2009 20:52

dunsurfin wrote:Using kuser to add myself to the lp group made my root and user passwords fail. I advise against using it. Reported as issue 638

dude... use nano /etc/group with root rights! :)

example: power:x:84:root,bogdan
dwm::zsh::tmux::vim
mynameisbogdan
Baby Hen
 
Posts: 16
Joined: Mon Dec 22, 2008 23:24
Location: Romania dude :)

Re: Sabayon 4.1 K; do not use kuser

Postby amoebios » Tue Mar 16, 2010 18:44

How about an alternative to KUser?
User avatar
amoebios
Growing Hen
 
Posts: 168
Joined: Wed Dec 03, 2008 22:25

Re: Sabayon 4.1 K; do not use kuser

Postby Fitzcarraldo » Tue Mar 16, 2010 22:26

^Try superadduser (it's in Portage):

Code: Select all
emerge --sync
layman -S
emerge -1v superadduser
equo database gentoosync



EDIT: It's so easy to use superadduser. Here is an actual example, as I needed to add a new user to the media centre box that I'm setting up at the moment:

Code: Select all
$ groups
disk wheel floppy uucp cron audio cdrom dialout video games cdrw usb users haldaemon scanner plugdev entropy pulse-access pulse-rt pulse vboxusers crontab polkituser
$ su
Password:
# superadduser

Login name for new user []: mediacentre

User ID ('UID') [ defaults to next available ]:

Initial group [ users ]:

Additional groups (comma separated) []: disk,wheel,floppy,uucp,cron,audio,cdrom,dialout,video,games,cdrw,usb,haldaemon,scanner,plugdev,entropy,pulse-access,pulse-rt,pulse,vboxusers,crontab,polkituser

Home directory [ /home/mediacentre ]

Shell [ /bin/bash ]

Expiry date (YYYY-MM-DD) []:

New account will be created as follows:

---------------------------------------
Login name.......:  mediacentre
UID..............:  [ Next available ]
Initial group....:  users
Additional groups:  disk,wheel,floppy,uucp,cron,audio,cdrom,dialout,video,games,cdrw,usb,haldaemon,scanner,plugdev,entropy,pulse-access,pulse-rt,pulse,vboxusers,crontab,polkituser
Home directory...:  /home/mediacentre
Shell............:  /bin/bash
Expiry date......:  [ Never ]

This is it... if you want to bail out, hit Control-C.  Otherwise, press
ENTER to go ahead and make the account.


Creating new account...


Changing the user information for mediacentre
Enter the new value, or press ENTER for the default
        Full Name []: mediacentre
        Room Number []:
        Work Phone []:
        Home Phone []:
        Other []:
New password:
Retype new password:
BAD PASSWORD: it is based on a dictionary word
passwd: password updated successfully


Account setup complete.
# id mediacentre
uid=1001(mediacentre) gid=100(users) groups=100(users),6(disk),10(wheel),11(floppy),14(uucp),16(cron),18(audio),19(cdrom),20(dialout),27(video),35(games),80(cdrw),85(usb),411(haldaemon),441(scanner),442(plugdev),1003(pulse-access),1004(pulse-rt),1005(pulse),1009(vboxusers),1010(crontab),1000(entropy),1019(polkituser)
# id fitzcarraldo
uid=1000(fitzcarraldo) gid=100(users) groups=100(users),6(disk),10(wheel),11(floppy),14(uucp),16(cron),18(audio),19(cdrom),20(dialout),27(video),35(games),80(cdrw),85(usb),411(haldaemon),441(scanner),442(plugdev),1003(pulse-access),1004(pulse-rt),1005(pulse),1009(vboxusers),1010(crontab),1000(entropy),1019(polkituser)
#
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7977
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Sabayon 4.1 K; do not use kuser

Postby albfneto » Sat Apr 24, 2010 7:37

Thanks...
This is interesting, since Kuser is ever a source of problems.....
ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1689
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Previous

Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 2 guests

cron