after sshing into your atv4

Issues relating to the upcoming LiberTV TvOS < 11.2 JB. NO MORON "wen eta" though - unless you want to be banned.
Forum rules
  • NO IDIOTIC QUESTIONS ABOUT "WEN ETA JB".
  • Read the FAQ before asking.
  • Otherwise, open discussion and/or requests welcome.

after sshing into your atv4

Postby iosusr » Sun Mar 05, 2017 7:51 pm

Instead of going into (-bash-3.2#) , how can i go to root(AppleTV-4:~), if i need to reboot my device or if i wanna change my root password
iosusr
 
Posts: 4
Joined: Sat Mar 04, 2017 1:24 am

Re: after sshing into your atv4

Postby RiotNrrrd » Mon Mar 06, 2017 1:49 am

iosusr wrote:Instead of going into (-bash-3.2#) , how can i go to root(AppleTV-4:~), if i need to reboot my device or if i wanna change my root password

"-bash-3.2#" and "AppleTV-4:~" are just your bash shell prompts, defined by the shell variable PS1.

For fun, type this into your shell and hit <Return>:
Code: Select all
export PS1='[\u@\[\033[1m\]\h\[\033[0m\] \W]\$ '

BTW, you can run "passwd" to change the root password from any directory.
RiotNrrrd
 
Posts: 13
Joined: Sun Feb 26, 2017 11:19 pm

Re: after sshing into your atv4

Postby azzazzi » Tue Mar 07, 2017 11:15 am

I get this when I type passwd
-bash: passwd: command not found
azzazzi
 
Posts: 1
Joined: Tue Mar 07, 2017 11:06 am

Re: after sshing into your atv4

Postby RiotNrrrd » Wed Mar 08, 2017 10:36 am

azzazzi wrote:I get this when I type passwd
-bash: passwd: command not found

You didn't read the FAQ thread. You need to enlarge your $PATH to include the /tmp directories where Jonathan stashed his binaries, including passwd.

Code: Select all
[root@NSA-listening-station ~]# which passwd                                                                                                                                                                               
/tmp/usr/bin/passwd
RiotNrrrd
 
Posts: 13
Joined: Sun Feb 26, 2017 11:19 pm


Return to LiberTV

Who is online

Users browsing this forum: No registered users and 2 guests