Active Topics

 


Closed Thread
Thread Tools
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#141
no, our discussing about using sudo instead of opensh, for having password prompt and better security.
and need to have all credentials inside sudo shell

Last edited by coderus; 2012-03-26 at 19:44.
 
Posts: 64 | Thanked: 42 times | Joined on Jun 2009
#142
Originally Posted by coderus View Post
no, our discussing about using sudo instead of opensh, for having password prompt and better security.
If you set timestamp_timeout=0 in sudoers, it will ask for a password every time that line is run. Just don't add NOPASSWD: to the sudoers definition.
 
Posts: 245 | Thanked: 915 times | Joined on Feb 2012
#143
Originally Posted by coderus View Post
man, i know. i trying to compile sudo to have all credentials. my last success is:
Code:
~ $ sudo su
<snip>
I think that's the problem. Try doing sudo -i instead, then see what credentials you have.

BTW Consider editing your IMEI out of any accli printouts you post!

Originally Posted by zszabo View Post
If you set timestamp_timeout=0 in sudoers, it will ask for a password every time that line is run. Just don't add NOPASSWD: to the sudoers definition.
The problem he's having has nothing to do with the sudoers file - it has to do with obtaining the correct Aegis credentials after sudoing.
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#144
sudo su, sudo -i, sudo -u have same credentials. sudo accli -I return minimal user credentials.
i'm not worry about my imei, i'm not paranoic
 
Posts: 1,746 | Thanked: 1,832 times | Joined on Dec 2010
#145
i think i've installed inception correctly and then opensh, so i run opensh, and run accli -I and I get this

UID::root
GID::video
CAP::chown
CAP::dac_read_search
CAP::fowner
CAP::fsetid
CAP::kill
CAP::linux_immutable
CAP::net_bind_service
CAP::net_broadcast
CAP::net_admin
CAP::net_raw
CAP::ipc_lock
CAP::ipc_owner
CAP::sys_chroot
CAP::sys_ptrace
CAP::sys_pacct
CAP::sys_boot
CAP::sys_nice
CAP::sys_resource
CAP::sys_time
CAP::sys_tty_config
CAP::lease
CAP::audit_write
CAP::audit_control
CAP::setfcap
GRP::root
GRP::dialout
GRP::video
GRP:ulse-access
GRP::users
GRP::metadata-users
GRP::calendar
tracker::tracker-extract-access
tracker::tracker-miner-fs-access
libaccounts-noa::accesssvt
package-manager:ackagemanager_limited
package-manager:ackagemanager_private
icd2::icd2-plugin
Cellular
TrackerReadAccess
TrackerWriteAccess
Location
FacebookSocial
AID::.opensh.
opensh:pensh
but the problem is i can't run this command

tar xjvf /home/user/MyDocs/sillyboot_2.tar.bz2 -C /

tar: can't remove old file sbin/preinit: Permission denied

with that error, will this definitely require open mode? since I thought opensh should of given me full control.

ah nvm seems theres no way but to flash open mode

Last edited by m4r0v3r; 2012-04-06 at 12:20.
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#146
this is wrong thread to ask about nitdroid.
(you should flash to dualboot kernel)
 
Posts: 2 | Thanked: 1 time | Joined on Apr 2012
#147
I'm not able to "incept" my N9. I have tried several times with "pasiv" (devel-su -c /usr/sbin/pasiv) but it always ends with:

Code:
|| PASIV device activated
pasiv: fatal error occurred
~ $
... I don't know what to do... any suggestion would be very welcome!

Edit: It is running Harmattan PR1.2

Last edited by semua; 2012-04-10 at 15:39. Reason: More information
 

The Following User Says Thank You to semua For This Useful Post:
Posts: 245 | Thanked: 915 times | Joined on Feb 2012
#148
Originally Posted by semua View Post
I'm not able to "incept" my N9. I have tried several times with "pasiv" (devel-su -c /usr/sbin/pasiv) but it always ends with:

Code:
|| PASIV device activated
pasiv: fatal error occurred
~ $
... I don't know what to do... any suggestion would be very welcome!

Edit: It is running Harmattan PR1.2
This should reveal exactly where it's failing: devel-su -c 'develsh -v /usr/sbin/pasiv'
 

The Following User Says Thank You to itsnotabigtruck For This Useful Post:
Posts: 2 | Thanked: 1 time | Joined on Apr 2012
#149
Originally Posted by itsnotabigtruck View Post
This should reveal exactly where it's failing: devel-su -c 'develsh -v /usr/sbin/pasiv'
Thanks for the help! (and, of course, for "Inception" )

Strangely enough, it works perfectly today (I restarted the phone, but I tried that before my previous post...).
 
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#150
Originally Posted by itsnotabigtruck View Post
This should reveal exactly where it's failing: devel-su -c 'develsh -v /usr/sbin/pasiv'
Hi itsnotabigtruck,

Could you confirm : can Inception work with open mode kernels ?

Yeah, I know they are alternatives, so the user should decide between open mode kernel OR Inception.

But there are users using both : open mode kernels AND also Inception. In this way creating confusion to support them in some uses (Easy Debian, Overclocking, etc).
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.
 
Closed Thread

Tags
harmattan, inception, root-access


 
Forum Jump


All times are GMT. The time now is 20:02.