Fedora Linux Support Community & Resources Center
  #1  
Old 23rd August 2004, 07:02 AM
projkt4 Offline
Registered User
 
Join Date: Apr 2004
Location: 192.168.0.0
Age: 29
Posts: 37
logon via putty...

I am trying to set up ldap as my means of organising profiles and such, eventually planning on working a samba+ldap service. my problems are thus;

when i attemt to log on as a user, i get

Code:
Could not chdir to home directory /home/projkt4: No such file or directory
i know there isnt a direectory, because i wanted to have it organised to have the home directory set up as such:

/home/profiles/projkt4

with every new user i would create another dir in

/home/profiles



when i checked to see if ldap was running i was told that ldap was not a service. what would i have overlooked that would not have ldap shown as a service. also, when i checked to see if samba was running, i was told that both smb and smd were not started. where and how would i go about changing that on boot; so they start automatically?
Reply With Quote
  #2  
Old 23rd August 2004, 09:15 AM
ghenry's Avatar
ghenry Offline
Retired Community Manager
 
Join Date: Mar 2004
Location: Scotland
Age: 34
Posts: 1,019
type
Code:
setup
as root and look for ldap and smbd/nmbd
__________________
http://blog.suretecsystems.com
Reply With Quote
  #3  
Old 24th August 2004, 04:21 AM
crackers's Avatar
crackers Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 56
Posts: 3,423
In order to change where the default user directories are stored, you have to edit each user's setup and change this. You can do this through the System Settings -> Users and Groups GUI. By default, all user directories are located directly under /home - which makes me wonder why you'd want/need to change this?
__________________
Linux User #28251 (April '93)
Professional Java Geek :cool:
Reply With Quote
  #4  
Old 5th September 2004, 06:02 AM
projkt4 Offline
Registered User
 
Join Date: Apr 2004
Location: 192.168.0.0
Age: 29
Posts: 37
i finally setup and configured ldap enough to get it running, i now need to figure out how to get ldap to be my authentication service for logon. you can find my troubleshooting in the servers forum here at fedorum.


crackers:
i just want to change the setup slightly so it "feels" better to me. just a preference thing. also, i appreciate your advice, but since i dont use any GUI i cant even begin to figgure out what you reccomended. thanks though, hopefully someone else will need that info.
Reply With Quote
  #5  
Old 5th September 2004, 10:24 AM
dave_kimberley's Avatar
dave_kimberley Offline
Registered User
 
Join Date: Aug 2004
Location: Whitley - Coventry
Age: 30
Posts: 29
To use the LDAP service as your primary means of authentication, type authconfig then select LDAP for both User Information and Authentication.

As for the user home directory's, you can let pam_mkhomedir.so create them.

You will need to configure /etc/pam.d/system-auth

That should do it.

__________________
Dave Kimberley
------------------

RHCE - RHEL3 - RHEL4 & RHEL5
CCNA
Reply With Quote
  #6  
Old 5th September 2004, 11:59 AM
projkt4 Offline
Registered User
 
Join Date: Apr 2004
Location: 192.168.0.0
Age: 29
Posts: 37
thanks! i will try that once i have populated the database with users and can make sure i can get in. dont need to lock myself out. your help is much appreciated.
Reply With Quote
  #7  
Old 5th September 2004, 07:10 PM
crackers's Avatar
crackers Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 56
Posts: 3,423
Since you "don't use a GUI", you can manually change users' home directories via the CLI with vipw. Please be aware that when you start deviating from standard procedures that you are incurring a risk that some programs may not work entirely correctly as there are certain expectations that you've circumvented. This means that you may (probably will) have to hunt down lots of rc and config files to make the changes in there, as well.

Not to be nasty or anything, "feels better" doesn't necessarily make a lot of sense. The filesystems were/are set up the way they are for a reason - and almost everything expects you to follow that convention, since that's the "standard."
__________________
Linux User #28251 (April '93)
Professional Java Geek :cool:
Reply With Quote
  #8  
Old 6th September 2004, 06:40 AM
projkt4 Offline
Registered User
 
Join Date: Apr 2004
Location: 192.168.0.0
Age: 29
Posts: 37
crackers;
i appreciate the heads up on deviation from the standard setups, but i am willing to go through those files to edit what i need to do. i have found that by giving my system a certian quirkyness forces me to go line through line and figgure out what a majority of those lines do. it is a longer method of getting things to work, but it allows me to learn so much more. sort of why i have been so reluctant to install a linux distro with a GUI, i feel lazy when i rely on a gui to help me navigate and administer things. either way, i realize my method is not the best for everyone, just me and my learning preferences. i appreciate your comment about vipw, iplan on trying it out soon. thank you.
Reply With Quote
  #9  
Old 6th September 2004, 06:31 PM
crackers's Avatar
crackers Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 56
Posts: 3,423
Quote:
Originally Posted by projkt4
i have found that by giving my system a certian quirkyness forces me to go line through line and figgure out what a majority of those lines do. it is a longer method of getting things to work, but it allows me to learn so much more.
Hey, it's your system, but I usually just RTFM a lot when the curiousity bug strikes. Or when something breaks. I've learned the values in "leaving things well enough alone" after having done some similar kinds of things.
__________________
Linux User #28251 (April '93)
Professional Java Geek :cool:
Reply With Quote
Reply

Tags
logon, putty

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Putty settings for vnc over putty ieuuk Guides & Solutions (No Questions) 0 5th March 2005 09:53 AM
PuTTY SSH Tunneling Javaguy78 Servers & Networking 1 22nd December 2004 06:09 PM


Current GMT-time: 20:08 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat