LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-17-2006, 04:30 PM   #16
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Rep: Reputation: 15

linux meant u dont have permissions on the /etc/group file.
he said that because only root have permissions on this one.
in ubuntu you need to add the sudo command before the vi command so ubuntu will give u a root permissions
Quote:
sudo vi /etc/group
then u will have a write permissions on the file.
 
Old 08-22-2006, 05:13 PM   #17
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
I believe that I have been successful in changing the file because when I open it after saving the change, it shows:

" odyssey:x:1000dyssey,officeuse "

So does this look like the change was successful?

Yet when I run " id -a " , it returns:

uid=1001(officeuse) gid=1000(odyssey) groups=1000(odyssey),21(fax),24(cdrom),29(audio),30(dip),44(video),46(plugdev),107(lpadmin),108(scan ner)

which does not seem to indicate that officeuse is in my group?

Why am I finding this so difficult? TIA

Last edited by Odyssey1942; 08-22-2006 at 05:59 PM.
 
Old 08-22-2006, 05:35 PM   #18
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
When I open System/Administration/Shared Folders, it says:

"Sharing services are not installed. You need to install at least either Samba or NFS in order to share your folders. The tool will close now."

Does this help point toward a solution?
 
Old 08-23-2006, 01:37 AM   #19
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Rep: Reputation: 15
what u did was not right.
the /etc/group show u the list of groups in the left and in the right side the list of users int the group. u adding a users to the group.
i guss u tought u see the user on the left side and u put the groups in the right, adding group to the user. its just wrong. thats why he gave the result u saw when u typed id.
what u did was adding the user officeuse to the group odyssey.
 
Old 08-23-2006, 01:38 AM   #20
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Rep: Reputation: 15
listen just tell me exactly what u need and ill write a script for u.
 
Old 08-23-2006, 07:07 AM   #21
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
That would be great.

Right now when I sign in there is a folder containing work files that is visible on my desktop. When user2 signs in, the desktop is blank and therefore the folder can't be accessed by user2

user2 and I need to be able to share common interest work files. All the files that I have created on this computer (which are in this folder) need to be accessible by user2 when they sign in.

When user2 makes files, I need to be able to access them.

Hope this is clear, but if not please ask for any clarification you need. Many thanks.
 
Old 08-23-2006, 07:21 AM   #22
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Rep: Reputation: 15
plz supply me the users name, the directorys names(full path) and copy of the id result of both users.
 
Old 08-23-2006, 08:32 AM   #23
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
doronunu, as soon as I get to the office, will do. thanks.
 
Old 08-23-2006, 10:03 AM   #24
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Rep: Reputation: 15
i dont need the id results of both users. i just need the users names and the directorys name(full path).

By the way : do u have icq? it will be easier for us my icq number is 230360312.
 
Old 08-23-2006, 03:23 PM   #25
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
doronunu, here is:

users are: odyssey and officeuse

uid=1000(odyssey) gid=1000(odyssey) groups=1000(odyssey),4(adm),20(dialout),21(fax),24(cdrom),25(floppy),26(tape),29(audio),30(dip),44(v ideo),46(plugdev),107(lpadmin),108(scanner),109(admin)

uid=1001(officeuse) gid=1000(odyssey) groups=1000(odyssey),21(fax),24(cdrom),29(audio),30(dip),44(video),46(plugdev),107(lpadmin),108(scan ner)

path is " /home/odyssey/Desktop/AFRV " (where AFRV is the folder that has all the files that I want the other user to be able to share)

Many thanks.
 
Old 08-24-2006, 01:08 AM   #26
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Rep: Reputation: 15
never i done it with out them. i did it interactive.
 
Old 08-24-2006, 06:48 AM   #27
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
I'm sorry I don't understand you most recent post. BTW, forgot to reply that I do not have ICQ.
 
Old 08-24-2006, 07:01 AM   #28
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Rep: Reputation: 15
sry i ment that nevermind (about the user and directory name). i made the script interactive so he ask u for the users and the directory.
 
Old 08-24-2006, 07:32 AM   #29
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
Sounds good. When might I see it? Thanks.
 
Old 08-24-2006, 08:20 AM   #30
doronunu
Member
 
Registered: Dec 2005
Location: Israel
Distribution: used : Ubuntu, Debian, Arch. current : Centos.
Posts: 69

Rep: Reputation: 15
almost finished ill finished it tonight my zone time (GMT+3)
 
  


Reply

Tags
group, permission, permissions, user



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
How to list user in Linux box, add an user to a group! steady_lfcfan Linux - Newbie 12 01-27-2013 01:14 PM
problem with a user group and apache javier_ccs Linux - Software 7 07-28-2011 03:53 AM
Assigning a hub to a user with udev arclyte Linux - Hardware 0 03-20-2006 05:44 PM
User and Group Admin: How to tell Who is in What group? Akhran Linux - Newbie 1 11-12-2005 11:16 PM
Problem with user group naza Linux - Security 1 02-05-2004 06:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:05 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration