Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I created a new user named bob, and gave it its own /home/ folder on my server so I can SSH into that instead of root.

I had added bob into the nogroup group as I had read somewhere (or poorly interpreted it) as allowing me to edit nobody's files, but I get permission denied when I try.

How do I edit nobody's files without running sudo every time, how do I grant permission for bob to edit them?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Make nobody and bob members of the same group, possibly a new one

chgrp the files to the group that they are both members of. chmod the files so that the group can read and write them (chmod g+rw filename).

nobody isn't nobody - it's somebody named "nobody".

share|improve this answer
    
Works 100% a-ok now, thank you. :) –  John R. Dec 6 '10 at 2:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.