Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


cannot set process environnement !!!!

cannot set process environnement !!!!

cannot set process environnement !!!!

hi that's the message I have if I try to connect to an account using " su - username "

Cannot set process environment.

Daoes somebody have the solution ?

RE: cannot set process environnement !!!!

What happens if you run usrck -n username ( what errors does it report) if any?
Is anything listed in errpt -a | pg
Is your system running low on any resources , sar -v 4 4
or check using topas

RE: cannot set process environnement !!!!

you cannot have shell script as shell in AIX

RE: cannot set process environnement !!!!

Hi !!!
gheist : what is the solutrion for this ?
I had run diag on my system and get this error :
746-242 :SCSI  bus ERROR

RE: cannot set process environnement !!!!

1) errclear 0 (clean up error log)
2) after 24h - run diag again and follow its instructions

common cause is loose cable or statical discharge at bootup or smth like that.

smitty errpt explains errors better sometimes

RE: cannot set process environnement !!!!

I am wondering why I cannot execute shell ....I still have problem to su an user:
caanot set process environnement.
I ve run fsck on the fs of usr but still get the error.
If I run usrck -n xx : i get the following output.
3001-612 User xx has a non-existent
         or inaccessible home directory /home/xx.
3001-611 User xx has a non-existent
         or nonexecutable login shell /usr/bin/ksh.
3001-621 The authentication program /usr/lib/drivers/pse/x29d -p
         for user xx does not exist or is nonexecutable.

the solution ?????

RE: cannot set process environnement !!!!

 su user
to keep your enviromnment
and check
 cd /home/xx ; pwd
 /usr/lib/drivers/pse/x29d -p

it will reveal invalid permissions

if not - read further

pwdchecks     Defines external password restriction methods used when checking new passwords.  The format is a comma-separated list of absolute path names to methods and/or method path names relative to /usr/lib.  A password restriction method is a program module that is loaded by the password restrictions code at runtime.  All password restriction methods and directories should be write protected from everyone except root.  The default is valueless, which is equivalent to no external password restriction methods.

RE: cannot set process environnement !!!!

is it only with one user or all users ?
if only on one user, try to replace ~user/.profile with /etc/profile for example.

RE: cannot set process environnement !!!!

i believe user has set 0000 permissions on ~

RE: cannot set process environnement !!!!

damm you're too fast for me gheist !  

RE: cannot set process environnement !!!!

Perhaps someone edited the password file with vi to create users?  Or changed permissions, or did not select the correct defaults when they created the user?

The command su - user_name returns with the following message:

       3004-505 Cannot set process environment
These symptoms are caused by the user not being able to execute the login shell (ksh, csh, or bsh, depending upon which is being used) or by a permissions problem in the home directory path.

Or as Gheist said...0000 for permissions on ~?  


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close