03-18-2010
limits.conf showing like this....
#
#<domain> <type> <item> <value>
#
#* soft core 0
#* hard rss 10000
#@student hard nproc 20
#@faculty soft nproc 20
#@faculty hard nproc 50
#ftp hard nproc 0
#@student - maxlogins 4
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello All,
I would like to know if anyone has done or has information on how to start a workstation up form another remote station. For example I am sitting at station A and I want to start up a session on station B, setting display to output on station B "0.0". Here is the tricky part station... (2 Replies)
Discussion started by: larry
2 Replies
2. Answers to Frequently Asked Questions
We have quite a few threads about this subject. I have collected some of them and arranged them by the OS which is primarily discussed in the thread. That is because the exact procedure depends on the OS involved. What's more, since you often need to interact with the boot process, the... (0 Replies)
Discussion started by: Perderabo
0 Replies
3. AIX
In AIX v5.2 is there a way to restrict the number of telnet sessions for a particular user ? Say, i want restrict the number of simultaneous telnet session for a particular user to be 3. How do i achieve this.
Appreicate your help (1 Reply)
Discussion started by: rramanuj
1 Replies
4. Forum Support Area for Unregistered Users & Account Problems
Hi Admin/Moderator,
I am unable to login with my user id "chanakyahere", even it is not accepting my mail id to which i got one reply aso.. it is saying that i suppied "mail id that is not recognised".. please look forward regarding this problem.. i joined on last saturday i.e on... (1 Reply)
Discussion started by: Chanakya
1 Replies
5. AIX
Hi, yesterday, I changed root's shell in /etc/passwd, cause a mistake then I can not log in root account (can't find correct shell). I attempted to log in single-mode, however, it prompted for single-mode's password then I type root's password but still can not log in.
I'm using AIX 5L version 5.2... (2 Replies)
Discussion started by: neikel
2 Replies
6. Solaris
I am running 5.10 Generic_120011-14
Sunblade 1500
I have one client that was working fine in a training environment. Then this week the user is unable to login as the user that is created by default. The students do not have access to root to change system files or user accounts. This is... (11 Replies)
Discussion started by: deaconf19
11 Replies
7. AIX
Hi,
I have logged in as normal user and unable to su - root, getting below error.
3004-307 You are not allowed to su to this account.
3004-501 Cannot su to "root" : Account is not accessible.
I have checked and found below parameter as true.
Another user can SU TO USER? ... (1 Reply)
Discussion started by: manoj.solaris
1 Replies
8. Forum Support Area for Unregistered Users & Account Problems
Hi,
It has been a while since I logged into Unix.com and I have forgotten my userID and password. Please help.
Thanks,
Ananth. (1 Reply)
Discussion started by: Unregistered
1 Replies
9. AIX
Hello,
I have a strange situation here.
I am running an AIX6.1 machine and i face a problem when i am trying to login via telnet.
When i use my username and password to login to the server i get the following message:
3004-312 All available login sessions are in use.
The weird thing is that... (3 Replies)
Discussion started by: omonoiatis9
3 Replies
10. UNIX for Beginners Questions & Answers
Hello,
What will be the effect of environment variable, when mulitple sessions are opened by same login?
Following code snippet is part of a shell script.
Environment : HP-UX B.11.31 U ia64
For Example
EXECUTION_DIR=`pwd`/
EXECUTION_DIR_RT=${EXECUTION_DIR}RT/
export... (4 Replies)
Discussion started by: Siva SQL
4 Replies
LEARN ABOUT DEBIAN
sd_get_sessions
SD_GET_SEATS(3) sd_get_seats SD_GET_SEATS(3)
NAME
sd_get_seats, sd_get_sessions, sd_get_uids - Determine available seats, sessions and logged in users
SYNOPSIS
#include <systemd/sd-login.h>
int sd_get_seats(char*** seats);
int sd_get_sessions(char*** sessions);
int sd_get_uids(char*** sessions);
DESCRIPTION
sd_get_seats() may be used to determine all currently available local seats. Returns a NULL terminated array of seat identifiers. The
returned array and all strings it references need to be freed with the libc free(3) call after use. Note that instead of an empty array
NULL may be returned and should be considered equivalent to an empty array.
Similar, sd_get_sessions() may be used to determine all current login sessions.
Similar, sd_get_uids() may be used to determine all Unix users who currently have login sessions.
RETURN VALUE
On success sd_get_seats(), sd_get_sessions() and sd_get_uids() return the number of entries in the arrays. On failure, these calls return a
negative errno-style error code.
NOTES
The sd_get_seats(), sd_get_sessions() and sd_get_uids() interfaces are available as shared library, which can be compiled and linked to
with the libsystemd-login pkg-config(1) file.
SEE ALSO
systemd(1), sd-login(7), sd_session_get_seat(3)
AUTHOR
Lennart Poettering <lennart@poettering.net>
Developer
systemd 10/07/2013 SD_GET_SEATS(3)