How can I force other users to log out?
You can simply slay(1) him. 🙂
You can simply slay(1) him. 🙂
It’s not clear to me from reading your post and the link you provided as to whether or not you’re using user isolation. My suggestion would be to determine whether or not you want to use user isolation or not and then start from scratch. Here’s a link that may help: http://learn.iis.net/page.aspx/305/configuring-ftp-75-user-isolation/
Theoretically you can have as many users as the user ID space supports. To determine this on a particular system check out the definition of the uid_t type. It is usually defined as unsigned int or int meaning that on 32-bit platforms you can create up to almost 4.3 billion users. On 64-bit platforms you … Read more
You might consider using gitolite under a single user instead of setting up multiple git-shell users (and the required group and group permissions so they can share access to the repositories). gitolite runs under a single, normal user on the server and uses SSH public keys to differentiate access to Git repositories (see “how gitolite … Read more
FreeIPA is probably what you’re looking for. It’s to Linux what Active Directory is to Windows. (It can also talk to AD if you have a heterogeneous environment, but shouldn’t be used to manage Windows machines directly. Use AD for that.) Red Hat’s documentation (they call it Identity Management) is very thorough and easy to … Read more
A lot of this depends on your definition of “log in” — technically any user who exists in /etc/passwd & /etc/shadow is a “valid user” and could theoretically log in under the right set of circumstances. The methods you’re talking about fall into the following broad categories: Users with “locked” accounts in /etc/shadow A user … Read more
man had the answer I missed before: grpconv http://linux.die.net/man/8/grpconv: The grpconv command creates gshadow from group and an optionally existing gshadow.
If you declare users as virtual resources , you can then use ‘realize’ or the collection syntax ( User <| … |>). Here’s an example: @user { ‘foo’: groups => [‘somegroup’], membership => minimum, } Then realize that virtual user with then collection syntax: User <| title == foo |> And elsewhere you can add … Read more
Michael’s answer was the closest, but I wanted to be sure, so I installed a fresh copy of Ubuntu Server 8.04.2 (Hardy Heron) in a virtual machine to get the official group list. The installation was a basic one with no specific server roles selected. These are the first groups, assigned by default, to the … Read more
The GECOS field in /etc/password can be modified with the chfn(1) command. chfn -f “Joe Blow” jblow