LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-14-2006, 07:59 AM   #1
jothi_bass2000
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Rep: Reputation: 15

Hai all,
I ve removed the entry n this.

Last edited by jothi_bass2000; 08-02-2006 at 07:31 AM.
 
Old 03-14-2006, 09:16 AM   #2
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Quote:
Originally Posted by jothi_bass2000
Hai all,
I want to login as a superuser without knowing the password of it
Uhh, i'm pretty sure you can't do that. If you don't know your root password, your going to have to go in the hardway and change it.
 
Old 03-15-2006, 12:32 AM   #3
jothi_bass2000
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Penguin of Wonder
Uhh, i'm pretty sure you can't do that. If you don't know your root password, your going to have to go in the hardway and change it.


hai,
i ve removed this entry.

Last edited by jothi_bass2000; 08-02-2006 at 07:32 AM.
 
Old 03-15-2006, 01:18 AM   #4
jothi_bass2000
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Original Poster
Rep: Reputation: 15
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)
 
Old 03-15-2006, 06:05 PM   #5
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Quote:
Originally Posted by jothi_bass2000
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)
The error is telling you that the partition your trying to unzip the archive onto is full. Hence it only unzips two of ten files because it only has room to extract those two and nothing else. Clean up your partition or unzip it onto another.
 
Old 03-15-2006, 06:17 PM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
Moved: This thread is more suitable in Linux-Newbie and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 03-15-2006, 06:30 PM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
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.
 
Old 04-20-2006, 04:55 AM   #8
jothi_bass2000
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Original Poster
Rep: Reputation: 15
Where the sudo will be available and what changes I 've to do
in that file.plse reply.
 
Old 04-21-2006, 12:52 AM   #9
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
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
 
Old 04-22-2006, 12:21 AM   #10
jothi_bass2000
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Original Poster
Rep: Reputation: 15
Hello, the file /etc/sudoers has a read permission for root only, so I cant view it.
 
Old 06-01-2006, 01:22 AM   #11
jothi_bass2000
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Original Poster
Rep: Reputation: 15
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
 
Old 06-01-2006, 04:46 AM   #12
jothi_bass2000
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Original Poster
Rep: Reputation: 15
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

Last edited by jothi_bass2000; 06-01-2006 at 05:10 AM.
 
Old 06-12-2006, 09:10 AM   #13
jothi_bass2000
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Original Poster
Rep: Reputation: 15
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
 
Old 06-12-2006, 10:02 AM   #14
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
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
won't work, unless you have root access.

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:
Too many open files in system
There is a limitation on the number of open files any user can have on a machine (at the same time).
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).
 
Old 06-13-2006, 12:11 AM   #15
jothi_bass2000
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slamd64 Xorg only works correctly as root niztec Linux - General 3 09-21-2005 10:45 PM
Why aint it reading file correctly? twirl Programming 11 09-13-2005 04:30 PM
Boot Error: Root file system /dev/root adtomar Linux - Networking 0 12-27-2004 11:50 AM
open file in root! 1 ERROR j.vilon Linux - General 4 10-11-2004 09:27 AM
Root drive not appending correctly in Gentoo/XP Dualboot Ahad Linux - Distributions 8 05-20-2004 10:59 PM


All times are GMT -5. The time now is 11:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration