| |
| |
| |
|
Page: 1 2 3 4 5 6 7
Comments:
<0> is it possible to give a non-root user command completion for root commands? <1> Number5Plus, WHAT DO YOU WANT? <0> for example, type "sudo usera[TAB]" to complete the 'useradd' command <2> joe4444: No, because the user doesn't have the same path as root does. <0> range, can i simply give the user the same path as root? <2> If you absolutely want to ... <0> is there a downside? <2> You normally cannot wreak havoc as a normal user, but with sudo and hastily completed path, you could if you get the wrong command. <2> Depends on the user, I'd say. <0> it's for me, the lazy admin <0> hmm <0> it appears i already gave my admin user the same path as root <0> but i can't do 'usera[TAB]' or 'sudo usera[TAB]' with the admin user <2> Strange. <2> Works for me with stuff I have in the path. <0> i can run useradd from any directory (get permission denied of course) but auto-complete doesn't work =/
<3> joe4444: this might depend on the shell you're using. I'm using ksh93 and completion for sudo never worked <0> bash <3> range: do you have any strange bash-completion stuff installed? <2> joe4444: That's easy. <2> You are not allowed to read the useradd binary. <2> As a normal user. That's why it doesn't show up, as the completion is still done in the usercontext. <0> i see, so basically i can't accomplish this? <2> Dyson: No, but I never said that usera[TAB] worked, just stuff being in the path generally. <2> :) <3> range: as I said... it doesn't work for me at all - neither with ksh93 nor with bash <2> Yes, I use bash_completion. <3> yep. That's probably why it works for you <4>='sudo <4>' anyway <0> Dyson, that does the trick =) <5> im in the gui for centos 4.4, why cant i add a service to the service list if i know its already running <5> its showing up in "ps aux" <5> but not in the actual gui server list <6> MACscr: what are you trying to do, detailed ? <5> i setup openpbx and i would like to be able to set it up like a service so i can stop, start, etc, by simply typing in: service openpbx restart <5> etc <3> MACscr: you have to provide an init-script for it <5> hmm, ok, i guess i have to look into that <6> MACscr: you must have a script in /etc/init.d which knows how to start/stop/whatever openbx <6> and this script must have a certain header (despite being a bash..) <5> ah, ok, thanks for the tip <6> which can be interpreted by chkconfig <6> chkconfig --add <service_name> <6> will (should) create some symlinks <6> similar to /etc/rc3.d/Smnopenbx <6> S-> start service <7> it's just a one or two line header indicating that 1.) chkconfig should look at it and 2.) which run levels the service should be running in <5> found an init.d script for openpbx in their svn <5> got it working, thanks <5> i have no idea if im using kde or gnome, i think im using gnome, but how do i view files in the gui as root? <0> open a terminal and then `su` <5> ok, then what? <5> i dont want to use terminal to view and edit the files <0> ls <0> oh <0> well i'm not familiar with any gui <7> then open konquer (or your file manager of choice) in super user mode <5> right, how do i open it in super user mode <7> should have an option under system i think <7> I'm not sure with cent where it is but it would be in your K menu <6> ALT-F2 -> select options -> select "run as a different user" <6> ***uming you are using kde <8> hi <5> odd, thats not an option <5> i think im using gnome <5> lol =P <7> don't remember the option in gnome, but I'm sure it's there <9> hey, i am going to be getting a new server. if i take my hd out, and put it in a different computer, will centos get angry? or will it detect all the hardware and np <10> ivx: it depends how different the hardware is <10> if the hardware isn't supported by the kernel, you will probably need to add support, but if it's pretty vanilla it will probably just work <10> but your milage may vary <9> lol thanks <11> Hey <12> hi <11> has any one ever set u0p shoutcast on CentOS <12> no, but i was thinking about it <11> i having Major issues getting any kind of server working on my dedi :(
<12> lets try it together <11> i dont have a graphical interface <12> like what <11> its a server i have rented <11> i wanted gentoo <12> have you tried nx machine? <11> but they put CentOS <11> what is that?!?!/ <12> it runs an xwindow session over ssh <12> !freenx <12> dam, they don't have that here <12> http://www.nomachine.com/ <11> cheers loading up <12> it's pretty simple <12> no server to install, just a client <11> reallyh <11> downloadinfg bnow <11> now*8 <12> let me know if you need any help <11> kk <11> its downloading! i hate slow internet / college :( <11> Server not installed NX access dissabled <12> i'm just about to get you what you need <12> log in via ssh as root <12> you need to get a dsa key <11> yaa <11> um... im not 2 great at linux :S <12> give me a sec, i've got to remember where it is <11> kk <12> i found it somewhere and i don't remember <11> lol <11> @Mrono you got a MSN account i cud add!?!?! <12> on the ssh type 'nano /etc/nxserver/client.id_dsa.key' <11> done <12> copy the whole key <12> http://wiki.centos.org/FreeNX?highlight=%28freenx%29 <12> that's where i'm getting this from <11> oops i need the server installed :P <11> sorry for being n00b :S <12> Copy all the text (including the BEGIN DSA PRIVATE KEY and END DSA PRIVATE KEY lines. Press the Key... button, delete the text that is in there, and paste the client.id_dsa.key information from the server into the DSA Key text box (shown in yellow below}, then select Save. <12> the 'key' button is in the server config on nx machine <11> um <11> ok <11> let me see <11> i cant find :S <12> arn't you running centos? <12> right... <12> if you didn't already type yum install freenx <12> er yum install nx freenx <12> er.. <11> so Yum is like <11> Emerge in gentoo <12> are you running centos? <11> yaaa lol <11> i never used before <12> so type yum install nx freenx <11> doing <11> complete <12> on the ssh type 'nano /etc/nxserver/client.id_dsa.key' <11> kk <11> w@ i do with it??? <13> I have an LVM on a disk with Centos which is working and booting fine and I'd like to make an exact copy of it to another disk, but the other disk has a different LVM name. What do I have to change to get it to boot properly? I've changed the fstab, grub, and the initrd, is there anything else? It can't mount proc either (I didn't copy /proc because I thought this is supposed to be created at bootup) <12> Copy all the text (including the BEGIN DSA PRIVATE KEY and END DSA PRIVATE KEY lines. <11> um.. <11> kk <12> now on your pc, click on the 'key' button in the server config <12> remove what's there and paste the code you got from your server <12> then click ok, and try to login <11> server not insalled or NX access disable <11> d <14> sorry to be off Topic, but is anyone here using squid_ldap_group ? <12> did you copy the key over <11> i cudnt see where 2 put it
Return to
#centos or Go to some related
logs:
perl Mechanize add-header #perl #lisp #lisp #gentoo #perl #php linux ralink rt2500 wpk #gentoo #css
|
|