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

I'm a software developer who finds himself the SA stuckee when one SA went on vacation right after the other one quit. We have a network of redhat/solaris machines with a solaris NIS server. I want to create local accounts for an sftp server on the network without granting network accounts. I also want to create a local group specific to these accounts to manage access.

How do I keep the network and local group IDs and user IDs from conflicting with the NIS IDs?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

How do I keep the network [NIS] and local [/etc] group IDs and user IDs from conflicting [...]?

With a clipboard.
Alternatively, by keeping all NIS UID/GID numbers above a certain value (say 10000) and all local UIDs/GIDs below that value.

I strongly suggest you speak to your system administrator before mucking about with the environment. They will probably be a little ticked off at being called on vacation, but they will certainly be seriously displeased with you if you create a mess that they have to unwind when they return - especially if said mess creates UID/GID overlaps inadvertently, and/or requires re-jiggering ownerships and permissions on lots of files.

share|improve this answer
    
Thanks for the good advice. Unfortunately our SA isn't reachable, and, in any case, he's been more focused on the windows network and isn't really up to speed on nis administration yet. We no doubt have some painful learning coming up. –  John Gordon Jul 19 '11 at 16:03
    
In that case the duty of making the clipboard falls to you as the first poor bastard to touch the environment :-) –  voretaq7 Jul 19 '11 at 17:42
add comment

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.