LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 06-05-2006, 03:44 AM   #1
DarReNz
LQ Newbie
 
Registered: Apr 2006
Posts: 27

Rep: Reputation: 15
can't su to user


hi all,

I created a new user bb in Solaris 10 and after creating the directory /export/home/bb, i gave ownership to bb but still whenever i try to su to bb i get "su: No directory!" anyone knows why ?
 
Old 06-05-2006, 05:28 AM   #2
apt-get-dude
Member
 
Registered: Mar 2006
Posts: 98

Rep: Reputation: 15
can you show the output of # grep bb /etc/passwd and # ls -l /export/home/bb ?
Perhaps you have a permission problem.
 
Old 06-16-2006, 10:17 AM   #3
spyghost
Member
 
Registered: Jun 2003
Distribution: Redhat
Posts: 245

Rep: Reputation: 30
Quote:
Originally Posted by DarReNz
hi all,

I created a new user bb in Solaris 10 and after creating the directory /export/home/bb, i gave ownership to bb but still whenever i try to su to bb i get "su: No directory!" anyone knows why ?
i assume that you are creating a local user.

grep bb in /etc/passwd. check the home directory column of passwd. make sure that it "really" exists in your tree. what you an do is ls -ld /export/home/bb and see the owner of the home directory. also, check out your shell.
 
  


Reply



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
Postfix unable to deliver mail because user@virtualdomain becomes user@hostname azrael808 Linux - Networking 0 04-29-2006 12:35 PM
C program to see user log on in system and print user with real user name also naveen245 Programming 2 12-21-2005 12:53 AM
grant user access to /fat-c & copying users' preferences to another user n0x Linux - Newbie 1 07-04-2004 12:04 AM
Games runs slow as normal user, but fast as root user mcore Linux - Software 2 06-07-2004 11:11 PM
Pleasehelp with proftpd.conf - trying to config user to write files as other user. philg Linux - Software 1 06-21-2003 12:13 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

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