LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-09-2011, 12:40 AM   #1
peace18
LQ Newbie
 
Registered: Feb 2011
Posts: 19

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


Hello,

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?

Thanks

Peace
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 04-09-2011, 12:59 AM   #2
mayursingru
Member
 
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.



Regards,
Mayur Singru
 
Old 04-09-2011, 02:19 AM   #3
mesiol
Member
 
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, 11:09 AM   #4
peace18
LQ Newbie
 
Registered: Feb 2011
Posts: 19

Original Poster
Rep: Reputation: 0
Hello,

Thanks for your replies.

I am a newbie.

How can I do sudo and alias?

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

Rep: Reputation: 56
what mailserver do you use?
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:46 AM.

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