Search Results

Search: Posts Made By: PzYon
67,429
Posted By PzYon
If anybody is interested, this is how I solved it...
If anybody is interested, this is how I solved it on Friday...
rav=${3:+1}
var=${2:+1}
if [[ $1 = "-" ]]; then
if [[ $rav -eq 1 ]]; then
su-orig - $2 $3;
else
...
67,429
Posted By PzYon
I've just thought of that idea, after I posted...
I've just thought of that idea, after I posted here.. Thanx anyway, it works!
67,429
Posted By PzYon
su (-) command
With the su command you can switch to any user on system, if you know his password.. Example: "su - root" switches to the root user.
This way the profile of the user (here root) will be loaded and...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 10:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy