Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I logged in as root user and create a new user and set the password. But I am unable to switch to the newly created user.

What is the permission problem of .bashrc file with root user?

# adduser -m praveen
# passwd praveen
<password set>

# su praveen
bash: /home/monitor/praveen/.bashrc: Permission denied

# ls -al /home/monitor/praveen
-rw-r--r-- 1 praveen praveen  124 Jul 28 07:41 .bashrc
share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

/home/monitor was not in permission list of user praveen. Adding it fixed the problem.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.