LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   usr v.s. admin auto file permissions (https://www.linuxquestions.org/questions/linux-security-4/usr-v-s-admin-auto-file-permissions-158588/)

me99 03-16-2004 04:14 PM

usr v.s. admin auto file permissions
 
If I allow a user from standard file  to have "adm, root, sys, and etc." access, does that automatically allow for editing root file?
Thanks.

unSpawn 03-18-2004 05:01 PM

For my understanding, could you explain a wee bit clearer what you're trying to accomplish? Maybe add an example?

me99 03-19-2004 01:38 AM

Well, I manually edited the user file where added myself as adm, sys, root, wheel, and etc. since I couldn’t get it via the GUI. So, even I got the privileges of root, sys, and adm I still have to log in as su to update or modify any of the system files.
I would be expecting that with such privileges I would be able to modify system files but it seems like I still have to log in as su!?
Thanks.

unSpawn 03-19-2004 11:55 AM

Well, I manually edited the user file where added myself as adm, sys, root, wheel, and etc.
What file?


So, even I got the privileges of root, sys, and adm I still have to log in as su to update or modify any of the system files. I would be expecting that with such privileges I would be able to modify system files but it seems like I still have to log in as su!?
With all due respect, but you're using the wrong approach. Granting any other lesser-privileged user root, sys or adm power is dead wrong, accounts under *nix are much more than just names.
What you should do is set up sudo and an unprivileged user account. Visudo (configure) what tasks an unprivileged user may perform as a more powerful user, log in to that unprivileged account and use that. Trying to do stuff with root privileges all of the time is something you should avoid at all costs.

me99 03-19-2004 12:12 PM

Well unSpawn,
As a power user should not I have the privilege to access any file without too much hassle of constant su login/unlogin to modify files when developing?
To me, admin/password is for the last resort when you use it only to fix the problems that you by mistake crated with the privilege of administrate access. It’s like a back door that you don’t use unless … .
Similar to windows access, again, that is a point from a power user!? It Linux more restricted in this then windows?


All times are GMT -5. The time now is 09:58 PM.