Hai all,
I ve removed the entry n this. |
Quote:
|
Quote:
hai, i ve removed this entry. |
Hai all,
I got a problem, i.e. when I unzip a zip file it is unzipped two files only, but it contains 10 files then it it showing like this ide0(3,3): write failed, user block limit reached. filename: write error (disk full?). Continue? (y/n/^C) |
Quote:
|
Moved: This thread is more suitable in Linux-Newbie and has been moved accordingly to help your thread/question get the exposure it deserves.
|
To temporarily become root without root passwd, you need an entry in the sudo file that gives you
su OR su - Note the diff: su logs you in as root, but with your orig user's env, so root only cmds will not be avail. su - (note the space between su & '-') logs you in as root WITH root's environment. |
Where the sudo will be available and what changes I 've to do
in that file.plse reply. |
Using sudo util, you login to root acct as expalined, but using your persoanl non-root passwd.
For full details see man sudo the file is /etc/sudoers |
Hello, the file /etc/sudoers has a read permission for root only, so I cant view it.
|
Hai all,
I want to install a patch in my Linux server, so what should I do. I dont have admin account and install account. regards, Jothibass |
Hai,
In sudoers file below shown available where I ve to do the changes as root. I ve taken this file from another server in which I 've root permission but i asked for the another server which I dont know the root password. Plse tell me what changes should i do from the below sudoers file content. root ALL=(ALL) ALL corview,sysadm ALL=NOPASSWD: /usr/bin/klpq, /usr/bin/printconf-gui, /sbin/netco nf, /usr/bin/dateconfig, /usr/X11R6/bin/Xconfigurator, /usr/bin/killall, /home/c orview/ricEMS/CMD/conf/config_escl_ip.pl, /sbin/route , /usr/local/bin/tog.sh, / usr/local/bin/tciconf, /usr/local/bin/sttysettings, /usr/local/bin/updatemailcon f, /usr/local/bin/nmsmail.pl, /usr/local/bin/mailsender.py, /usr/local/bin/NMSco nfig-services, /usr/local/bin/CheckBadBlocks remotebkp ALL=NOPASSWD: /usr/bin/cdrecord, /usr/bin/mkisofs, /usr/bin/eject admin ALL=NOPASSWD: /usr/local/bin/cdrw.pl admin ALL=NOPASSWD: /usr/local/bin/runcorpat |
Hai all,
I got a problem while logging in "/bin/login : error while loading shared libraries:libscript.so.1:cannot open shared object file : Error 23" . And also a error while switching between database The error is shown below "connectDBStart() -- socket() failed: errno=23 Too many open files in system Previous connection kept" Thanks & regards, Jothibass |
You won't have access to /etc/sudoers unless you're root. Only root is of course allowed to make other users "temporarily" root (using sudo) for the users he/she wants and only for certain commands.
This is logical: if it was not the case, anyone could change the sudoers file and give himself root access (security hazard). I remind you also of the fact that root access is something to be handled with extreme care. A sudoers file from another machine may be helpful as an example, but can't be used on your machine because you'll still need root access to overwrite the /etc/sudoers file. In other words Code:
cp /other/machines/sudoers /etc/sudoers #or mv Possible solutions: * Ask for root access on the machine to a "network administrator". If you're not allowed to have it, we'll need to look at alternatives to fix your problems without reverting to root access. * If there is no "administrator" of the machine who knows the root password, you can forcibly change it, providing you have physical access to the machine. This implies a system reboot, which may not be allowed for a critical production system and/or if other people are working on the same machine. Quote:
So, close some files. "lsof" (list of open files) can help you track down any open files. You said you wanted to install a patch. Software installation is also left up to root in many cases (especially if it involves installing programs into directories only writable by root, like /bin). It's likely that allocating sockets, ie for your DB, is also allowed only by root, because sockets can be used for network communication. Opening up your machine to the network, can leave it open to outside attack and thus must be "handled with care" (in other words: can be done by root only). |
Hai,
The problem "Too many open files in system" is observed when swiching from one database to other. While logging in I got a problem "/bin/login : error while loading shared libraries:libscript.so.1:cannot open shared object file : Error 23" After this msge the terminal got hanged, Cant do anything and I manually closed it. Thanks & regards, Jothibass |
Regarding installing a patch.
I ve root permission, how to install a patch in my PC. In vi editor how I can select a column and delete it. Plse give the command. Thanks & regards, Jothibass |
Hai,
I got the below message when do ssh to a server. If I remove the .ssh file in home directory and then ty then its ok. Can you tell me about this and also the contents in .ssh file. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that the RSA host key has just been changed. The fingerprint for the RSA key sent by the remote host is 76:eb:01:a0:a9:a0:de:1f:94:70:d2:82:fd:95:4b:fd. Please contact your system administrator. Add correct host key in /home/admin/.ssh/known_hosts2 to get rid of this message. Offending key in /home/admin/.ssh/known_hosts2:4 RSA host key for xxx.xxx.xxx.xxx has changed and you have requested strict checking." here "xxx.xxx.xxx.xxx" is the host Ip address. Thanks & regards, Jothibass |
hai,
For the I need reply immediately bcze I want to know that & to solve that. I ve some more questions to u. Thanks & regards, Jothibass |
Can you login using some other method, like telnet, ssh, etc? I'm not sure if this will avoid the standard "/bin/login", but it may give you sufficient access.
If you do get on the machine, you could try looking for the libscript.so.1 file (use "whereis" or "slocate" commands for instance). But then again, all these problems may be interrelated. For instance, let's assume your disk is completely full, then you can't create or open any files and you can get all sorts of errors... Hence, I recommend sticking to one problem at a time, starting by fixing the disk space issue first. We'll deal with sudo/su access and your DB connection issue later. |
ok u can tell me regarding sudo/su and also I want to know about .bashrc file. Because
I have moved this file to some other place and when I login the prompt is different. Before I move the prompt looks like "[corems:admin]~ >" After I moved the or removed the prompt looks like "bash-2.05$" So I ve found that the .bashrc file is created again. Thanks & regards, Jothibass |
For login problem u ve told that to see "libscript.so.1". The file is not found in my server.
|
In what ways did you try to find it? Please post your commands and their results, if possible.
If "whereis" and "slocate" didn't find the lib file, then it's not in your $PATH. Please post the result of Code:
echo $PATH Can you please post the contents of your .bashrc file (the original one)? It's normal that your prompt changes. In your old .bashrc, the prompt was probably altered by setting the $PS1 and/or $PS2 environment variables. When you changed the .bashrc file, the prompt probably reverted to the default (or to the setting in /etc/bashrc). |
This is the reply for the question "Installation of patch"
"You said you wanted to install a patch. Software installation is also left up to root in many cases (especially if it involves installing programs into directories only writable by root, like /bin)." I ve root permission then how to install a patch? In vi editor how to select a column and deleting it? |
What "patch" are you talking about? A kernel patch? An upgrade of a software package?
Did you try your package manager? For vim, you can find almost any command's help by typing ":help". ":set mouse=a" makes vim listen better to the mouse actions. What you requested, can be done by: -left clicking and holding on upperleft character; -pressing (just once, not holding it) Ctrl-V (for Visual Block mode) -dragging your mouse to the lowerright character. This should select a vertical block ranging between the upperleft and lowerright character. At least, it did so on my box. Basic vi is much more simple then vim and supports less options, so I can't help you with that. Most modern Linux systems should provide vim instead of vi though. Start vi by typing simply "vi" and see if that tells you if it's "vi" or "vim". |
hi,
I m asking the command to select a column in vi or vim. By visual mode I can select a line, block etc. But if I want to copy a column or to delete which command I could use? plse tell me. |
I'm not referring to Visual mode, but to Visual Block mode.
By following what I told you, I was able to select a column. Deletion, copying, etc probably uses the standard commands (ie yy for copy, dd for delete, etc). See the help (type ":help"). The list of commands is just too long to cover here. |
Problem in Execution of scripts in bin
ok thanx,
I cant execute a script by placing it in bin. Previously I ve done by placing it in bin. Can u tell what is the problem ? I cant excute anything which is placed in bin from other directory. Thanks & regards, Jothibass |
Can you be a little more specific? What are you trying to run in /bin? What are the file permissions on this file? What are the mount options of the disk /bin is part of?
|
Regarding /bin
The files in /bin has all r,w,e permissions. Previously I ve executed that, I think now
some problem has occured. The files are the script generated by myself. Thanks & regards, Jothibass |
So, your script can't run some tools in bin, that do exist and are executable, right?
Can you tell me how your scripts call the tools in /bin? ie if you call "mv", your $PATH plays a role. If you call it as "/bin/mv", then your $PATH isn't involved at all. |
regarding utilities in bin
this is my server's $PATH o/p
"/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin" I cant get what u mean... Previouly the utilities placed by others and by me in bin are executed from any place but now it is not possible. |
hi,
Thanx. I got it, bcze the .bash_profile has been removed by somebody. |
removed
This has been Removed
|
http://links.sourceforge.net/
"links" is a text browser for the internet. You must install it (if there's a suitable version for your platform) before you can use it. |
sorry its deleted
|
Thanks & regards,
Jothibass |
Removed
This message has been removed
|
Yeah, "man bash" would. % in this case is the "remainder" operator.
So $((($RANDOM % 15) + 4)) is the same as: get the remainder of the division of $RANDOM by 15, then add 4 to this remainder and echo whatever the result is. |
Thanx
byeeeeeeee |
Hi,
Message deletd |
I'm no expert in encryption, but maybe you can start with reading up on PGP/GPG, for instance on http://en.wikipedia.org/wiki/Pretty_Good_Privacy.
Also, check out the security forum here on LQ and look up (Google) details on RSA and/or encryption algorithms. |
Error mount & umount
.........This has been removed
|
All times are GMT -5. The time now is 12:59 PM. |