LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-09-2012, 09:00 PM   #1
Stannley
Member
 
Registered: Jul 2010
Posts: 35

Rep: Reputation: 0
Add Local User to Domain Users Group


Hi

I have a local user, proivck, which is used to connect to a local CVS repository in an application. The user is not part of the Domain Users group, but needs to be to be able to write to a folder that real domain users have access to.

How can I add the proivck user to the Domain Users group without creating the user in the domain first?

I am using Red Hat 6.3.

Thanks!

Simon
 
Old 09-09-2012, 09:21 PM   #2
Stannley
Member
 
Registered: Jul 2010
Posts: 35

Original Poster
Rep: Reputation: 0
Hi

I managed to work this one out for myself, although its not a particularly nice way to do it.

I logged in as myself and listed all of the gids and names. Domain Users was the first cab off the rank so I took that gid and added it to the proivck user in /etc/passwd.

As I said, not very nice, so if anyone has any better suggestions I would like to hear them!

Cheers

Simon
 
  


Reply

Tags
domain, group, red hat, user


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I add a group of users to the wheel group? Teleute Linux - Security 7 05-21-2010 09:55 PM
Script to Auto-add Domain Users to Workstation Power Users Group doesn't work avinash.rao Ubuntu 0 08-22-2009 04:57 AM
Script to add a secondary group to all users except system default users Tekken Linux - Server 5 06-29-2009 04:02 PM
domain users only have 1 group !!! humbletech99 Linux - Server 3 06-29-2007 01:57 AM


All times are GMT -5. The time now is 08:53 AM.

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