02-23-2016
Another option is to look at your backups. If they run in a way that will allow you to recover the file without logging on (i.e. it has a service you can call) then you might have that as an option. I had the same issue when someone directly edited /etc/sudoers and left it unusable and no-one knew the root password - because there was no need.
I hope that this may help,
Robin
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 DEBIAN
svsetup
SVSETUP(1) User Commands SVSETUP(1)
NAME
svsetup - Service setup tool for daemontools
SYNOPSIS
svsetup [OPTION]... CMD SERVICE
DESCRIPTION
Service setup tool for daemontools
-u USER
Specify service user name (Default: root)
-l USER
Specify log user name (Default: root)
-n Do not setup logging with multilog
-e ETCDIR
Specify cfg directory (Default: /etc/sv/SERVICE)
-L LOGDIR
Specify log directory (Default: /var/log/sv/SERVICE)
-s SERVICEDIR
Specify service directory (Default: automatically
detected)
-d Delete service user on removal
-D Delete log user on removal
-h, --help
Display help and exit
-V, --version
Display version and exit
CMD Specifies action to perform:
CREATE Create new service
REMOVE Delete existing service
ENABLE Enable service
DISABLE
Disable service
SERVICE
Specifies the service name
NOTE: If you REMOVE a service and specify a service user (with -u) and/or a log user (with -l) these users (except root) are removed, too,
if you also specify the option -d and/or -D! This happens without any confirmation requests and the users are deleted even if they were not
created by svsetup!
If you create a new service a default run script is created. If there is already a run script in ETCDIR this existing runscript is used
instead.
REPORTING BUGS
Report bugs to Klaus Reimer <k@ailis.de>
COPYRIGHT
Copyright (C) 2000-2011 by Klaus Reimer
This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option) any later version.
svsetup 0.6 January 2011 SVSETUP(1)