LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Qustion about adding user id to UUCP?? (https://www.linuxquestions.org/questions/linux-newbie-8/qustion-about-adding-user-id-to-uucp-301715/)

ccfrosty 03-14-2005 11:01 PM

Qustion about adding user id to UUCP??
 
I am trying to install a piece of software, and the developer told me that I will need to add my user ID to the uucp group file so that I will be able to access my serial ports (something that I need so that I can attach a GPS to the computer). In any case, I am wondering how exactly I add my userid to the uucp? Thanks in advance
-Eli

jonman364 03-15-2005 02:49 PM

First run 'grep <username> /etc/group' to find out what groups your user already belongs to. Then run 'usermod -G <groups>,uucp <username>', as root. The group are separated by commas with no spaces. Omit the main group the user belongs to (ex. <username> or users). If the user only belongs to one group, <username> or users, you only need to run "usermod -G uucp <username>. For more information about usermod, 'man usermod'.

-Jon

PS Make sure that group uucp owns your serial ports. I have no such group on my machine.

frank harvey 03-15-2005 06:36 PM

slightly simpler:
- login as root
- groups yourname (to see what you're in now)
- groupadd -G uucp,oldlistofgroups yourname

As noted earlier the list of groups, now with uucp, has to be
comma-delimited with no blanks.

- newbie-doing-first-posting...


All times are GMT -5. The time now is 11:58 AM.