RE: #chsh -s /usr/bin/passwd - by misteke
> okay, *maybe* this will work. man su says it looks for the shell
> specified by --shell, then $SHELL if --preserve-environment is used,
> then the shell in /etc/passwd and finally /bin/sh. So what if you
> don't specify a shell, and can remove /usr/bin from your path. Its
> possible that if su can't find /usr/bin then it won't find
> /usr/bin/passwd and then it will drop to /bin/sh. It probably won't
> work, because i'll be its hardcoded to look in /usr/bin, but it might
> be worth a shot.
Thanks but I don't understand what you mean, what should I do, and how,
could you give me more detail (step by step :)), please?
--------------
$ echo $SHELL
/bin/bash
--------------
--
Best regards
Reply to: