[SOLVED] Non-interactive SSH login and shell startup files

I have a problem getting git-annex connecting to my arch box because of
PATH not being correctly set. When diagnosing this problem I noticed that
~/.bashrc seems to be ignored for non-interactive SSH logins. More specifically,
ssh myhost env
Shows that when connecting to my other computer running gentoo, or to a
separate server (probably running some flavor of Debian, I am not sure),
environment variables defined in ~/.bashrc are present, but when connecting
to my arch box, they are not. All three computers have identical ~/.bashrc
files and ~/.bash_profile is set to read ~/.bashrc, and in all cases the file is
sourced for an interactive login (i.e., 'ssh myhost' followed by 'env'). I tried to
search through the various bash files in /etc, but didn't find anything related.
Is there some bash or SSH setting that controls this behavior?
Solution:
I looked into this a bit more and found BASH_ENV which can be used to point to
a file which is sourced for non-interactive shells. So I set
BASH_ENV=~/.bashrc
in /etc/environment, and now ~/.bashrc is sourced even for non-interactive
shells and thus my PATH is correctly set. What I still don't know is why
arch behaves differently in this respect, but I guess that will remain a mystery.
Last edited by Nuteater (2012-07-27 18:59:30)

try creating a .login file and put exec bash in there.
Not _super_ familiar with csh, but I *think* csh loads .login only on login shells (as apposed to always loading .cshrc).
Barring that, the following should work.
if (! $?prompt) goto cshrc_end
exec bash
cshrc_end:

Similar Messages

  • OpenSSH: How to setup non-interactive SSH/SFTP/SCP

    Hi,
    Anyone has any idea how to setup/configure OpenSSH on Solaris (Client) & Windows (Server) for sftp/scp transfer in non-interactive host-based authentication.
    I need to setup this for secure file transfer from a solaris client to a windows server without having to enter a password. My external script will run in crontab to tap on sftp/scp for file transfer.
    Pls advise. thanks.

    I'd go for key-based authentication and simply don't provide a password for the key. You're on your own about how to implement this on Windows, so far I wasn't even aware Windows had a SSH service.

  • Non-interactive FrameAccess.java and frame conversion woes

    Hello all,
    I am searching for a way to convert a webcam-acquired AVI file into a sequence of numbered TIFF images (one for each movie frame). While searching the 'net, I ran into the well-known sample called FrameAccess.java. Although it looks like a good starting point, I got stuck by a number of problems:
    1) I'm not interested in visualizing the frames as they get processed: I've got tons of players I can check the movie with before feeding it in to my extractor. A simple non-interactive application would be better. However, when I comment out the AWT-related portions of FrameAccess, it hangs after processing two or three frames.
    2) Which way is better to process the single frame with: PreAccess or PostAccess?
    2.1) In PreAccess it looks like the frame is still in raw YUV420 format, whereas in PostAccess it seems to have undergone some conversion since the buffer size is equal to the number of pixels. But the buffer data is returned as short[] when I would expect it to be of type byte[]. What am I missing here?
    3) Although it is a priori known that the AVI files were acquired in B/W mode, it looks like the AVI is made of 8-bit RGB frames. How can I possibly convert them into 8-bit or 16-bit grayscale images and save them as TIFF images? (*)
    Any ideas/hints/suggestions whatsoever that might help me tackle the above problems will be highly valued.
    Thanks in advance,
    Emmanuele
    (*) I am aware that this question could be partly off-topic since it may fall more appropriately into the Java2D/JAI realm. However, for the moment I'd like not to open too many threads.

    Hello all,
    I am searching for a way to convert a webcam-acquired AVI file into a sequence of numbered TIFF images (one for each movie frame). While searching the 'net, I ran into the well-known sample called FrameAccess.java. Although it looks like a good starting point, I got stuck by a number of problems:
    1) I'm not interested in visualizing the frames as they get processed: I've got tons of players I can check the movie with before feeding it in to my extractor. A simple non-interactive application would be better. However, when I comment out the AWT-related portions of FrameAccess, it hangs after processing two or three frames.
    2) Which way is better to process the single frame with: PreAccess or PostAccess?
    2.1) In PreAccess it looks like the frame is still in raw YUV420 format, whereas in PostAccess it seems to have undergone some conversion since the buffer size is equal to the number of pixels. But the buffer data is returned as short[] when I would expect it to be of type byte[]. What am I missing here?
    3) Although it is a priori known that the AVI files were acquired in B/W mode, it looks like the AVI is made of 8-bit RGB frames. How can I possibly convert them into 8-bit or 16-bit grayscale images and save them as TIFF images? (*)
    Any ideas/hints/suggestions whatsoever that might help me tackle the above problems will be highly valued.
    Thanks in advance,
    Emmanuele
    (*) I am aware that this question could be partly off-topic since it may fall more appropriately into the Java2D/JAI realm. However, for the moment I'd like not to open too many threads.

  • [SOLVED] non-sequencer is orphaned and won't build

    Hi All,
    I'm very interested in non-sequencer but I see that it's been orphaned and I don't know enough about pkgbuilds to fix it. Does anyone know why it's been orphaned? Does it suck? It looks pretty cool from the descriptions but I have no experience with it.
    Perhaps it's been orphaned because there are better options. Any input would be appreciated.
    Thanks
    Last edited by Frabato (2015-05-04 03:37:02)

    This works, though namcap gives a couple warnings about icons.  This may need another dependency and an .install file:
    # Maintainer: YOUR INFO HERE
    # Contributor: Gimmeapill <gimmeapill at gmail dot com>
    # Contributor: orbisvicis <''.join(chr(ord(c)-1) for c in "pscjtwjdjtAhnbjm/dpn")>
    # Contributor: Robert Schwarz <[email protected]>
    # Contributor: nareto <[email protected]>
    _gitname=non
    pkgname=${_gitname}-sequencer-git
    pkgver=r1798.18a299c
    pkgrel=2
    pkgdesc="A powerful, lightweight, real-time, pattern-based MIDI sequencer"
    arch=("i686" "x86_64")
    url="http://non.tuxfamily.org/wiki/index.php?page=Non%20Sequencer"
    license=("GPL2")
    depends=("ntk-git" "libsigc++2.0" "jack" "liblo")
    makedepends=("git")
    provides=("non-sequencer")
    conflicts=("non-sequencer")
    source=("${_gitname}::git://git.tuxfamily.org/gitroot/non/non.git")
    sha256sums=('SKIP')
    pkgver() {
    cd "${srcdir}/${_gitname}/"
    echo r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
    build() {
    cd "${srcdir}/${_gitname}/"
    ./waf configure --prefix=/usr --project=sequencer
    ./waf
    package() {
    cd "${srcdir}/${_gitname}/"
    ./waf --destdir="$pkgdir" install

  • Linux 6 - profile / shell startup "file"

    I am trying to set my account to default to ksh and not bash, because I have been working with ksh for years. I su to root and use moduser for the account to change the shell and I see it changes in /etc/passwd.
    However, I do not find the file that used to be $HOME/.profile which is executed by default when i login, so I can set my environment. which environment file is executed when I login using ksh and can automatically execute my environment set up?

    Agree with Dude. ksh is archaic compared to bash. And needs to be installed manually as it is not a default installed shell as far as I recall.
    If you are using Linux, then bash is kind of a mandatory thing to use (all shell scripts for Linux  kernels in all distros are bash).
    Personally - have used ksh for many years on HP-UX and found bash a refreshing change when that o/s was replaced here with Linux. On the odd Solaris server I use, I also request that bash be made available as other shells are kind of  inferior.

  • Adobe Form - non-Interactive Pdf Print - Access to table cell

    Hi experts
    I am new to Adobe Print Form (non-interactive flowed form) and I am desparately need your help.
    I am merging table data from a context into a table on a form layout and then use function call to generate a print form and send it out as an email. Sofar, everything works fine - except one of the requirement that if , on any row, a cell value in column 1 > 5 (i.e. example), set the font color to red.
    I tried all sort of ways (in JavaScript) - but cannot get hold of the cell to check the value. Please show me
    1) how to get to the cell in Javascript
    2) in What event that I must place the Javascript in
    At the moment, I have the form layout as followed:
    Data
    | Report
    | | Table1
    | | | Header
    | | | | ...........H_Fd1
    | | | | ...........H_Fd2
    | | | Row
    | | | | ...........R_Fd1
    | | | | ...........R_Fd2
    etc...
    There are no reference to "table" object in Adobe lc designer - If you have please also send me some
    Thanks
    Points will be rewarded for any reply.

    Hi
      JS to fetch a the value of a field in a table is
    xfa.resolveNode("form_name.subform_name.table_name.Row1["Row Index"].column_name[0]").rawValue;
    You can write the code in the exit or validate event of the second column
    Thanks
    Gopal

  • Error during activation of adobe non-interactive form

    Hello everyone,
    I am trying to activate a non-interactive adobe form and am getting the below error:-
    "Field p_lifnr has a conversion routine(see SAP note 796755)".
    I have made sure that this field (which is corresponding to LFA1-lifnr) has context binding, I even tried using below code in its interface:-
    GET PARAMETER ID 'LIF' FIELD p_lifnr.
    and also tried the below:-
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
            EXPORTING
              input  = p_lifnr
            IMPORTING
              output = p_lifnr.
    just in case..
    but all above in vain,can someone let me know what might be the problem....or where would I find this 'SAP note 796755' ?
    Thanks,
    Rachna.

    Hi,
    I am facing the same problem of "Error during activation" while activating the SAP interactive form.
    I am using ECC 6.0, ADL 7.1 and Adobe reader 8.0
    Could you please suggest a way out.
    Thank You
    Aser

  • How to recreate ~/.ssh directory and files

    Hi Folks,
    I have a 10.4 user without the hidden .ssh directory and all the usual files within that directory (id_rsa, id_rsa.pub, known_hosts) due to a munged account, and am now wanting to know to recreate those files so I can SSH back to this machine.
    Any tips/ideas much appreciated.
    Thanks!
    Doug

    I have a 10.4 user without the hidden .ssh directory and all the usual files within that directory (id_rsa, id_rsa.pub, known_hosts) due to a munged account, and am now wanting to know to recreate those files so I can SSH back to this machine.
    ssh-keygen -t rsa
    will create the .ssh directory and the rsa files. known_hosts will be created as the account is used to ssh/scp/sftp into other accounts.
    If other systems are to be allowed to login to this account, then copy their id_rsa.pub files and append them to .ssh/authorized_keys. That will allow them access to this account.
    And if this account is suppose to be able to login to other systems, append the newly created id_rsa.pub file to the other system account's .ssh/authorized_keys file.
    Check *man ssh* to make sure all permissions are set correctly. If some of the files and/or directories are too permissive, ssh will not work correctly, as it will assume your account can be compromised.

  • PAM_CONV not working for SSH logins

    I have a problem implementing PAM_CONV for SSH logins on Solaris 9 with the latest OS patches. I am using my own PAM module.
    I am trying to utilize PAM_CONV from pam_sm_acct_mgmt.
    I am using the following definition in /etc/pam.conf :
    other account optional pam_gabi.so
    Here is how I use PAM_CONV from pam_sm_acct_mgmt :
    #include <security/pam_appl.h>
    #include <security/pam_modules.h>
    #include <syslog.h>
    void gabi_pam_free_msg (int num_msg,
    struct pam_message **msg);
    void gabi_pam_free_resp (int num_msg, struct pam_response *resp);
    int gabi_pam_conv (int (*conv_funp)(), int num_msg,
    char **messages,
    struct pam_response **resp);
    #define PAM_MSG(pamh, number, string)\
    (char *) __pam_get_i18n_msg(pamh, "pam_unix", 3, number,
    string)
    void gabi_pam_free_msg (int num_msg, struct pam_message *msg)
    if (msg && num_msg > 0) {
    while (num_msg--) {
    if (msg[num_msg].msg)
    free((void*)msg[num_msg].msg);
    free(msg);
    void gabi_pam_free_resp (int num_msg, struct pam_response *resp)
    int i;
    struct pam_response *r;
    for (i = 0, r = resp; i < num_msg && r; i++, r++) {
    if (r->resp) {
    free(r->resp);
    if (resp)
    free(resp);
    extern
    int pam_sm_acct_mgmt (pam_handle_t *pamh,
    int flags,
    int argc ,
    const char **argv)
    char message[PAM_MAX_NUM_MSG][PAM_MAX_MSG_SIZE];
    char *pmessage = &message[0];
    struct pam_response *ret_resp;
    struct pam_conv *pam_convp;
    int rv=0;
    syslog(LOG_WARNING, "pam_sm_acct_mgmt");
    memset(&message[0],0x00,PAM_MAX_MSG_SIZE);
    if (pam_get_item(pamh, PAM_CONV, (void*)&pam_convp) == PAM_SUCCESS) {
    syslog(LOG_WARNING, "pam_sm_acct_mgmt: PAM_CONV
    == PAM_SUCCESS");
    (void) snprintf(message[0],sizeof (message[0]),
    (const char *) PAM_MSG(pamh,
    1,"pam_sm_acct_mgmt : "));
    rv=gabi_pam_conv(pam_convp->conv, 1, &pmessage,
    &ret_resp);
    syslog(LOG_WARNING, "pam_sm_acct_mgmt:seos_pam_conv
    returned rv=%d",rv);
    else
    syslog(LOG_WARNING, "pam_sm_acct_mgmt: PAM_CONV !
    = PAM_SUCCESS");
    return PAM_IGNORE;
    int gabi_pam_conv (int (*conv_funp)(), int num_msg, char **messages,
    struct pam_response **resp)
    struct pam_message *msg;
    int retcode, i;
    struct pam_response *ret_resp = NULL;
    msg = (struct pam_message *)calloc(num_msg, sizeof(struct
    pam_message));
    if (msg == NULL)
    return PAM_BUF_ERR;
    for (i = 0; i < num_msg; i++) {
    char nl = 0;
    msg.msg = (char *)malloc(PAM_MAX_MSG_SIZE);
    if (resp && (i == num_msg - 1)) {
    msg[i].msg_style = PAM_PROMPT_ECHO_OFF;
    ret_resp = *resp;
    nl = '\0';
    else
    msg[i].msg_style = PAM_TEXT_INFO;
    snprintf(msg[i].msg, PAM_MAX_MSG_SIZE, "%s%c",
    messages[i], nl);
    retcode = conv_funp(num_msg, &msg, &ret_resp, NULL);
    syslog(LOG_WARNING, "seos_pam_conv: conv_funp returned
    retcode=PAM_SUCCESS=%c",
    ((retcode == PAM_SUCCESS) ? 'Y' : 'N'));
    gabi_pam_free_msg(num_msg, msg);
    if (resp)
    *resp = ret_resp;
    else
    gabi_pam_free_resp(num_msg, ret_resp);
    return retcode;
    I compile the source file like :
    cc -K pic -I. -c -o <obj_file> <src_file>
    cc -o pam_gabi.so -G -h pam_sample.so.1 -z text -z defs
    -Bsymbolic <obj_file> -lc -lpam -lnsl
    I copied pam_gabi.so to /usr/lib/security.
    From a remote machine I run :
    ssh -l <user_id> my_machine (<user_id> is a regular user)
    I expect to get prompted with "pam_sm_acct_mgmt :" after I put in the
    user password but I never see it and I am logged in successfully.
    If I try :
    rlogin -l <user_id> my_machine
    I do get the "pam_sm_acct_mgmt :" prompt after providing the user's
    password and login successfully.
    The syslog messages show that 'conv_funp' in gabi_pam_conv
    returned PAM_CONV_ERROR when called for the SSH login and
    returned PAM_SUCCESS when called for the rlogin.
    Kerberos is NOT installed on my Solaris 9 system.
    Can anyone please explain this behavior ?
    Thanks,
    Gabi

    After reading a little about this it looks like you have users enter user exec mode by default and after typing "enable" then entering the TACACS+ password you probably get denied.  If this is the case you are kind of left to your own devices.  I'll provide you some information and let you determine the best course.
    R1(config-line#) privilege level [0-15] 
    This line sets the privilege level of users that are logging in via SSH or other teleterminal services.
    Here is an excerpt from the documentation for tac_plus provided at http://www.shrubbery.net/tac_plus/
    CONFIGURING ENABLE PASSWORDS
    The default privilege level for an ordinary user on the NAS is usually
    1. When a user enables, she can reset this level to a value between 0
    and 15 by using the NAS "enable" command. If she doesn't specify a
    level, the default level she enables to is 15.
    You can enable via tacacs+ e.g. by configuring on the NAS:
            aaa authentication enable default tacacs+
    then whenever you attempt to enable, an authentication request is sent
    with the special username $enab<n>$ where <n> is the privilege level
    you are attempting to enable to.
    (Note: in order to be compatible with earlier versions of tacacs, when
    the requested enable level is 15, the daemon will also try the
    username $enable$ before trying username $enab15$).
    For example, with the above declaration, in order to enable on the
    NAS, you need a user declaration like this one, on the daemon:
    user = $enab15$ {
        login = cleartext "the enable password for level 15"
    Note: Be aware that this does have the side effect that you now have a
    user named $enab15$ who can then login to your NAS if she knows the
    enable password.
    Here is a similar declaration allowing users to enable to level 4:
    user = $enab4$ {
        login = des bsoF4OivQCY8Q

  • Non US characters in login and email generation

    I have a design problem that I would like to check if anyone else has found a good solution to.
    Once you leave the safe shores of the United States your users start having names that includes all kinds of funny characters. In the good old days this problem was resolved by the fact that the HR system only handled 7 bit US ascii characters but today you are likely to have to face an HR system that supports unicode or at least some kind of character set that includes lots of non US ascii characters. I just ran some stats on my current enterprise population and it seems like about 5% of the users have names containing "strangeness".
    These strange characters causes big problems if you aren't allowed to include non US ascii characters in logins, email addresses and other generated fields. Exactly what a "strange character" is varies. RFC 5322 takes a quite liberal view towards special characters but explicitly disallows non US letters.
    The simplistic solution is to drop any character that isn't a US ascii letter. This works if the problem is names like "O'Malley" as the "'" really shouldn't be part of the user login and probably not part of an email address either(can be debated). This solution breaks down when you get to Germany or Scandinavia where your users that are called "Örjan Åhs" may not appreciate an email address of rjan.hs@your_company.com.
    What you would like to do is to convert "Örjan Åhs" to either "Orjan Ahs" or (possible) "Oerjan Aohs" but I haven't been able to find any java lab that does that conversion for you.
    Anyone that has run into this problem before and solved it?
    I wonder how certain characters in this post will be rendered on computers in different parts of the world :)
    /Martin, who long ago converted his last name (Swedish) to be 7 bit ascii compliant

    Thanks Daniel
    The code above drops any non US ascii characters which is fine in some situations but doesn't work for me as that would result in (amongst other issues) unacceptable email addresses.
    Example: The user "Jörgen Åhs" gets the email [email protected] (using drop strategy), what is needed is [email protected]
    The solution to this problem is to write a transform function and as we have about 80 non US ascii characters in character set we are using this mapping can quite easily be externalized to a configuration file.
    Good point about the preferred name. I have not seen this specific problem in my current system but it is very common in certain parts of the world i.e. people with Chinese heritage in south east Asia often have a Chinese legal name and a western name that they actually use in day to day interactions. If you base the email address of their name in HR much screaming ensures. The same thing should actually happen in the US as you are supposed to enter the name on your social security card into the HR system but that seems largely to be ignored.

  • SecureAFP and SecureVNC via SSH Login - Help?

    Hello, Just want to check that there are no security problems in the my future setup ideas.
    I have a MacMini and iMac at home, and also a MacBook Air/Pro (one of which I always have with me). I want to set up either the MacMini or iMac as a Server for all my files etc. My plan is to set up Remote SSH Login in the sharing panel so I can open a SSH Tunnel, and tunnel VNC and AFP through it (I'm not sure if I need to also set up Screen Sharing and File Sharing in the Preference Pane?)
    Once this is set up I should (if I'm not wrong) be able to open up terminal.app and type in "SSH [email protected]:[Port number (depending on the Mac I want to connect to, be it the MacMini or iMac as I use port forwarding)]", once that is done I will need to type my normal login password (is this send in clear text or not - does anyone know??). Hopefully a SSH tunnel will then be up and running. When it is, can I just go to Finder>Connect to Server>"afp://myhostname.dyndns.com" or "vnc://myhostname.dyndns.com" and then these services will be sent through the SSH tunnel, or will they not?
    Is this a good set up or not? Would I be better with using FTP/(S)FTP (although that is Read-only, if what I have read is correct)? Or use Transmit (a FTP/(S)FTP Client) Or would I just be better using Back-To-My-Mac from MobileMe? Is there any GUI for setting up a SSH tunnel, which can save info for multiple Servers? What set-up do you guys use?
    Very sorry for the Long post, but I hope I can have your experienced help on this.
    Thanks in Advance - Adam J.

    Thanks both of you for your detailed help, I'm guessing it doesn't matter if your put 10548 or 22548 etc as long as you map it to the right port (548) on the mac (when typing the "-L....:localhost:...." commend) and within Finder itself.
    Correct. The choice of 10548, 22548, 12345, etc... is up to you as long as you use a valid port number and do not pick a port that is associated with a service you depend on (most of those are low numbered ports, but if you are concerned, you can do Google server on "Known Port Numbers"
    In Finder do I just type "localhost" or the name of the computer on my network?
    In Finder -> Go -> Connect to Server, you type vnc://localhost:publicportnumber. This is the 10548, or 22548, or 12345, whatever port number you choose. The :port_number is how you tell the software making the network connection which non-standard (customized) port number you wish to use.
    You are specifying localhost, because you have created a tunnel that goes from your local host port number 10548 (or 22548, or 12345, ...) to the remote port 548 on your server Mac. As with any kind of tunnel you have to enter it on one end, and when you emerge you are at the other end. So the point of entry is on your localhost, at port 10548, hence afp://localhost:10548.
    Just out of a matter of interest obviously the "-p" command tells terminal what port, but what does the "-L" command do,
    The terminal is NOT the command line. The terminal is just a bit of software that passes your keyboard input to a pseudo serial port which is being read by your shell (typically 'bash'), that parses your input and looks for a command that matches the first token, and then starts a subprocess to run that command and passing the rest of the command line to that command for it to parse.
    so the -p is tell the ssh command to make its initial connection to that port.
    The -L 10548:localhost:548 tells ssh that on the localhost it should open and listen on port 10548 for any connection requests, and to pass anything and everything across the tunnel to port 548 on the other side of the ssh connection. Each -L option establishes a separate port pair to listen and forward network requests between.
    does it also matter if they are capitals or not (e.g. could "-p" be "-P").
    ABSOLUTELY! The Unix environment is VERY MUCH Case Sensitive.
    See "man ssh" and pay attention to the fact that some options are lowercaser and some are upper case. Using the wrong case will either not work, or you will get some behavior you did not expect.
    When setting up the alias where are they then stored - or does it just remember them, so when you type "sshmacmini" it will auto fire up a SSH tunnel to the MacMini and then ask for a password? Is there anyway to then delete these alias or reset them?
    Do you mean a bash shell command alias, as in
    alias sshmacmini='ssh -p 22001 -L 22548:localhost:548 -L 22590:localhost:5900 [email protected]'
    If you mean one of those, then it should be stored in your shell initialization file. For bash (the default Mac OS X comamnd line shell), the typical place would be
    $HOME/.bash_profile
    However, if you already have a .profile, then use that. Bash looks for and uses the first initialization file it finds, in the following order. If you have multiple, one the first found will be used:
    .bash_profile
    .bash_login
    .profile
    If you mean some other kind of alias, please clarify.
    When you use NNNNN and KKKKK they are obviously two different port numbers to port forward to port 22 on the two different Macs?
    If by NNNNN and KKKKK you mean establishing your router's port forwarding so that Public Internet port NNNNN is forwarded to Mac 'A's port 22 and Public Internet port KKKKK is forwarded to Mac 'B's port 22, then yes. This is a bit of router port forwarding magic. In my example I used 22001 and 22002 as my NNNNN and KKKKK values.
    Thanks you again, ever so much for the help! And again very sorry for all the questions - I hope to pick up and learn a bit of Command Line as I'm a total beginner just very good with GUIs.
    A lot of the command line stuff is generic 'bash' shell, so go to your local bookstore and browse some books on 'bash'.
    Personally for learning about how Unix glues things together via the shell, I am still partial to the Kernighan and Pike "Unix Programming Environment" Copyright 1984. The first half of that book will teach you many of the underlying Unix principals. Just keep in mind that it was written 27 years ago when Unix could run on a PDP-11 with less than a megabyte (NOT Gigabye) of memory. However the basic principals are still there. Plus Kernighan is an excellent writer and has his name on many of the early Unix books and programs (such as the 'k' in awk is for Kernighan, the original typesetting program roff and nroff used to format all the man pages, the K&R "C" manual, etc...).

  • Ok so my MacBook Pro has begun saying the startup disc is full after importing photos, so I deleted done and the message went away. now my computer won't go passed the login page it gets stuck after I login and goes to a grey screen. Can anyone help?

    Startup disc full

    Step 1   
    The first step in dealing with a startup failure is to secure the data. If you want to preserve the contents of the startup drive, and you don't already have at least one current backup, you must try to back up now, before you do anything else. It may or may not be possible. If you don't care about the data that has changed since the last backup, you can skip this step.
    There are several ways to back up a Mac that is unable to start. You need an external hard drive to hold the backup data.
    a. Start up from the Recovery partition, or from a local Time Machine backup volume (option key at startup.) When the OS X Utilities screen appears, launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.” The article refers to starting up from a DVD, but the procedure in Recovery mode is the same. You don't need a DVD if you're running OS X 10.7 or later. 
    b. If Step 1a fails because of disk errors, and no other Mac is available, then you may be able to salvage some of your files by copying them in the Finder. If you already have an external drive with OS X installed, start up from it. Otherwise, if you have Internet access, follow the instructions on this page to prepare the external drive and install OS X on it. You'll use the Recovery installer, rather than downloading it from the App Store.
    c. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, start the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    d. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.
    Step 2
    You might be able to start up in safe mode even though you can't start up normally. Otherwise, start up from an external drive, or else use the technique in Step 1b, 1c, or 1d to mount the internal drive and delete some files. According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation.

  • When trying to upload a PDF to an interactive site I get the announcement:"The attached PDF file references a non-embedded font Tahoma. Please remove file, embed the font and reattach." How do I embed this, or in fact any other font ?

    When trying to upload a PDF to an interactive site I get the announcement: "The attached PDF file references a non-embedded font Tahoma. Please remove file, embed the font and reattach."
    I could not get rid of the Tahoma font in the WORD file.
    How do I embed this, or in fact any other font ?

    Thank you very much !
    Indeed, I was unaware of the enormous number of options that can be selected when converting a WORD file to PDF.
    I went thru the settings and found the right one for embedding the fonts.
    Thanks again !
    Oren

  • ADOBE form interactive and non-interactive... (HR)

    Hi,
    I'm trying to get in touch with SAP web applications (webdynpro, adobe form, bsp...).
    I have the following requirement:
    I have to provide a page within the sap enterprise portal to allow the employee to track his presence. In this page the employee has to check a presence/absence flag and in another page he can justify his absence with some reason.
    I didn't find a standard functionality to meet this requirement, so I think a new form has to be created.
    As additional requirement this form as to be stored as PDF document and it is not needed to store the information contained in the form in the sap backend system. The information contained in the form has to be stored in a non-sap system, so this information should be available as flat file to be imported in the non-sap system.
    I'd like to understand the possible scenarios from a technical point of view to create the required functionalities.
    ADOBE Interactive Form.
    This is a webdynpro (java or abap) that contains the adobe component. The fields of the adobe component are linked to the sap backend system and are editable. The adobe component reads some data from sap bakend system and stores the values filled by the employee via the adobe component in the backend system.
    ADOBE non-interactive Form
    A webdynpro (java or abap) or a BSP has to be built to create some values, then once the user save/submit the information a PDF document is created with the information created in the previous page.
    What is the difference between ADOBE (non-interactive) Form and ADOBE Interactive Form? The difference is that the first one is not editable? There is a big difference in terms of complexity develop an interactive or a non-interactive adobe form?
    BSP that generates the PDF as output?
    Could you please provide some input/defintion/sample to clarify this topic?
    Thanks in advance
    MP

    Reader credential rights missing. Now it works.

  • Reagarding saving and sending the adobe interactive form as non interactive

    Hi ,
              I am trying to send the interactive adobe form as non-interactive form  through email.The interactive form size is very large because of the interactivity.
    Can anybody suggest how to do this.
    Regards,
    Debasis

    Dear Antony,
    Thanks for the reply.
           I got you but can you pls guide me how to go about it.
    I need to send the email while submiting the form.So when and how i will be mapping each data node /attibutes of the main form with the intermediate form.My interactive form is of 30 pages and it may grow upto 40 pages.My response is with the to the main form where i am showing the success message.
    Regards,
    Debasis Nayak

Maybe you are looking for