Re: Problem with Groups

2008-01-11 Thread Jerry McAllister
On Thu, Jan 10, 2008 at 11:28:17PM +, Andrew Stevens wrote:

 
 Hi everybody 
 
 Freebsd 6.2 
 sorry this question is a bit thick I know but after getting the usb and cdrom 
 open as root I tried as user and got the following message
 
  A security policy in place prevents this sender from sending this 
  message to this recipient, see message bus configuration file (rejected 
  message had interface org.freedesktop.Hal.Device.Volume member Mount 
  error name (unset) destination org.freedesktop.Hal)
 
 a suggested work around was to add user to storage group
 
 would somebody be kind enough to tell me how to add user to storage group

First, you need to create a 'storage' group (if it doesn't already exist).
Then you add ids to it.

Both can be done by editing the file  /etc/group
When you create the group, pick a unique id number above those
used by the system.   Make the rest of the entry look like the others.

Then add the ids in a comma separated list at the end.   There may be
a maximum of ids you can add to any group, but I don't know what it is.

There are also various utilities that will do this for you, but it
is so easy just to edit /etc/group that I never bother with them.

jerry

 
 Thanks 
 
 Andrew 
 _
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with Groups

2008-01-10 Thread Andrew Stevens

Hi everybody 

Freebsd 6.2 
sorry this question is a bit thick I know but after getting the usb and cdrom 
open as root I tried as user and got the following message

 A security policy in place prevents this sender from sending this 
 message to this recipient, see message bus configuration file (rejected 
 message had interface org.freedesktop.Hal.Device.Volume member Mount 
 error name (unset) destination org.freedesktop.Hal)

a suggested work around was to add user to storage group

would somebody be kind enough to tell me how to add user to storage group


Thanks 

Andrew 
_
Share what Santa brought you
https://www.mycooluncool.com___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with Groups

2008-01-10 Thread Yuri Pankov
On Thu, Jan 10, 2008 at 11:28:17PM +, Andrew Stevens wrote:
 
 Hi everybody 
 
 Freebsd 6.2 
 sorry this question is a bit thick I know but after getting the usb and cdrom 
 open as root I tried as user and got the following message
 
  A security policy in place prevents this sender from sending this 
  message to this recipient, see message bus configuration file (rejected 
  message had interface org.freedesktop.Hal.Device.Volume member Mount 
  error name (unset) destination org.freedesktop.Hal)
 
 a suggested work around was to add user to storage group
 
 would somebody be kind enough to tell me how to add user to storage group
 
 
 Thanks 
 
 Andrew 

http://www.freebsd.org/gnome/docs/faq2.html#q19


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with groups

2005-10-21 Thread RW

From a KDE Root console, I changed a directory's permissions to 770 and added 
my account to it's  group with pw. In another console, under my own account, 
I tried to cd into the directory and failed, no gui application could access 
the directory either. pw showed I was a member of the group.  I logged in 
though a virtual terminal, under the same account, and was able to cd to the 
directory. And once I restarted the KDE session from KDM, the problem went 
away.

Is this normal behaviour? Is there any way around it?

I'm running   5.4-RELEASE-p8 if it make a difference.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with groups

2005-10-21 Thread Eric F Crist

On Oct 21, 2005, at 3:12 PM, RW wrote:




From a KDE Root console, I changed a directory's permissions to  
770 and added


my account to it's  group with pw. In another console, under my own  
account,
I tried to cd into the directory and failed, no gui application  
could access
the directory either. pw showed I was a member of the group.  I  
logged in
though a virtual terminal, under the same account, and was able to  
cd to the
directory. And once I restarted the KDE session from KDM, the  
problem went

away.

Is this normal behaviour? Is there any way around it?

I'm running   5.4-RELEASE-p8 if it make a difference.



You need to log out and then back in for new group memberships to  
take effect.  This has always been the way it works, and I don't  
believe this is going to change any time soon.


___
Eric F Crist  I am so smart, S.M.R.T!
Secure Computing Networks  -Homer J Simpson

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with groups

2005-10-21 Thread Charles Swiger

On Oct 21, 2005, at 4:12 PM, RW wrote:
From a KDE Root console, I changed a directory's permissions to 770  
and added
my account to it's  group with pw. In another console, under my own  
account,
I tried to cd into the directory and failed, no gui application  
could access
the directory either. pw showed I was a member of the group.  I  
logged in
though a virtual terminal, under the same account, and was able to  
cd to the
directory. And once I restarted the KDE session from KDM, the  
problem went

away.

Is this normal behaviour? Is there any way around it?


This is more-or-less normal behavior.  When you change authentication  
information like adding yourself to a group, the existing processes  
you were running do not gain new privileges, but any new processes  
you start up should.


You could have re-execed your shell, or restarted KDE as you did.

--
-Chuck


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]