Results 1 to 4 of 4

Thread: not run .profile

  1. #1
    Associate
    Join Date
    Mar 2006
    Posts
    21

    not run .profile

    red hat enterprise 3 - the users have a .profile in their home directory that causes them to execute a program when they login. In essence, they go directly into the program, and when they leave the program, they are logged out.

    What causes me grief is that the file system permissions are horrible - the database and executables are all 777 (not my work but the vendors).

    As long as they cannot get to a command prompt, in theory, the file permissions are not a problem, not to say they are right.

    My question is this - is it possible to bypass the running of the .profile at login time, and get to a command prompt?

    Thanks.

    John.

  2. #2
    Member
    Join Date
    Apr 2004
    Location
    Midwest
    Posts
    121
    i take it this is over ssh?

    if so they could just scp a new .profile over to their account overwriting the old one, but then again im not rocket scientist like your vendor

  3. #3
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811
    If they are located directly at the terminal, they can press <shift> while pressing enter at the login promt, and get a fresh login, meaning the systems default .tcsh/.bash/.profile/etc without their $HOME/.profile beeing run..
    Now I have no idear if your vendor have been clever enough to exchange the system default ones with their tampered one, but if any user have problems with something like their personal .tcsh/.bash/etc they are most likely to try that option, in order to get a fresh start.. Or atleast to try and recover from their previus failed attempt..
    I have no idear of yoru users capability in this direction, but if they're used to using larger UNIX/SUN networks, they know of this option, and might be reluctant to try it out, just to see what they can snoop around below their usual vantage point on the system.. I know I would, if I found myself bound by an app like the one you're describing.

    But like dkeav, I'm no rocket scientist....
    Don't worry Ma'am. We're university students, - We know what We're doing.
    'Ruiat coelum, fiat voluntas tua.'
    Datalogi - en livsstil; Intet liv, ingen stil.

  4. #4
    Associate
    Join Date
    Mar 2006
    Posts
    21
    Ouch. I'm still a newbie myself, or I'd have thought of that. Simply too elegant in its simplicity! Thanks. John.

Similar Threads

  1. Low Profile AGP supporting 2560x1600
    By gmoreno in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 04-29-2006, 12:57 AM
  2. New feature: Profile details
    By genesis in forum Announcements and Suggestions
    Replies: 0
    Last Post: 09-26-2004, 10:39 PM
  3. how to delete profile
    By elovkoff in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 07-21-2004, 01:57 AM
  4. editing root's profile?
    By S_D_Willie in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 01-30-2003, 03:40 AM
  5. profile and bashrc files
    By imported_LinuxGuy in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 05-28-2002, 05:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •