Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53086 - Add note about the tty group to Chapter 11 Code Listing
Summary: Add note about the tty group to Chapter 11 Code Listing
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Handbook (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-05 13:21 UTC by Arne Mejlholm (RETIRED)
Modified: 2005-02-19 12:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arne Mejlholm (RETIRED) gentoo-dev 2004-06-05 13:21:49 UTC
Well, based on a user request, I'm proposing this patch:

In Code Listing 11.a. User Administration
useradd john -m -G users,wheel,audio -s /bin/bash

to:
useradd john -m -G users,wheel,audio,tty -s /bin/bash

The user wrote:
I just install KDE 3.2 and was was not able to use konsole and "su" in
graphical KDE environment because the user did not belong to tty group.
Comment 1 Joseph 2004-06-05 14:12:42 UTC
Adding user during Gentoo installation and KDE 3.2 the user must below to group "tty" otherwise user will not be able to use konsole or su command.
So when adding a newuser the command should be:
useradd john -m -G users,wheel,audio,tty -s /bin/bash

It took me almost a day to figure it out so this message might same some users a lot of time.

--
Joseph
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2004-07-02 09:13:20 UTC
Fixed in CVS.
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-13 05:57:51 UTC
Can someone test if this is still necessary?
I would like to have that removed, and everything seems to work fine with kde
here without being in the tty group.

See also bug 31877 comment 33, 34, 35
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2005-02-14 09:06:39 UTC
http://thread.gmane.org/gmane.linux.gentoo.desktop/2048 states that it might have never been needed in the first place. I'll wait one day (in case ${TIMEZONE} habitants haven't read that mail yet) and update the document then (err, wait, I'm off tomorrow - I'll fix it when i'm back).
Comment 5 Sven Vermeulen (RETIRED) gentoo-dev 2005-02-19 12:57:25 UTC
I see that it isn't in our docs anymore, closing again.