Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-29-2008, 02:24 AM   #1
LQ Newbie
Registered: Apr 2008
Posts: 6

Rep: Reputation: 0
user permissions and policies

dear all,
I want to know how we can give special privileges to a particular user, like admin power............please help in it............

Old 05-29-2008, 03:19 AM   #2
Registered: Nov 2005
Location: Turkey
Distribution: Suse
Posts: 104

Rep: Reputation: 16
you can change the usergroup by looking the file /etc/groups
Old 05-29-2008, 05:52 AM   #3
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
Originally Posted by Subin View Post
dear all,
I want to know how we can give special privileges to a particular user, like admin power............please help in it............

Can you be more specific?
Old 05-29-2008, 12:11 PM   #4
Registered: May 2008
Posts: 101

Rep: Reputation: 15
Adding that particular user to the sudoers list is one possibility. Adding the user to certain groups (depending on what has to be allowed) would be another way. In the second case only files that are group-writeable can be chnaged by the user.

Linux Archive

Last edited by seraphim172; 06-25-2008 at 05:40 AM.
Old 05-30-2008, 02:09 AM   #5
LQ Newbie
Registered: Apr 2008
Posts: 6

Original Poster
Rep: Reputation: 0

Originally Posted by Tinkster View Post
Can you be more specific?
Let it be like this, I am a common user with less privileges that is i can't change others account and their permission, so what should i do in order to get "root" like privileges i the server...............

Old 05-30-2008, 02:30 AM   #6
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
You can add yourself to the "wheel" group; edit /etc/soduers as root using the "visudo" program to uncomment the line that allows %wheel group members to use sudo; run your root commands with "sudo" in front of them.

Fedora, by default, configures the sudoers file so that when you use sudo you enter your regular password. This allows you to allow wheel group members to run root commands without needing to give them the root password.

Sudo can be configured to only allow commands that you specify. If you had it configured to require the root password, a person knowing the root password could use "su" instead and have full root powers.

If you are the only user, and know the root password, you can run "su -" to become the root user. This may be handier in some situations where you will be running multiple root commands back to back. For example, using "less" to read through a number of logs in /var/logs/. Many are owned by root and don't allow regular users to read them. Another situation is where the commands you will be entering will be using redirection. Compare echo 0 >/proc/sys/net/ipv4/ip_forward with sudo sh -c "echo 0 >/proc/sys/net/ipv4/ip_forward".


permissions, user

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Giving user 'www-data' same permissions as normal user MikeOfAustin Linux - Software 5 06-08-2007 03:50 AM
Managing user Accounts with Group Policies, LDAP AdamSBS Linux - Software 2 08-24-2005 09:10 PM
Managing User Account policies nirmaltom Linux - Enterprise 1 08-20-2005 08:50 AM
User permissions dmanchepalli Red Hat 2 02-14-2005 09:23 PM
user permissions Hmmyah Linux - Newbie 4 12-11-2003 09:03 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration