View Single Post
Posts: 108 | Thanked: 6 times | Joined on Nov 2005 @ Central London
#1
OK, can someone help me out with this - I'm not that clued up on the Linux accounts/security thing... (well, in particular the 770's flavour of it )

I'm running a shell script that calls commands using sudo. If I run the command as root, it tells me that root is not in the sudoers file (well I guess it wouldn't be - why would it need to..) and that "this incident will be reported"

If I run as a normal user (the next obvious thing to try...) it asks me for a password when it gets to the line with the sudo in it. I assume this is the password for the user named "user". I've tried just pressing enter, my numeric screen lock password, and the root password. None worked.

I could always modify the script and remove the sudos then always run it as root, but I guess I'll prob. want to come out of R&D mode (lose that ugly green text at bootup and stuff) at some point, now that I've set a root password and can sudo in...

Basically I'm looking for a better solution, or at least want to know what's going on here/how all this permissions stuff works on the 770...