02-23-2016
Hi,
Firstly is the box a production box, or do you have unrestricted access to the box i.e. can you shut it down. If you can the simplest way is bring it up in single user mode and regress the changes.
You could also boot the box from media mount up the file systems and edit the file.
Can you ftp or sftp onto the box with any kind of escalated privileges, where you could pull the config file off - edit locally and put back.
I'm sure that you now realise how important proper testing is in a situation like this.
Regards
Gull04
9 More Discussions You Might Find Interesting
1. UNIX and Linux Applications
Hi ,
In Unix, Is there is any difference between the environment path variable
"path" and "PATH".
When I set PATH I am unable to get binary but when I set path then the binary is visible what may be the issue ?
Thanks in advance
Bathri
:confused: (1 Reply)
Discussion started by: bathri
1 Replies
2. UNIX for Advanced & Expert Users
how to find last login time of a user in faster way if wtmps size is too large?? (6 Replies)
Discussion started by: vishwaraj
6 Replies
3. Linux
Hi !
I have a linux machine( stand lone) in my office network.
now, I have application on that machine ( web based)
I'm not able to access that box.. using http://abc:4435/console
I'm able to ping that box.. and also connect via "ssh"
Pls.... help.. Its a production issue...
... (2 Replies)
Discussion started by: dashok.83
2 Replies
4. Solaris
hi experts,
i have a problem with my sftp which install on sparc sun solaris os version 5.9, i have install this packages below on my server :
libgcc-3.3-sol8-sparc-local
openssl-0.9.8d-sol8-sparc-local
zlib-1.2.3-sol8-sparc-local
openssh-4.5p1-sol8-sparc-local
and i... (2 Replies)
Discussion started by: bucci
2 Replies
5. Shell Programming and Scripting
Hi,
Whenever i am trying to telnet to server i am getting frequent error
Authorized Login: prtsrc's Password:
/dev/pts/171: Password read timed out -- possible noise on port
when i am rerunning the same it is working fine
thanks,
sam (2 Replies)
Discussion started by: sam99
2 Replies
6. Red Hat
Hi,
One of our web application is running in Linux and using apache web servers. Application is hosted in port 4080 (for soap requests) and port 9999, and its serving behind a vip and cname. Initially it was working fine in another server and recently (2 months back) we have moved to the new... (4 Replies)
Discussion started by: senor.ram
4 Replies
7. Linux
Hi Team,
I am trying to delete the clearcase view in linux box. But i cant get, because my hostname is not configure under the at net directory in root dir.
Please advice on this.
Thanks,
Mani (2 Replies)
Discussion started by: Mani_apr08
2 Replies
8. UNIX for Advanced & Expert Users
Version: Oracle Enterprise Linux 6.3
Running on VMWare Workstation
When I login to my Linux VM from putty, the third line prompting for password comes only after few seconds.
login as: root
Access denied
root@192.168.0.235's password: ---> It takes around 5 seconds to get this prompt
I... (1 Reply)
Discussion started by: John K
1 Replies
9. Shell Programming and Scripting
I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
1 Replies
LEARN ABOUT REDHAT
console.perms
console.perms(5) System Administrator's Manual console.perms(5)
NAME
console.perms - permissions control file for users at the system console
DESCRIPTION
/etc/security/console.perms determines the permissions that will be given to priviledged users of the console at login time, and the per-
missions to which to revert when the users log out. It is read by the pam_console module.
The format is:
<class>=space-separated list of words
login-regexp|<login-class> perm dev-glob|<dev-class>
revert-mode revert-owner[.revert-group]
The revert-mode, revert-owner, and revert-group fields are optional, and default to 0600, root, and root, respectively.
The words in a class definition are evaluated as globs if they refer to files, but as regular expressions if they apply to a console defi-
nition. Do not mix them.
Any line can be broken and continued on the next line by using a character as the last character on the line.
The login-class class and the login-regexp word are evaluated as regular expressions. The dev-class and the dev-glob word are evaluated as
shell-style globs. If a name given corresponds to a directory, and if it is a mount point listed in /etc/fstab, the device node associated
with the filesystem mounted at that point will be substituted in its place.
Classes are denoted by being contained in < angle bracket > characters; a lack of < angle brackets > indicates that the string is to be
taken literally as a login-regexp or a dev-glob, depending on its input position.
SEE ALSO
pam_console(8)
pam_console_apply(8)
console.apps(5)
AUTHOR
Michael K. Johnson <johnsonm@redhat.com>
Red Hat Software 1999/2/3 console.perms(5)