Download your favorite Linux distribution at LQ ISO.
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 04-09-2011, 01:40 AM   #1
LQ Newbie
Registered: Feb 2011
Posts: 19

Rep: Reputation: 0
How to create a user without root privileges


I create a user in CentOS 5.5 for using with my email account.

useradd ralf
passwd ralf

I want to use "ralf user" only for my email account.

How can I remove others privileges/permission‎s?

Also, I want to use "ralf user" without root privileges/permission‎s.

Could you help me?


Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 04-09-2011, 01:59 AM   #2
Registered: Nov 2010
Location: Pune
Distribution: CentOS
Posts: 51

Rep: Reputation: 5
Hi peace18,
By default user account created are without root privileges. Just configure your mail client and you are ready to use email account. As far as privileges are concerned you try switching to user ralf and try executing some privileged commands or opening files like passwd,shadow etc. You can use "sudo" to execute commands and open files but not everything will function as root user.

Mayur Singru
Old 04-09-2011, 03:19 AM   #3
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
There is no need to create a user for an email address only. If you only want an email receipient, you can create an alias in /etc/aliases to forward mail for this username to another user.
2 members found this post helpful.
Old 04-09-2011, 12:09 PM   #4
LQ Newbie
Registered: Feb 2011
Posts: 19

Original Poster
Rep: Reputation: 0

Thanks for your replies.

I am a newbie.

How can I do sudo and alias?

Old 04-09-2011, 01:12 PM   #5
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

Rep: Reputation: 56
what mailserver do you use?


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
Create user with root privileges.. nishanthame Linux - Newbie 10 07-06-2010 08:21 AM
how to create user similar to root privileges salimshahzad Linux - Newbie 13 02-21-2010 08:29 PM
Create new account with root privileges? prasannasellam Linux - Newbie 2 01-21-2008 02:34 AM
Create Profiles with Root Privileges dumbsheep Linux - Newbie 7 01-11-2005 02:46 PM
How can I create a user with the same privileges as the root ? Menestrel Linux - Newbie 3 11-19-2003 10:38 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:30 AM.

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