To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 3222
3221  |  3223
Subject: 
Re: Help with users and grps in unix...
Newsgroups: 
lugnet.off-topic.geek
Date: 
Tue, 24 Jul 2001 19:25:14 GMT
Viewed: 
138 times
  
In lugnet.off-topic.geek, Dan Boger writes:
to see who's in a group:
grep "groupname" /etc/group
to see what groups a user belongs to:
id "user"

Thanks, Dan!
Will adding "nobody" to group "bldesign" make it possible for my php script
to write to directories set at mod 775?  I'd like to know for sure before I
ask support if they'll do that for me. Thanks,
--Bram



Message has 1 Reply:
  Re: Help with users and grps in unix...
 
(...) (assuming that the directory is group owned by dlsesign) - yup, that'll work. just don't forget that _anyone_ that has cgi access on that server will be able to read/write to that directory... On a shared box, that may mean 100s of people. (...) (23 years ago, 24-Jul-01, to lugnet.off-topic.geek)

Message is in Reply To:
  Re: Help with users and grps in unix...
 
(...) to see who's in a group: grep "groupname" /etc/group to see what groups a user belongs to: id "user" to add users to a group, you have to be able to edit the /etc/group file - which (on any sane system), only root can do. sorry... (23 years ago, 24-Jul-01, to lugnet.off-topic.geek)

7 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR