LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 04-22-2007, 08:35 AM   #1
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,139
Blog Entries: 29

Rep: Reputation: 119Reputation: 119
Warning: add_groups: Invalid argument


Hi all,

The title of this thread is an error I get every time I log in as myself, but not when I log in as root.

The error doesn't seem to affect anything, but I wonder how I can track it down. What script is run at user login that might be generating the error?

In other words, how do I start troubleshooting this one?

Thanks,

-Drew
 
Old 04-22-2007, 09:18 AM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
If you mean logging in to a shell (rather than to an X desktop session trough some display manager), like bash, it's probably the rc file of the shell (for bash it's ~/.bashrc I think). It could be something else but if it's only for your user account, you're right it's probably your user account's shell stuff. Check .bashrc under your home directory, maybe .bash_profile too.
 
Old 04-22-2007, 09:25 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,

This problem was discussed on LQ before:

Slackware 11.0 - Custom Kernel 2.6.18 Question
"Warning: add_groups: Invalid Argument"

In short: (none root) users are member of certain groups that are not allowing this (restrictive permissions?). You need to figure out yourself which group(s).

Hope this helps.
 
Old 04-23-2007, 02:03 PM   #4
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,139
Blog Entries: 29

Original Poster
Rep: Reputation: 119Reputation: 119
Thanks for the information, guys.

I'll have to do a little trial and error and see which group is causing the problem.

I'm still curious as to which script is passing the add_groups argument to ... well ... something when I log in to the console.

However, like the previous posters in the threads listed above, my problems started with using KDE's GUI group administration tool.

I'm also still a newbie enough to not understand why CD-ROM, Sound, and Man are groups. I'm also not sure why after I took myself out of the Man group, I could still see man pages.

Regards,

-Drew
 
Old 04-24-2007, 02:27 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,

I've never used the gui tools that comes with KDE, so I cannot help you there.

Quote:
I'm also still a newbie enough to not understand why CD-ROM, Sound, and Man are groups. I'm also not sure why after I took myself out of the Man group, I could still see man pages.
This has to do with permissions. Take a look here for an explanation.

You (the user you log in as) doesn't need the man group added, the manpages are world readable. I don't know why KDE does this (only reason I can think of: writing your own man-pages. But that is something that not many people do).

The same is probably true for the cd-rom and sound entry (cannot check this: no slackware box handy a.t.m.).

Hope this clears things up a bit.
 
Old 04-24-2007, 08:20 AM   #6
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,139
Blog Entries: 29

Original Poster
Rep: Reputation: 119Reputation: 119
Thanks, druuna, especially for the link with additional information.

Too many of these threads end without a resolution, so I'll post back when I have one.

Regards,

-Drew
 
Old 08-30-2009, 11:57 AM   #7
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,904

Rep: Reputation: Disabled
http://www.linuxquestions.org/questi...63#post3662963
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accept(): Invalid Argument bonhomme Programming 6 07-14-2012 10:12 PM
iptables: Invalid argument pk_kala Ubuntu 0 03-15-2007 04:32 AM
"Warning: add_groups: Invalid Argument" helliax Linux - General 3 03-20-2006 06:52 AM
KDSKBENT: Invalid Argument tommytomato Linux - Newbie 6 08-27-2004 10:23 PM
xawtv - invalid argument liguorir Linux - Software 0 06-17-2003 08:55 PM


All times are GMT -5. The time now is 02:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration