LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-23-2009, 05:24 AM   #1
sherimm
LQ Newbie
 
Registered: Nov 2007
Posts: 27

Rep: Reputation: 15
useradd error


hi,

we added a user in linux box and su to that user and given "id"

it is giving following output

context=user_u:system_r:unconfined_t


Could you please explain how can we clear this

thanks,
sheri
 
Old 04-23-2009, 05:26 AM   #2
mitsulas
LQ Newbie
 
Registered: May 2006
Distribution: Debian
Posts: 21

Rep: Reputation: 0
Quote:
Originally Posted by sherimm View Post
hi,

we added a user in linux box and su to that user and given "id"

it is giving following output

context=user_u:system_r:unconfined_t


Could you please explain how can we clear this

thanks,
sheri
Try to add the user with the adduser command and not with the useradd command.
 
Old 04-23-2009, 06:00 AM   #3
Libu
Member
 
Registered: Oct 2003
Location: Chennai
Distribution: Slackware 12.1
Posts: 165

Rep: Reputation: 36
What command did you run to add the user ?
 
Old 04-23-2009, 07:34 AM   #4
sherimm
LQ Newbie
 
Registered: Nov 2007
Posts: 27

Original Poster
Rep: Reputation: 15
useradd username -d homedir -G group name
 
Old 04-23-2009, 08:58 AM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Turn off SELinux. But what makes you think you need to clear that?
 
  


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
smbldap-useradd error? deathsfriend99 Linux - Software 1 12-07-2011 08:14 AM
Useradd Error (RHEL4) carlosinfl Red Hat 4 09-06-2007 01:32 PM
Useradd - Cannot locate /etc/default/useradd in Solaris Paean Solaris / OpenSolaris 4 12-09-2005 01:36 AM
useradd-error ahmed4linux Linux - General 2 12-25-2004 09:18 AM
Useradd Error LinuxRam Linux - Newbie 7 08-12-2004 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:41 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