- Joined
- Jul 21, 2016
- Messages
- 2
- Reaction score
- 0
Hi,
I am observing the below issue on MAC OS X.
When we create a local user (say: user1) and login in to this local user from an admin user, it asks for the password.
But when I login in to the local user (user1) from a root user it doesn't ask for a password.
Please let me know why the behaviour is different for a admin/root user to login to local user on MAC OS X.
Am writing a automation script for MAC OS X where I want to login to local user from root/admin user and execute some commands.
I can see the error message inconsistently which is given below when I login into a created local user from the available local user or root user.
Error:shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
Kindly share your ideas on this.
Thanks,
Thamem
I am observing the below issue on MAC OS X.
When we create a local user (say: user1) and login in to this local user from an admin user, it asks for the password.
But when I login in to the local user (user1) from a root user it doesn't ask for a password.
Please let me know why the behaviour is different for a admin/root user to login to local user on MAC OS X.
Am writing a automation script for MAC OS X where I want to login to local user from root/admin user and execute some commands.
I can see the error message inconsistently which is given below when I login into a created local user from the available local user or root user.
Error:shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
Kindly share your ideas on this.
Thanks,
Thamem