Is it possible to limit maximum number of user accounts?
My kernel version is 2.6.32. So It can support 4 billion user accounts now
But I hope to limit the quantity
I believe there is some ways to fix this, but I can't find the solution by myself.
I know in the Windows World, servers have roles (IIS, MSSQL) and there are service accounts.
What is the correct way to refer to a server that just runs Apache, a server role too?
And user/groups accounts, like httpd, are those accounts also referred to as service accounts too?
I just want to make sure I'm using the correct terminological.
Hi all,
In my work, I'd like to spawn separate kernel threads (tasks) to execute syscall asynchronously. Specifically, a user thread issues a syscall, goes into kernel, save the syscall number and arguments somewhere in the kernel address space, but does not execute the syscall. A kernel thread which is different from the user thread, will fetch the syscall number and arguments to execute the syscall on behalf of the user thread.
But for file operations such as read, the kernel thread is not aware of the open files of the user threads. For example, if the user thread opens a file and get a file descriptor, then it issue a read() syscall. The kernel thread cannot execute the read() on behalf of the user thread by just using the file descriptor. Thus I need some way to allow the kernel thread share the open files information with the user thread, such that the kernel thread will have the context of the open file to execute read(). I tried to pass the files_struct of the user thread's task_struct to the kernel thread, but it didn't help, read() returns a EFAULT error.
Can anyone give me some suggestions on how to make a kernel thread share the open files with a user thread? Or more straightforward how to execute the read() syscall in the example above in kernel thread? Thank you very much!
--Louis
I need to be able to create new user accounts and make sure they're forced to reset their password upon first login, also if they don't log in within 4 days of the account creation their account must automatically lock. How do I accomplish this?
thank you.
I suspect this is not possible but I'll ask.
For machine where SSHd is listening on multiple IP addresses, is it possible to block certain users logging in based on the IP address they are connecting to?
Example:
Listening on 1.2.3.4 and 5.6.7.8
User amir should be allowed to log in on 1.2.3.4 but NOT 5.6.7.8
User mary is allowed on 5.6.7.8 but not on 1.2.3.4
Again, these are the IP addresses the user is connecting TO not FROM.
I think I could do this by running multiple sshd instances but can I do it with a single one?
hi guys,
busy doing a small project with a centos7 server and virtualbox.
currently i have a login to the physical server called sninja
i have three partitions created for each of my virtual machines
sninja owns the directories for each vm...and root is the primary group...now lets say i wanted to have other users perform functions on my vm's ..ssh in,rsync data into the vm etc...
whats the best way to address security and user accounts etc?
what i was thinking:
create a group called Myusers1,then assign the users to that group and then make the group the primary group of the accessed directories etc
is this the right way to go about it? any ideas or help really appreciated...
Hi,
In first place i would like to give you a brief about my current setup and my requirement.
I have 80% of the machines with CentOS 6.5 installed rest 20% windows 7. I have OpenLDAP v2.4 for user authentication.
In linux environment all linux machines are configured in such a way that whenever a user logs on to system with the help of OpenLDAP credentials he gets a default desktop rather Mandatory Profile is implemented in this setup. Now my goal is to enable OpenLDAP users logon to windows machines and get the same Mandatory profile setup done here. So far SambaPDC helped me to authenticate LDAP accounts on Windows clients machines but the Manadatory profile thing isn't working well at all due to posix acls issue. Now i am working with Windows Server 2012 r2 server so as to integrate with OpenLDAP for getting this Mandatory profile thing done. Is there any way i can sync all OpenLDAP accounts to Active directory or rather make my windows server a member server for OpenLDAP domain.
Please help me on this. Thanks in advance!!
Hello - This is my first interaction with Linux. I recently purchased a Raspberry Pi 2 and am running the full version of Raspbian. I intend to use the Pi as my PLEX media server however I have been unsuccessful in mounting my NAS. I've read a number of guides on how to accomplish this but have been striking out on all accounts. I was hoping someone could help me with what information I should be adding.
NAS - Synology Diskstation DS212j - 192.168.5.195
Linux device - Raspberry Pi 2 - Raspbian - 192.168.5.186
Router - D-Link DIR-655 - 192.168.5.1
I've been accessing the Pi via ssh on my MacBook PRO - 192.168.5.188
Thanks for any assistance you can provide.
iam trying to open a 100mb fasta file in libre calc, and it stays like that for several minutes and finally displays that the file exceeded the row limit in excel , is there any way for me to view this file in excel
hi
I have two code of user.c and kernel.c , i have compiled new kernel in my system , but i don't know how to compile these code.
may i use any IDE or GCC.
Hi. When I ran #useradd -m -s /bin/bash -G áudio,lp,video, wheel,scanner -U user
#passwd user
I forgot to have the /home mounted (shame on me)
so now there is not a /home/user (directory) so user cannot start the X
how can I fix it?
thank you!