a1022
09-08-2001, 06:46 AM
I have created an account on WHM without shell access. However I now need that account to have shell access but I can't seem to find it anywhere to enable it. I went to 'Modify an Account' but did not find this. Could someone please tell me where I can enable it? Much appreciated!
sodapopinski
09-08-2001, 07:19 AM
Open /etc/passwd file and change user access from /noshell to /bin/bash
should be work just fine.
a1022
09-08-2001, 07:32 AM
Great! Thanks it works. Do you think it's a bug in WHM/CPANEL that they couldn't modify it with the interface?
eva2000
09-08-2001, 11:54 AM
hey there :)
i think it's an oversight not a bug... i normally just edit the /etc/passwd file as well :)
multipleimage
09-08-2001, 09:40 PM
cpanel has a lot of things. they probably just never thaught about adding that. how often do you actually change from no shell to shell anyway?
a1022
09-09-2001, 07:11 AM
Not often at all but sometimes when I created an account without shell access, and later find that I do need it, there's no option there. There's an option when creating the account. Anyhow, that /etc/passwd worked. Thanks people! :D
jtan15
09-09-2001, 08:58 AM
Editing the /etc/passwd file will work fine, but I recommend using the "usermod" command instead.
usermod -s /bin/name_of_shell USERNAME
Executing this command will change the shelll of USERNAME to whatever you specify. This way you don't have to change /etc/passwd, which could be a very dangerous move if one was to delete too much in the file.