LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-03-2011, 02:33 PM   #1
prayingtosky
LQ Newbie
 
Registered: Dec 2010
Location: New York, USA
Posts: 22

Rep: Reputation: 0
Useradd Command To Add User To OpenSuse Box From LDAP ?


It didnít seem to work when I used the USERADD command to add myself to the sandbox. It appears to me that the system treats my newly added account as a local account, therefore I couldnít log in/SSH into it using LDAP credentials.
My question is what how do you add users from LDAP to your Linux server ?

Thank you
 
Old 01-03-2011, 02:40 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,948

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by prayingtosky View Post
It didnít seem to work when I used the USERADD command to add myself to the sandbox. It appears to me that the system treats my newly added account as a local account, therefore I couldnít log in/SSH into it using LDAP credentials.
My question is what how do you add users from LDAP to your Linux server ?

Thank you
Right...the useradd command adds user locally. And this is essentially what you asked in your other thread here:
http://www.linuxquestions.org/questi...t-ldap-849814/

where you were given a link and advice on what to do. Did you read/do it?
 
Old 01-03-2011, 03:54 PM   #3
prayingtosky
LQ Newbie
 
Registered: Dec 2010
Location: New York, USA
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
Right...the useradd command adds user locally. And this is essentially what you asked in your other thread here:
http://www.linuxquestions.org/questi...t-ldap-849814/

where you were given a link and advice on what to do. Did you read/do it?
ahh, I'm so sorry. I was too busy lately so I lost track of my posts. Thank you very much, I will read the instructions and give it a try.

Thanks again
 
Old 01-03-2011, 04:33 PM   #4
prayingtosky
LQ Newbie
 
Registered: Dec 2010
Location: New York, USA
Posts: 22

Original Poster
Rep: Reputation: 0
I read the link above, it's showing you how to configure an LDAP server. nothing relates to importing users from LDAP server to a Linux file server.

Thank you anyway
 
Old 01-03-2011, 10:02 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,948

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by prayingtosky View Post
I read the link above, it's showing you how to configure an LDAP server. nothing relates to importing users from LDAP server to a Linux file server.

Thank you anyway
...and if you read the WHOLE post, you'd see where it tells you how to hook your Linux system(s) up to LDAP, how to authenticate to them, and add/modify passwords.
 
  


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
Can't add local system user - useradd keeps saying user already exists ADeluiz Linux - Security 5 07-26-2013 04:17 PM
How to list user in Linux box, add an user to a group! steady_lfcfan Linux - Newbie 12 01-27-2013 02:14 PM
How To Use Useradd command against LDAP ? prayingtosky Linux - Newbie 1 12-12-2010 09:51 PM
command line tool to add user records to LDAP fantasygoat Linux - Server 1 06-12-2010 05:13 AM
how to add user on ldap finsh Linux - Server 3 01-23-2008 09:09 AM


All times are GMT -5. The time now is 10:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration