Results 1 to 6 of 6
Discuss Root Login at command line at the General - Hackint0sh.org; Using Terminal... Is it possibleto login to the root account using a single command line? ...
  1. #1
    Senior Professional Array geircito's Avatar

    Join Date
    Oct 2007
    Posts
    204
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    19

    Default Root Login at command line

    Using Terminal...
    Is it possibleto login to the root account using a single command line?

    If I write
    login root
    terminal stop and ask for the passord....

    I want something like this
    login root alpine
    (on one single command line and then I'm logged in to root with password alpine)....

    Or making a script doing this?

    Anyone?
    iMac 24" * MacBook Pro 17" * iPod Classic 160Gb * iPhone 8Gb * iPhone 16Gb



  2. #2
    Professional Array

    Join Date
    Apr 2008
    Posts
    61
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    is it worth it for the sake og typing su root then alpine

  3. #3
    Senior Professional Array geircito's Avatar

    Join Date
    Oct 2007
    Posts
    204
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    19

    Default

    You misunderstand...

    I'm making a script and need to login as root to get the right permission for executing commands, and THAT's why I need a command line/script lines for logging in as root with password alpine without interaction...
    iMac 24" * MacBook Pro 17" * iPod Classic 160Gb * iPhone 8Gb * iPhone 16Gb

  4. #4
    Professional Array

    Join Date
    Apr 2008
    Posts
    61
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    what language are you scripting in.

  5. #5
    Senior Professional Array geircito's Avatar

    Join Date
    Oct 2007
    Posts
    204
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    19

    Default

    Language?...

    I'm writing a script that I am going to run on the iPhone......
    iMac 24" * MacBook Pro 17" * iPod Classic 160Gb * iPhone 8Gb * iPhone 16Gb


  6. #6
    Professional Array

    Join Date
    Apr 2008
    Posts
    61
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    I take it the script will be run from the iphone? Can you not just ssh into where the script is then give it the required permissions?

 

 

Similar Threads

  1. [SSH] Cant Login Root
    By TaLiBaN786 in forum General
    Replies: 2
    Last Post: 03-21-2008, 10:04 PM
  2. Command Line Connect to Wi-Fi
    By John6000 in forum Free Toolchain Software (Cydia App's)
    Replies: 4
    Last Post: 02-14-2008, 08:04 PM
  3. Build a one-click app from a command line command?
    By merl in forum Free Toolchain Software (Cydia App's)
    Replies: 2
    Last Post: 11-19-2007, 07:43 PM
  4. ffmpeg command line
    By Korben in forum iPod Touch 1G
    Replies: 2
    Last Post: 11-14-2007, 02:08 PM
  5. 1.0.2 - Command line exits on command
    By phattie in forum General
    Replies: 0
    Last Post: 08-24-2007, 12:33 AM

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
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 01:07 PM.
twitter, follow us!