- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: SU Access
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SU Access
I am trying to run apt-get update but can not.
Can someone please help.
user_name@NAS:/data/website$ su user_name
Password:
user_name@NAS:/data/website$ apt-get update
Reading package lists... Done
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
user_name@NAS:/data/website$ su user_name apt-get update
Password:
/usr/bin/apt-get: /usr/bin/apt-get: cannot execute binary file
user_name@NAS:/data/website$ apt-get update
Reading package lists... Done
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
user_name@NAS:/data/website$
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: SU Access
Have you tried logging in to SSH as 'root' (no quotes)?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: SU Access
@davidtheo wrote:
Yes I can not log in as root.
Something is off then. You should be able to log in as root, using the NAS admin password (and that is the normal way to access the NAS with ssh).
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: SU Access
Would this be the default admin user or any user I have setup as an admin.
I believe I have forgotten the default admin password is there a way to reset it without resetting the NAS drive.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: SU Access
@davidtheo wrote:
Would this be the default admin user or any user I have setup as an admin.
It's the password for the actual admin account, not other users in the admin group.
@davidtheo wrote:
I believe I have forgotten the default admin password is there a way to reset it without resetting the NAS drive.
An OS-reinstall will reset the password to password. It will also reset the network connection to use DHCP, and turn off volume quotas. Data isn't lost, and those other changes are easily undone.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: SU Access
Thanks will try this tonight and set the NAS back up.
Just got to find my manual now, I am sure a search online will get me one.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: SU Access
The hardware manual for OS-6 desktop NAS is here: http://www.downloads.netgear.com/files/GDC/READYNAS-100/ReadyNAS_%20OS6_Desktop_HM_EN.pdf
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content