23
votes
2answers
768 views

Why did a new user inherit files from a deleted user?

So I had to do an exercise in a book as homework. First you had to create a user like: useradd -c "Steven Baxter" -s "/bin/sh" sbaxter Then you had to add some files to the /home/sbaxter directory: ...
2
votes
1answer
282 views

Should I use useradd or adduser?

I am trying to add a new user to the system. I am confused though which command to run: useradd or adduser?
3
votes
1answer
575 views

How do I add a local user to a box that uses LDAP authenticaiton?

I'm working with a box that uses LDAP for user authentication. However, I need to add a local user to run some services and I don't want non-person users junking up the LDAP directory. Does anyone ...
5
votes
5answers
901 views

Why is it recommended to create a group and user for some applications?

Most of the time, when installing a program from source it is recommended to create a new user and a new group and give /usr/local/<myapp> the recently created user and group ownership. Why is ...
13
votes
2answers
26k views

How can I change a user's default group in Linux?

Being new to Linux administration, I'm a little confused about the following commands: useradd usermod groupadd groupmod I've just finished reading the user administration book in the Linux/Unix ...
1
vote
1answer
66 views

Equivalent of newusers for groups

The newusers command is useful for adding or modifying users in bulk. Is there an equivalent command for managing groups?
7
votes
3answers
2k views

What is the point of the 'operator' user?

Many un*x systems ship with a user account named 'operator'. What is the purpose of this account? Do some systems actually make use of this account, or is this more of a historical legacy? Have you ...
12
votes
11answers
1k views

Concern about logging in as root overrated?

For personal linux on my personal notebooks, I've usually set my environment to autologin as root even under X or lower runlevels. I've found my workflow is very pleasant and fast, without any ...
25
votes
2answers
8k views

Is it possible to rename a Unix user account?

I installed Ubuntu on a computer that is now used by somebody else. I renamed the account with her name, but it only changes the fullname, not the user name, which is still displayed in the top right ...
29
votes
7answers
15k views

How do you kick a benign user off your system?

I was googling this a bit ago and noticed a couple of ways, but I'm guessing that google doesn't know all. So how do you kick users off your Linux box? also how do you go about seeing they are logged ...