Sponsored Content
Special Forums Cybersecurity Private account for administration users Post 302460940 by radoulov on Friday 8th of October 2010 03:46:59 AM
Old 10-08-2010
OpenSSH has the DenyUsers directive.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to know what users are logged in to account

hello all say im logged in to account ar root , but I can't change any thing there ( like username ) if someone is already logged in also . how can I know who is ( user name ) also connected to the user im using ? (2 Replies)
Discussion started by: umen
2 Replies

2. Solaris

Solaris Administration for ssh users

Hi All, I am in desperate need of a help. Actually , wanted to maintain logs for all the users who ssh to a solaris system and keep track of all the activities they perform. And at the end of the session a mail to be sent to my email id. Can someone plz help. (5 Replies)
Discussion started by: hitkuku
5 Replies

3. UNIX for Advanced & Expert Users

audit user commands of different users under root account

Hi, I would like to know if there is anyway that I can pinpoint the user before/after he connects to the root? Also, I'm trying to find out what are the commands he inputs under root access. (6 Replies)
Discussion started by: pointgetter0
6 Replies

4. Red Hat

how to setup An extra account with name 'unixuser' who can have the previlege to reset other users?

Hi I want to setup an extra account with name 'unixuser' who has the previlege to reset the passwords of other users like eng or myuser (other user). Please help me.. Waiting for a reply.. Thanks, MJavalkar (1 Reply)
Discussion started by: mjavalkar
1 Replies

5. Solaris

Remove a given profile from a users account

Hi Guys, I was studying RBAC and I gave a profile to a user . I have not seen anywhere that shows how to remove the profile from the users account. Can anyone show me how to remove a given profile from a users account? Thanks alot guys. (2 Replies)
Discussion started by: cjashu
2 Replies

6. Shell Programming and Scripting

Switching between users on UNIX without private key (intentional)

Hello Everyone, I'm new to unix and having trouble with switching users s_user='sample_user', I need to connect to a remote server using the user "sampleuser" copy files on that remote server. However I am not allowed to add a private key to that same server nor add scripts on sampleuser's... (5 Replies)
Discussion started by: AmazingTyagoman
5 Replies

7. UNIX for Beginners Questions & Answers

How to identify users that have su'ed to a different account?

Hello and thanks in advance for anyone that can offer me any help with this! I'm trying to figure out a quick & easy way to see a list of everyone's effective user id... I would have thought 'w' or 'who' would be able to display if someone had switched user accounts... but it's only showing the... (3 Replies)
Discussion started by: bodisha
3 Replies
ConfigReader(3) 					User Contributed Perl Documentation					   ConfigReader(3)

NAME
ConfigReader - Read directives from a configuration file. DESCRIPTION
The ConfigReader library is a set of classes which reads directives from a configuration file. The library is completely object oriented, and it is envisioned that parsers for new styles of configuration files can be easily added. ConfigReader::Spec encapsulates a specification for configuration directives. You can specify which directives can be in the configuration file, aliases for the directive, whether the directive is required or has a default value, and how to parse the directive value. Here's an example of how one directive might be specified: required $spec 'HomePage', 'new URI::URL'; This defines a required directive called 'HomePage'. To parse the value from the configuration file, the URI::URL::new() method will be called with the string value as its argument. If the directive name is a simple string, it will be used both to refer to the directive in the Perl program, and as the name in the con- figuration file. You can also specify an alias by using an array ref. For example, suppose you wanted to use "index" as the name of the directive in the configuration file, but to avoid confusion with Perl's index() function you wanted to refer to the directive inside the program as the "file_index". This will do the trick: ['file_index', 'index'] You can specify any number of aliases for the directive: ['file_index', 'index', 'file_index', 'contents', ...] The parsing function or method is called to translate the value string from the configuration file into the value used by the program. It can be specified in several different ways: code ref static method object method undefined You can also specify a default value to be used if a directive is not specified in the configuration file. string value code ref undefined ConfigReader::Values stores a set of directive values that have been read from a configuration file. It stores a reference to an associ- ated Spec as a member variable. Separating the specification from the values makes it possible to use a single specification for multiple sets of values. ConfigReader::DirectiveStyle implements a reader for a common style of configuration file. It is a subclass of ConfigReader::Values. Directive names are followed by their value, one per line: HomePage http://www.w3.org/ Services /etc/services perl v5.8.2 1996-02-14 ConfigReader(3)
All times are GMT -4. The time now is 01:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy