@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6



Comments:

<0> DefaultRoot ~ is how you jail them into their PWD.
<0> oh, he left ;x
<0> i thought the users within /etc/p***wd has to be in the ftp group to gain ftp access? or is that depending on the ftpd setup/config ?
<0> man this channel teaches me alot.
<1> Microsoft.Windows.Vista.32Bit.Build.5308.DVD.iNTERNAL-WinBeta
<1> gonna give it a try, see what MS is up to
<0> anyone familer with eggdrop?
<0> eh, i mean cnt(contagious) for eggdrop, need a little help with some c.
<2> no bots
<0> well i was aiming on howto dump all the load data from tcl.c into flatfile.txt
<0> but oki
<3> hmm
<3> wow, i forgot i had a client here
<4> can anyone help me with a few unix commands?
<4> ive looked at some online pages, but even when i copy the commands exactly, i get errors
<1> thats probably why you get errors



<4> i just need to perform some simple operations
<5> i don't think we can help you at all unless you tell us what you want
<4> right now im trying to print all the names of files that are not writable by the owner
<4> ive tried doing a:
<4> find /usr/sbin -perm command
<4> but i cant figure out the perm
<4> even when i try to do it to find when the owner can write, i get errors
<1> have you even looked at the man page for find?
<4> for example... "find /usr/sbin -perm +022" it says "-perm: bad permission string" and "find: path-list predicate-list"
<4> yup
<4> the description of the perm option is pretty vague
<4> but ive also looked elsewhere
<1> what os?
<4> hmm
<1> i dont get an errors with that on fbsd
<4> how do i find out what the os is
<4> im connected into my school computer
<5> uname -a
<4> its SunOS
<1> go figure
<0> lol
<4> not good?
<0> man find
<1> ehh, its different, in its sysv way
<4> hmm, lemme check that out
<4> ive been doing online man pages
<4> because i didnt realize they were different
<4> ill be back in a sec
<4> its the same man page as ive seen before
<0> try -perm 077
<0> see if that returns no error.
<4> that works, i guess I am allowed to use +-, or = also
<4> dont fully get what they mean...
<4> i know I need the owner write bit turned off
<4> but i dont care about any of the other bits
<0> 660 is owner read/write i think.
<0> i'd have to pull the tables up
<4> yes, but i am searching for files that will have many different mods
<4> for example, i dont care what the user or group permissions are
<0> your just looking for write permissions?
<4> i need all files where owner write permissions are off
<0> 066
<0> owner|group|other
<4> yes...
<4> but wouldnt that be a very specific set of files?
<4> for example, the second two of the triad can be any number
<4> but the first one can only be 0,1,3,4,6
<4> or something like that
<4> id have to look at the tables too
<4> the man page says that if I use +, I set the appropriate bits in the template, - will clear them
<4> but im unsure of what the command would actually look like
<0> are you trying to change perms?
<4> nope
<4> just list files where owner cannot write
<4> i notice in other files they have things such as "-perm +g+w, o+w"
<4> so perhaps I need to do something where I have a o-w?
<0> +g+w is group write i think.
<0> try it.
<5> find . -user foo -ls | grep -v "^.* [d-][r-]w.*"
<5> ugly but works :)
<4> im not allowed to use grep



<4> :)
<5> oh, we're doing homework are we?
<4> yup
<4> but im learning it too
<5> have fun
<4> my command of "find /usr/sbin -perm o-w" runs, but I get nothing displayed, when I try o+w, similarly nothing displayed
<0> then its not finding anything.
<0> or the perms are wrong.
<4> yes, but it seems one would try to find where owner cant write, and one where he can, but obviously thats not hte case
<4> in fact, when I try any -perm +g+w, or anything similar, i get 0 results always
<0> i dont see why your searching /usr/sbin.
<0> thats binarys.
<0> none of them files are going to start 0
<4> thats just the folder I need to look in
<0> which is what your searching for.
<4> how so?
<0> because their all set 7somethingsomething
<0> binarys execute, not write, unless its a writing binary
<6> most binaries write :P
<4> when i look at the mods im getting things such as "-r-xr-xr-x"
<6> be it to stdout or whatever
<0> yeh, to stdout
<6> what are you trying to do Spicymoos
<0> so?
<4> "rwxr-xr-x"
<4> all im trying to do is list all those files where the owner CANT write
<4> so i guess where the second bit is off?
<6> oh
<4> using the perm option i guess
<4> unless there is an easier way
<0> Linux h793342 2.6.11.4-21.10-default #1 Tue Nov 29 14:32:49 UTC 2005 i686 athlon i386 GNU/Linux
<0> anyone know what distro that is?
<6> prolly gentoo
<0> i know its linux, but what flavour. (debian/rh/fedora)
<0> i was told debian.
<6> or a redhat
<0> but it dont act like deb.
<0> shouldn't it state linux flavour, unless set by root ?
<6> I don't think it's debian
<6> cat /etc/debian*
<6> cat /etc/re*e
<0> none.
<6> if it's either debian or rh based it'll say
<7> it's not debian
<6> that doesn't look like a version in any apt repo i've seen
<4> so I guess no one can help me with this perm option...? :(
<0> fedora.
<0> or rh, YaST2
<6> hold on spicy :P
<6> fedora is rh
<6> and would have redhat-release
<6> in /etc
<6> looks like suse
<7> if it's redhat or fedora or debian it would say
<0> its suse.
<0> cat /etc/*-release
<7> might be that crappy suse linux
<0> its 9.3
<7> suse linux you gotta pay for, don't you
<6> no necessarily
<0> no
<7> hmm..
<0> how do you recover mysql p***wds?
<6> start it up with grant override
<6> mysql.com has a lot of docs about it
<7> oh, it's that novell ****
<6> spicy, what are your options? you need a find string to do this?
<7> novell realized their software was total *** and bought a linux distro?
<4> im almost there
<4> i can figure out how to do it if i want the user to be able to write
<4> now i just need the reverse
<4> my current command is... "find /usr/sbin -perm -o+w"
<4> im trying - instead of +, but I dont think that is the correct command
<4> am i going to have to somehow merge the differences of the entire list with the list of files that the owner can write?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #unixhelp
or
Go to some related logs:

#windowsxp
#computers
#photoshop
#politics
#windows
hack FreeSSH
#online
www.silases.com
#computers
suasage



Home  |  disclaimer  |  contact  |  submit quotes