public class UnixUsers extends ArrayList<UnixUser>
modCount| Constructor and Description |
|---|
UnixUsers()
Creates a new UnixUsers object.
|
| Modifier and Type | Method and Description |
|---|---|
ArrayList<UnixUser> |
_getUsersWithValidShellsExistingHomesAndDesktops()
Gets all known users with valid shells and really existing (not dummy) Home And!
|
static ArrayList<String> |
getEtcPasswdUsersAsArrayList()
Gets all Users from /etc/passwd as StringList
|
static String |
getUsersColonString()
Returns all Users as ColonSeparated String
|
ArrayList<UnixUser> |
getUsersWithValidShells()
Gets all known users with valid shells
|
ArrayList<UnixUser> |
getUsersWithValidShellsAndExistingHomes()
Gets all known users with valid shells and really existing (not dummy) Homefolders.
|
static ArrayList<UnixUser> |
getUsersWithValidShellsExistingHomesAndDesktops()
Gets all known users with valid shells and really existing (not dummy) Home And!
|
ArrayList<String> |
getValidUsersDesktopFolders()
An StringArray of the existing Desktop folders of all valid users.
|
static ArrayList<String> |
getYpPasswdUsersAsArrayList()
Gets all Users from /etc/passwd as StringList
|
static void |
main(String[] args)
Test main Method
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic ArrayList<UnixUser> getUsersWithValidShells()
public ArrayList<UnixUser> getUsersWithValidShellsAndExistingHomes()
public ArrayList<UnixUser> _getUsersWithValidShellsExistingHomesAndDesktops()
public ArrayList<String> getValidUsersDesktopFolders()
public static ArrayList<UnixUser> getUsersWithValidShellsExistingHomesAndDesktops()
public static ArrayList<String> getEtcPasswdUsersAsArrayList()
public static ArrayList<String> getYpPasswdUsersAsArrayList()
public static String getUsersColonString()
public static void main(String[] args)
args - from CommandlineCopyright © 2001–2025. All rights reserved.