davis;288558 Wrote: > Here's what I've just tried (as root): > ==== > chsh -s /bin/bash squeezecenter # Set sc's shell to bash to allow > login > chsh -s /sbin/nologin squeezecenter # set shell back as it was > ==== >
I wanted to install some plugins as user=squeezecenter. Since I couldn't su to it from root (I'm running debian), I found the above post and did: chsh -s /bin/bash squeezecenter It worked fine and I was able to su squeezecenter, install my plugins and exit back to root. I then did: chsh -s /usr/sbin/nologin squeezecenter But I'm not sure that's right? Because if I now do "su squeezecenter" I get "This account is currently not available.", whereas before I just got nothing "". So am I really setting the shell back to the original setting with "nologin" or am I doing something wrong? Is there some .profile or something like it for the squeezecenter user, where the shell is stated? Hope you understand my rambling. i just want the SC user set back as it was before I switched to the bash shell. -- GoodVibrations ------------------------------------------------------------------------ GoodVibrations's Profile: http://forums.slimdevices.com/member.php?userid=15333 View this thread: http://forums.slimdevices.com/showthread.php?t=49376 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/unix
