Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. nabrantes

    Check 3 groingfiles tail daemon wannabe

    You got me confused. But thanks anyway. :) Since I need to sleep for 15 minutes I do not need to use select() and just use seek&tell with sleep() even if I loose half a line every once and a while. Best Regards. NMA
  2. nabrantes

    Check 3 groingfiles tail daemon wannabe

    It does not work I allready tried that. Also File::Tail depends on Time::HiRes wich needs to be compiled. Best Regards. NMA
  3. nabrantes

    Need a regex

    This what you need? The "data.lst" is a copy&paste from your values here. Best regards, NMA bash-2.03# cat stript_data.pl #!/usr/bin/perl use warnings; use strict; open (DATA, "<", "data.lst") or die ("cannot open data!\n"); foreach (<DATA>) { if ( $_ !~ /0,0,0,0$/ ) { print $_; } else...
  4. nabrantes

    Check 3 groingfiles tail daemon wannabe

    Hi there, I want to check on multiple growing files but I really don't know how to do it. I know "select()" is somehow related with my question but I cannot figure how to do it with the code bellow ... :( I have a version of it using File::Tail but I really want to avoid it because I will need...
  5. nabrantes

    ftp login failed without prompting for password

    Check /etc/ftpusers Regards
  6. nabrantes

    forget pasword in sun sparc4

    boot cdrom -s (OBP PROMPT) boot -- cdrom -s (shell prompt) Of course You're gonna need the Solaris something cdrom. Regards
  7. nabrantes

    rbac and root control of root access

    Hi, I'm not going to explain how RBAC works, but, you do not create user accounts but roles.. One of the main diferences is that a role can only be acessed with &quot;su&quot;. To work with roles you should check the folowing files: /etc/user_attr /etc/passwd (not needed use rol* commands)...
  8. nabrantes

    A question for current Solaris Admins

    If it was my decission I would switch the admin I by the networking one. You can allways read the admin I guide wich is the the basics.
  9. nabrantes

    Problem getting programs to start on boot

    Hello, if I understood allrigth or you create the script on /etc/init.d and create a link on /etc/rc3.d (which means that the it only start on runlevel 3) or you just create the program on rc3.d; Try to see if the program you're starting isn't prompting for nothing. Also try to check...
  10. nabrantes

    sed or vi search and replace of octal codes.

    Hi again, I was noting something strange in my advice so I boot up my pc in linux and tried wich in fact didn't result because I forgot to use the quotes,anyway heres how its done: shell way... [root@penantes root]# cat testes 2135|0|TRUE|1|0|NEWCKT:\040|0|0|0 2135|1|TRUE|1|0|SLOT:\040|0|0|0...
  11. nabrantes

    sed or vi search and replace of octal codes.

    Hi, in vi do :%s/\\040/&quot;/g or you can do it on the shell prompt sed -e s/\\040/&quot;/g <file*bcb> > newfile Hope I've helped Best regards
  12. nabrantes

    Hp Colorado IDE Intel

    Hi all, Anyone knows if I can setup a Hp Colorado 8Gb (IDE) (travan tech) on a intel Box, running Solaris 8. My guess is that I need to edit st.conf file but, where can I get the correct sintax? Thanks in advance. Nuno Abrantes
  13. nabrantes

    nsrjb for non-root users

    well duh!! Sometimes we really need someone to open our eyes, thanks for your help barye the procedure works nice. Chapter11 the problem with SUDO is that its not approved by Sun and its does the same thing rbac does, but thanks for your help also. Best Regards Nuno Abrantes
  14. nabrantes

    nsrjb for non-root users

    Hello Im tying to run &quot;nsrjb&quot; command has a non-root user but so far Im not being able to do it, I´ve tryied using setuid and rbac but it wont work if Im not root. Is there any workarround to do this? I found a technical sheet from Legato that Obsoletes the setuid workaround used on...
  15. nabrantes

    How do I find out why my UNIX server rebooted

    sunguy123, while its possible to consult the crontab with the editor choice (-e) its way more simpler and less dangerous to check it out with the -l (list entries) option and its also more simpler because you can see all crontabs entries alot faster use it like this: crontab -l...
  16. nabrantes

    scanner cmd error

    I don't known the legato system but, if I'm not mistaken, you need to uncoment the following lines so that the Solaris can recognize the drive. &quot;QUANTUM DLT7000&quot; # &quot;Quantum DLT4000&quot; &quot;QUANTUM DLT7000&quot;, &quot;QUANTUM DLT7000&quot...
  17. nabrantes

    Showing system stats with processes

    If you are running Solaris 2.8 the &quot;prstat&quot; is what you need but &quot;top&quot; its also very nice. Regards Nuno Abrantes

Part and Inventory Search

Back
Top