root group permissions

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers root group permissions
# 1  
Old 10-31-2001
Question root group permissions


Another newbie here and here is my dilemma. I created an account for me on Solaris 8 and I added myself to the root group. But when I login using that account I am unable to do superuser tasks.. (add users, admintool, etc). What am I missing? Thanks in advance..

# 2  
Old 11-01-2001
Do a ls -l admintool in the directory where it exists. If you see something like:
-rwxr--r--   1 root   root         723 Oct 31 05:55 admintool

Then you'll need to make sure the group can execute as well.

chmod g+x admintool

Man chmod for more info.
# 3  
Old 11-01-2001

Thanks, I will try that, but if i choose to go throught the command line, are the rights automatically assumed. I am a member of that group, so I do not understand why I would have to change any permissions. Can you explain the unix reasoning why? Thanks for your quick response.

# 4  
Old 11-01-2001
I must disagree with this advice. Only a process whose effective uid is zero can do superuser stuff. This is very deeply embedded in the kernel and no amount of fiddling with inodes in a filesystem is going to confer superuser status on a process just because it is a member of a group called root. You would also need to set the suid bit on many files and ensure that they are owned by root to have a shot at this. Say good-bye to system security if you do.

Even if you could do this, you shouldn't want to. It's a good thing that your normal account can't do root stuff. The first time you accidently type "rm *" while cd'ed to /etc and find that you did no damage will compensate you for needing to type "su" and enter a password every now and then.

Take a look at this thread. You are going to greatly increase the chance that this happens to you.
# 5  
Old 11-01-2001
Thanks for your advice, Coming from the Windows world. So basically, to do any administrative duties, I should su to 'root'. what about the sysadmin group would that allow me to do some things? Thks..

# 6  
Old 11-02-2001
Oops, I stand corrected. I wasn't thinking straight up there..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Web Development

Group and user permissions on mediawiki

I am working on setup a wiki which should have users and group having read or write permission. Before that we were using simple write to all methodology. Now the challenge is this that i have created a 3 users and all of the 3 are able to write to wiki and update the page. Now what i what to... (0 Replies)
Discussion started by: sunnysthakur
0 Replies

2. UNIX for Advanced & Expert Users

Group permissions question

I have a user who has had an id change. His old id was xl00 his new id b000999. Both id's are in group bauser. The user now cannot access his old files even though he is in the same group and permissions seem to be ok. See below, first 2 files he can't see, second two are no problem. ... (2 Replies)
Discussion started by: dw82199
2 Replies

3. UNIX for Dummies Questions & Answers

Root group permissions

Hi everybody, which are the root group permissions and how can I give to a user these rights? Thanks in advance. (2 Replies)
Discussion started by: bmayao
2 Replies

4. UNIX for Advanced & Expert Users

Automate setting of group permissions

What would be a practical way of making sure files I upload to/edit in a particular directory on a server always have the correct group permissions? I'm forgetful, so I try to automate things like chgrp'ing the files when I'm done. I could write a script to be run by cron. Is that the only way,... (2 Replies)
Discussion started by: mregine
2 Replies

5. Solaris

Group Permissions - How to tell the difference

I am a member of a few different user groups. I would like to see what the difference is.... Can anyone tell me how to look at permissions side by side ? We are using : SunOS xxxxxx 5.10 Generic_127111-09 sun4u sparc SUNW,Sun-Fire-V440 Thanks ! (10 Replies)
Discussion started by: popeye
10 Replies

6. UNIX for Dummies Questions & Answers

Group permissions

Hi, I've created a user named fwadmin, group named fwadmin and made the user belong to that group. I created the user and group using the 'User Manager' in Centos. The user belongs to /etc/fw.Does this also mean that the group fwadmin belongs to /etc/fw. That is what I want. But when I... (4 Replies)
Discussion started by: anaigini45
4 Replies

7. Solaris

Changing root group to group from other

Does any one know if changing root's group from “other” to “root” will cause any problems on a running system. Thanks (4 Replies)
Discussion started by: mjkroner
4 Replies

8. Shell Programming and Scripting

checking Permissions of file for OTHERS and GROUP

Hi, Is their a way to check the read and execute permission on a file on OTHERS and GROUP rwxr--r-x I am trying something like: if ( || ) then .... fi The code above only checks the permissions of the owner of the file but not for the GROUP and OTHERS. I will really... (5 Replies)
Discussion started by: rkumar28
5 Replies

9. AIX

bin group strange permissions

I was doing a little playing around with permissions on a 5.3 box in the office and wanted to make it so that it does not take root permission to delete a users home directory once they are deactivated or deleted in smit. the default permissions are 755 with bin as both user and group I noticed... (2 Replies)
Discussion started by: dgaixsysadm
2 Replies

10. Filesystems, Disks and Memory

group permissions/webserver

Hi, there is one strange situation with directory permissions that I run into every now and then, and now I face it a gain with a webserver. Situation (example): drwxrwsr-x 14 user www-data 4096 Jul 28 11:06 . drwxr-xr-x 2 www-data www-data 4096 Jul 28 11:06 subdir -rwxr-xr-x 1... (3 Replies)
Discussion started by: doozer
3 Replies
Login or Register to Ask a Question