Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33988 - install docs need note to create a new user to use irc
Summary: install docs need note to create a new user to use irc
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: 2003-11-20 22:57 UTC by Brian Jackson (RETIRED)
Modified: 2004-02-08 01:48 UTC (History)
3 users (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 Brian Jackson (RETIRED) gentoo-dev 2003-11-20 22:57:41 UTC
New users should be instructed that it's bad idea to use irc as root. There should be a short note about setting up a seperate user to irc as if they need help during the install phase.
Comment 1 Michael C. Ferguson 2003-11-20 23:03:23 UTC
We could just suid the irssi executable, and make it run as nobody (or a
special irssi user). I think this would solve it easily, and not confuse the
newbies too much.
Comment 2 SpanKY gentoo-dev 2003-11-20 23:09:49 UTC
i agree ... i dont think we really should have a note in the install doc if it could be handled at all on the livecd
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2003-11-21 01:51:59 UTC
As much as I agree with the fact that chatting as root is dangerous, I usually 
make an exception for #gentoo'ists if they're booted from a LiveCD :) The proposed
solution (setuid nobody for irssi) seems a perfect solution for this.
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2003-11-21 04:02:00 UTC
Daniel: can we update catalyst so that some binaries get setuid'd (more precisely the irssi binary to a non-root user)?
Comment 5 Brian Jackson (RETIRED) gentoo-dev 2003-11-21 07:11:24 UTC
That works fine for me, really we were talking about it in #gentoo-dev, so I filed a bug. Maybe I should waited till after the conversation was over ;)
Comment 6 Benny Chuang (RETIRED) gentoo-dev 2003-11-30 17:09:40 UTC
so, is this still an doc issue? or it's now belongs to gentoo cd?
Comment 7 Sven Vermeulen (RETIRED) gentoo-dev 2003-11-30 21:27:43 UTC
Assigning to x86-LiveCD peeps (even though it should be made generally, I just don't know who else to assign it to :)
Comment 8 Sven Vermeulen (RETIRED) gentoo-dev 2003-12-26 02:41:15 UTC
Pssst, can anyone enlighten me if this is done, will be done or will not be done? I hate unresolved bugs :)
Comment 9 Bob Johnson (RETIRED) gentoo-dev 2003-12-26 09:26:37 UTC
Using setuid for irssi will make it fail when it trys to 
make/save config files ie: /home/nobody/.irssi/foo

It would probaly just be simpler to add something in the docs
informing users of this issue anywya.

When the livecds switch to catalyst, small tweaks like this 
will be more of a problem.
Comment 10 Michael C. Ferguson 2003-12-26 10:35:21 UTC
I agree... I worked on this problem a little bit this afternoon; apparently, 
even if irssi can write to its dot directory, it will still core because it 
tried to load some perl scripts somewhere (I was not able to figure out where 
or how this was happening). I guess if suid irc was still wanted, we could 
include ircII instead/also, but this seems like a lot of hastle for something 
that isn't such a big issue.

Comment 11 John Davis (zhen) (RETIRED) gentoo-dev 2004-01-23 18:00:42 UTC
yeah, its a docs thing
Comment 12 Sven Vermeulen (RETIRED) gentoo-dev 2004-02-08 01:48:44 UTC
Okay, I've updated the section on "Optional: User Accounts" to inform the user that this is also needed if he wants to chat safely using irssi.