Linux User administration

I learned a little bit about how to administer users on a linux box this week. I also keep a log file which I call linux.txt of stuff I learn about linux that I want to remember for reference but I might not remember or might be hard to find again. Here’s what I added to it about the user administration.

chsh user /dev/null — change the users shell to whatever you want
adduser instead of useradd. adduser adds all the necessary stuff
edit /etc/groups for groups
edit /etc/passwd for changing peoples shells

Filed under General by

Comment

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

Leave a Comment

Disclaimer: According to the new FTC guidelines, I have to tell you that sometimes I get paid for recommending certain products on my blog. Not all the time, but often. Sometimes I get products for free (ok...fine...most of the time I get stuff for free).

Register Login