Results 1 to 9 of 9
I'm using centos 5.6. I would like to...
See users
see user groups
add permisions
And thats it. The permisions should allow the user not to be able to cd ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-30-2011 #1Just Joined!
- Join Date
- Aug 2011
- Posts
- 7
Noob Alert!!!! How do I see my user groups in root?
I'm using centos 5.6. I would like to...
See users
see user groups
add permisions
And thats it. The permisions should allow the user not to be able to cd .. back into the root directory.
Thanks
Ya I probly should of put this under red hat, but its also a noobie question.
Last edited by codman1004; 08-30-2011 at 02:03 PM.
- 08-30-2011 #2Just Joined!
- Join Date
- Aug 2011
- Posts
- 16
Hi
Try this for groups "cat /etc/groups".
Try "ls -la /home/" for users.
Check the chmod command.
Br
Haze
- 08-31-2011 #3
system-config-users will let you see your users and their group memberships in a gui. Preventing them from doing cd .. or cd / would require putting them in a chroot jail. Changing permissions such that they couldn't traverse / would prevent them from logging in, as they would neither be able to access their home folders, nor any executables, including shells.
- 08-31-2011 #4Just Joined!
- Join Date
- Aug 2011
- Posts
- 7
Ok So know how do I change the permissions for the user. Would you recamend using rbash. I'm familiar with it. Our school uses it. But they run centos 6 I believe. Whats the difference betweent centos 6 and centos 5.6?
Thanks
- 08-31-2011 #5Linux User
- Join Date
- Jan 2005
- Location
- Saint Paul, MN
- Posts
- 394
- 08-31-2011 #6
For command functionality, CentOS 5.6 is pretty much the same as 6.
Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 08-31-2011 #7
bowrofl.gif That's funny, I don't care who you are!
- 09-06-2011 #8- Clouds don't crash - Bertrand Meyer
registered Linux user 393557
finally - hw to brag about - but next year it will look pitifully quaint:
Athlon64 X2 3800 - 1G PC3200 - 250G SATA - ati radeon x300
circa 2006
- 09-06-2011 #9
chmod
Haze mentioned the chmod command - that is probably what you want.
to see how to use it:
You probably already know that this works for nearly any Linux command.Code:tom@owl ~ $ man chmod
I would try it out on something that doesn't really matter. Maybe make a file called test and try some chmod commands on it.
There is also chown:
to see how that works etc ... pay attention to the "see also" at the end of each man pageCode:tom@owl ~ $ man chown
- Clouds don't crash - Bertrand Meyer
registered Linux user 393557
finally - hw to brag about - but next year it will look pitifully quaint:
Athlon64 X2 3800 - 1G PC3200 - 250G SATA - ati radeon x300
circa 2006


Reply With Quote

